ForumsSearch



Search results for "Posted by C Johnson"
Author Message
C Johnson

Posted Jun 13, 2009 in: API Error Responses
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