If an error occurs the following format and values are used.
{
"Errors": [
{
"Code": 2,
"Message": "Authentication Header is invalid."
}
]
}
<Response xmlns:i="http://www.w3.org/2001/XMLSchema-instance">
<Errors>
<Error>
<Code>2</Code>
<Message>Authentication Header is invalid.</Message>
</Error>
</Errors>
</Response>
Error Codes
Contains possible error codes that can occur during an API request.
- 0 : Other - A custom error message.
- 1 : Not Found - The resource doesn't exist.
- 2 : Invalid - The field is invalid.
- 3 : Required - The field is required.
- 5 : Invalid Credentials - Invalid login.
- 6 : Permission Denied - Access to the resource is denied.
- 7 : Duplicate - The resource is being used more than once.
- 8 : Maximum - The field falls above the maximum value.
- 9 : Minimum - The field falls under the minimum value.
- 10 : Inactive - The resource is inactive.
- 11 : Range - The field range is invalid.
- 12 : Unavailable - The API is unavailable.
- 13 : Secure Connection - The request requires a secure connection over SSL.
- 14 : Exists - The resource is already in use.