ForumsDevelopersAPI Error Responses


API Error Responses
Author Message
C Johnson

Posted: Jun 13, 2009
Score: 0 Reference
I'm not sure if this is a bug or a feature request, but...

The other day during the outage, I noticed that the response coming back from the API was not a valid XML document. This caused the application that I'm developing to choke while trying to parse the XML response (no root element found, or some such thing). On the bright side, it did give my error handling code a good workout. :)

Anyway, it would have been nice if you had put your "service is down, try again later" message inside an "<error>" tag so that my application could have recognized it as such. Are there any other situations where I might not get back valid XML? Thanks for listening...

- Chris
Jake

Toodledo Founder
Posted: Jun 15, 2009
Score: 0 Reference
This is the only situation. The API was unable to load anything so it gave a fatal error, which wasn't XML formatted. We hope that this doesn't happen again, but I'll see if we can make this type of error give an XML response.
You cannot reply yet

U Back to topic home

R Post a reply

To participate in these forums, you must be signed in.