Errors
The API uses standard HTTP status codes to indicate the success or failure of an API call.
400 (Bad Request)
The server could not process the request, most likely because of an invalid argument.401 (Unauthorized)
Your request lacks valid authentication credentials, your API key is missing in the request headers.402 (Payment Required)
Your API request was rejected due to it being a paid subscription plan with an overdue balance.403 (Forbidden)
Your request was rejected due to a permission issue, likely a restriction on the API Key's associated service plan.429 (Too Many Requests)
The API Key's rate limit was exceeded.500 (Internal Server Error)
An unexpected server issue was encountered.
Error Response Codes
A Status object is always included in the JSON response payload for both successful calls and failures when possible.
During error scenarios, you may reference the errorCode
and errorMessage
properties of the Status object.
One of the API error codes below will be returned if applicable otherwise the HTTP status code for the general error type is returned
HTTP Status | Error Code | Error Message |
---|---|---|
400 | 1001 [API_KEY_INVALID] | This API Key is invalid. |
401 | 1002 [API_KEY_MISSING] | API key missing. |
404 | 5250[CAMPAIGN_NOT_FOUND] | Campaign not found |
404 | 5252[CAMPAIGN_ORDER_NOT_FOUND] | Order not found |
Last updated