Error Responses

The API emits standard HTTP error status codes and XML responses. The XML always takes the form of /error/message where message indicates the cause. E.g.:

HTTP/1.1 400 Bad Request
Content-Type: application/xml

<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<error>
    <message>INVALID_API_KEY</message>
</error>