For a while now but last Tuesday (Jan 29th) evening they appear to have
stopped working even though we haven’t changed anything in our code. We
have started getting the following:
WebException Response:
500 Internal Server Error
If
you are the administrator of this website, then please read this web
application’s log file and/or the web server’s log file to find out what
went wrong.
Could something have changed in the API which would explain this?
That seems to have fixed it for us - appreciate the fast responses and good
work on tightening up the JSON validation.On Tuesday, February 5, 2013 11:44:33 AM UTC+1, Graeme Boyd wrote:
Hi Chris,
The example you give is not valid JSON and doesn’t use a valid categories
URL. If you change it to the following it will work:
The API should be returning a 400 and an “Invalid JSON” error message here
and we’ll fix that up soon. Thanks for drawing it to our attention.
In light of the recent Rails security issues our API now will only accept
valid JSON whereas it was a bit more forgiving about what it accepted in
the past. If your code was sending valid JSON you would not have noticed
any difference. If you want to check the validity of your JSON you can use http://jsonlint.com.
Kind regards,
Graeme
On 5 February 2013 10:27, Jonathan Barrett <jona...@freeagent.com<javascript:> wrote:
Hi guys,
Thanks for reporting this. We’re looking into it right now for you. I’ll
report back here with our findings once we have them.
-J
On Tuesday, February 5, 2013 10:21:25 AM UTC, Curt Maybury (Design365) wrote:
I second this, we’re also experiencing the very same issue - initially
we revised our JSON data to match exactly the format in the development
docs, however this only worked for a few invoices before failing once more.
We desperately need to get these invoices out, has there been any update
on this?
Regards
Curt
On Monday, 4 February 2013 18:46:39 UTC, chrisb wrote:
If you are the
administrator of this website, then please read this web application's log
file and/or the web server's log file to find out what went
wrong.
On Monday, 4 February 2013 17:42:34 UTC, chrisb wrote:
For a while now but last Tuesday (Jan 29th) evening they appear to
have stopped working even though we haven’t changed anything in our code.
We have started getting the following:
WebException Response:
500 Internal Server
Error
If you are the administrator of this website, then please read
this web application’s log file and/or the web server’s log file to find
out what went wrong.
*
*
Could something have changed in the API which would explain this?
We’re not aware of any issue with the Invoices resource other than if
invalid JSON is supplied a 500 error is thrown rather than a 400 error.
Can you check your requests with http://jsonlint.com and send us a failing
example?
Kind regards,
GraemeOn 5 February 2013 10:21, Curt Maybury (Design365) doofah@gmail.com wrote:
I second this, we’re also experiencing the very same issue - initially we
revised our JSON data to match exactly the format in the development docs,
however this only worked for a few invoices before failing once more.
We desperately need to get these invoices out, has there been any update
on this?
Regards
Curt
On Monday, 4 February 2013 18:46:39 UTC, chrisb wrote:
If you are the
administrator of this website, then please read this web application's log
file and/or the web server's log file to find out what went
wrong.
On Monday, 4 February 2013 17:42:34 UTC, chrisb wrote:
For a while now but last Tuesday (Jan 29th) evening they appear to have
stopped working even though we haven’t changed anything in our code. We
have started getting the following:
WebException Response:
500 Internal Server
Error
If you are the administrator of this website, then please read
this web application’s log file and/or the web server’s log file to find
out what went wrong.
*
*
Could something have changed in the API which would explain this?
Thanks JonathanOn Friday, 28 June 2013 22:04:13 UTC+12, Jonathan Barrett wrote:
Hi Kevin,
Looking at the category you’re posting to here, the nominal code is for an
Admin Expenses category, but it needs to be for a sales category where
you’re creating an invoice.
Can you switch it for a sales nominal code, try again, and let me know if
you’re still seeing an error?
Cheers,
-J
On Friday, 28 June 2013 03:37:36 UTC+1, Kevin Williams wrote:
Graeme and Jonathan,
I’m getting the same error message when I post the following to try to
create an invoice…
For a while now but last Tuesday (Jan 29th) evening they appear to
have stopped working even though we haven’t changed anything in our code.
We have started getting the following:
WebException Response:
500 Internal Server
Error
If you are the administrator of this website, then please read
this web application’s log file and/or the web server’s log file to find
out what went wrong.
*
*
Could something have changed in the API which would explain this?
Thanks for reporting this. We’re looking into it right now for you. I’ll
report back here with our findings once we have them.
-JOn Tuesday, February 5, 2013 10:21:25 AM UTC, Curt Maybury (Design365) wrote:
I second this, we’re also experiencing the very same issue - initially we
revised our JSON data to match exactly the format in the development docs,
however this only worked for a few invoices before failing once more.
We desperately need to get these invoices out, has there been any update
on this?
Regards
Curt
On Monday, 4 February 2013 18:46:39 UTC, chrisb wrote:
If you are the
administrator of this website, then please read this web application's log
file and/or the web server's log file to find out what went
wrong.
On Monday, 4 February 2013 17:42:34 UTC, chrisb wrote:
For a while now but last Tuesday (Jan 29th) evening they appear to have
stopped working even though we haven’t changed anything in our code. We
have started getting the following:
WebException Response:
500 Internal Server
Error
If you are the administrator of this website, then please read
this web application’s log file and/or the web server’s log file to find
out what went wrong.
*
*
Could something have changed in the API which would explain this?
For a while now but last Tuesday (Jan 29th) evening they appear to have
stopped working even though we haven’t changed anything in our code. We
have started getting the following:
WebException Response:
500 Internal Server
Error
If you are the administrator of this website, then please read
this web application’s log file and/or the web server’s log file to find
out what went wrong.
*
*
Could something have changed in the API which would explain this?
For a while now but last Tuesday (Jan 29th) evening they appear to have
stopped working even though we haven’t changed anything in our code. We
have started getting the following:
WebException Response:
500 Internal Server
Error
If you are the administrator of this website, then please read
this web application’s log file and/or the web server’s log file to find
out what went wrong.
*
*
Could something have changed in the API which would explain this?
Estimate and Invoice creation are working fine via the API (I’ve just
double checked myself). I’ll dig into the logs tomorrow and see if I can
find your requests but can you give me an example failing request?
For a while now but last Tuesday (Jan 29th) evening they appear to have
stopped working even though we haven’t changed anything in our code. We
have started getting the following:
WebException Response:
500 Internal Server Error
If
you are the administrator of this website, then please read this web
application’s log file and/or the web server’s log file to find out what
went wrong.
*
*
Could something have changed in the API which would explain this?
The API should be returning a 400 and an “Invalid JSON” error message here
and we’ll fix that up soon. Thanks for drawing it to our attention.
In light of the recent Rails security issues our API now will only accept
valid JSON whereas it was a bit more forgiving about what it accepted in
the past. If your code was sending valid JSON you would not have noticed
any difference. If you want to check the validity of your JSON you can use http://jsonlint.com.
Thanks for reporting this. We’re looking into it right now for you. I’ll
report back here with our findings once we have them.
-J
On Tuesday, February 5, 2013 10:21:25 AM UTC, Curt Maybury (Design365) wrote:
I second this, we’re also experiencing the very same issue - initially we
revised our JSON data to match exactly the format in the development docs,
however this only worked for a few invoices before failing once more.
We desperately need to get these invoices out, has there been any update
on this?
Regards
Curt
On Monday, 4 February 2013 18:46:39 UTC, chrisb wrote:
If you are the
administrator of this website, then please read this web application's log
file and/or the web server's log file to find out what went
wrong.
On Monday, 4 February 2013 17:42:34 UTC, chrisb wrote:
For a while now but last Tuesday (Jan 29th) evening they appear to have
stopped working even though we haven’t changed anything in our code. We
have started getting the following:
WebException Response:
500 Internal Server
Error
If you are the administrator of this website, then please read
this web application’s log file and/or the web server’s log file to find
out what went wrong.
*
*
Could something have changed in the API which would explain this?
For a while now but last Tuesday (Jan 29th) evening they appear to have
stopped working even though we haven’t changed anything in our code. We
have started getting the following:
WebException Response:
500 Internal Server Error
If
you are the administrator of this website, then please read this web
application’s log file and/or the web server’s log file to find out what
went wrong.
*
*
Could something have changed in the API which would explain this?
For a while now but last Tuesday (Jan 29th) evening they appear to have
stopped working even though we haven’t changed anything in our code. We
have started getting the following:
WebException Response:
500 Internal Server Error
If
you are the administrator of this website, then please read this web
application’s log file and/or the web server’s log file to find out what
went wrong.
*
*
Could something have changed in the API which would explain this?
If you are the administrator
of this website, then please read this web application's log file and/or
the web server's log file to find out what went wrong.On Monday, 4 February 2013 17:42:34 UTC, chrisb wrote:
>
> We have been making successful POST requests to:
> https://api.freeagent.com/v2/estimates
> https://api.freeagent.com/v2/invoices
>
> For a while now but last Tuesday (Jan 29th) evening they appear to have
> stopped working even though we haven't changed anything in our code. We
> have started getting the following:
>
> *WebException Response:
500 Internal Server Error
If
> you are the administrator of this website, then please read this web
> application's log file and/or the web server's log file to find out what
> went wrong.*
> *
> *
> Could something have changed in the API which would explain this?
>
-JOn Monday, 1 July 2013 10:37:50 UTC+1, Kevin Williams wrote:
OK, that’s what it was.
Thanks Jonathan
On Friday, 28 June 2013 22:04:13 UTC+12, Jonathan Barrett wrote:
Hi Kevin,
Looking at the category you’re posting to here, the nominal code is for
an Admin Expenses category, but it needs to be for a sales category where
you’re creating an invoice.
Can you switch it for a sales nominal code, try again, and let me know if
you’re still seeing an error?
Cheers,
-J
On Friday, 28 June 2013 03:37:36 UTC+1, Kevin Williams wrote:
Graeme and Jonathan,
I’m getting the same error message when I post the following to try to
create an invoice…
For a while now but last Tuesday (Jan 29th) evening they appear to
have stopped working even though we haven’t changed anything in our code.
We have started getting the following:
WebException Response:
500 Internal Server
Error
If you are the administrator of this website, then please read
this web application’s log file and/or the web server’s log file to find
out what went wrong.
*
*
Could something have changed in the API which would explain this?
Looking at the category you’re posting to here, the nominal code is for an
Admin Expenses category, but it needs to be for a sales category where
you’re creating an invoice.
Can you switch it for a sales nominal code, try again, and let me know if
you’re still seeing an error?
Cheers,
-JOn Friday, 28 June 2013 03:37:36 UTC+1, Kevin Williams wrote:
Graeme and Jonathan,
I’m getting the same error message when I post the following to try to
create an invoice…
For a while now but last Tuesday (Jan 29th) evening they appear to have
stopped working even though we haven’t changed anything in our code. We
have started getting the following:
WebException Response:
500 Internal Server
Error
If you are the administrator of this website, then please read
this web application’s log file and/or the web server’s log file to find
out what went wrong.
*
*
Could something have changed in the API which would explain this?