An easy to use, online to-do list. Get organized, stay motivated, and be more productive.
API Error Responses
Forum Rules
| Author | Message |
C Johnson
|
Score: 0
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
|
Toodledo
Administrator
|
Score: 0
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.
|
To participate in these forums, you must be signed in.