Contact can't be blank

Have had system of creating invoice for past quite and have not touched it
but stopped working today.

Getting following error messages, any idea?

<?xml version="1.0" encoding="UTF-8"?> contact can't be blank payment_terms_in_days is not a number base Invoice Date is not valid

code I am running

-REMOVED_last_few_keys

Any idea?

Hi Christian,

I’m sorry to hear you’re having trouble, I’ll happily take a look into this
for you.
So that I can track down your API requests in our logs, I wonder if you
could supply me with the following information, please?

The name of your app (as registered in Dev Dashboard
https://dev.freeagent.com/login)
A sanitised version of your API request
Timestamps of your requests (in UTC)
Which environment are you querying? (production or sandbox)?
If possible, the IP address from which your API requests are issued.

Thanks!
Dave JOn Friday, 7 August 2015 11:48:36 UTC+1, Christian Kortenhorst wrote:

Have had system of creating invoice for past quite and have not touched it
but stopped working today.

Getting following error messages, any idea?

<?xml version="1.0" encoding="UTF-8"?> contact can't be blank payment_terms_in_days is not a number base Invoice Date is not valid

code I am running

-REMOVED_last_few_keys

Any idea?

Hi Christian,

I’m sorry to hear you’re having trouble, I’ll happily take a look into
this for you.
So that I can track down your API requests in our logs, I wonder if you
could supply me with the following information, please?

The name of your app (as registered in Dev Dashboard
https://www.google.com/url?q=https%3A%2F%2Fdev.freeagent.com%2Flogin&sa=D&sntz=1&usg=AFQjCNGheUPGdvhqKcc6tGDFVrsXLyPe-A
)

New Invoices http://cksolutions.ie by Christian
https://cksolutions.freeagent.com

OS Ticket new invoices
Approved on 2013-04-25

A sanitised version of your API request

#!/bin/bash
curl “https://api.freeagent.com/v2/invoices” -H “Authorization: Bearer
[FILTERED]” -H “Accept: application/xml” -H “Content-Type: application/xml”
-X POST -d "https://api.freeagent.com/v2/contacts/15858402015-08-07EUR80.00
false
30


45077 : Cathal Cormican:Laptop Order: :
tetrarchcapital.com Cathal Cormican:Laptop Order:
Services
80
1
<sales_tax_rate type=‘decimal’>23</sales_tax_rate>


Payment 30 days after invoice. Maintenance to be paid by
standing order.
Hardware must be paid for on delivery.
Payments made to Ck Computer Support, by bank transfer

"

Timestamps of your requests (in UTC)

Fri Aug 7 14:07:32 CEST 2015

Which environment are you querying? (production or sandbox)?

Production

If possible, the IP address from which your API requests are issued.

78.46.67.46

Christian K

Hey Christian,

This was caused a problem on our side which I’ve pushed a fix for to
production now, so you should be good to go again.

We’ve also updated our internal documentation & testing around the API so
this shouldn’t regress again in future.

Sorry for any inconvenience caused, and please let us know if you have any
further issues.

Thanks,
Caius