HTTP Return Codes
All errors are returned as HTTP 1.1 Status codes.
Code Classification | Description |
---|---|
200 OK | Success. |
201 Created | The requested item is created. |
202 Accepted | The request is accepted. Generally, a URL is provided to obtain additional details, such as for polling the asynchronous job status. |
400 Bad Request | The request is invalid. Information that is returned in the API error message shows more details. |
401 Unauthorized | The authentication credentials are either not supplied or are incorrect. |
404 Not Found | The URI requested does not exist on the server. |
405 Method Not Allowed | The method specified in the Request-Line is not allowed for the resource identified by the Request-URI. |
500 Internal Server Error | There is a problem on the server. Submit a post to the PLACEHOLDER NAME Forum explaining what you did and the response that you received from the server. |
Field specific and database errors are provided in an XML error message with the format:
<APIErrors>
<APIError>
<errorType>Type of Error</errorType>
<errorData>Field Error Occurred</errorData>
<errorMessage>A Description of the Error</errorMessage>
<errorDetail>Extra information about the Error</errorDetail>
</APIError>
</APIErrors>