Error Codes - REST API
Explore the full list of all possible REST API error codes
HTTP Status Codes
| Status | Description |
|---|---|
| 200 OK | Response is correct. The body of the response will include the data requested. |
| 400 Bad Request | There was an error with the request. The body of the response will have more info. |
| 401 Unauthorized | Authentication or token is invalid. If your API key is wrong a 401 will be generated. Please check the API key. |
| 403 Forbidden | Request contains valid data but is being refused. Typically returned if your API key or account is deactivated or has Insufficent credits. |
| 503 Service Unavailable | There are multiple possible reasons for a HTTP 503 error. |
RESTful Error Codes
| Error Code | Description |
|---|---|
| InvalidParameter.Format | The provided parameter is in an invalid format. |
| InvalidParameter.Type | The provided parameter contains an invalid type. |
| EntityNotFound.Group | The provided group could not be found. |
| EntityNotFound | The requested resource could not be found. |
| RequiredParameter.Missing | A required parameter was not supplied. |
Authentication Error Codes
| Error Code | Description |
|---|---|
| AuthenticationToken.Invalid | The provided authentication token is invalid or missing. |
| AuthenticationToken.Expired | The provided authentication token has expired. |
| InvalidCredentials | The given credentials are invalid. |
| AuthenticationHeader.Missing | The required authentication header is missing for the request. |
| AuthenticationHeader.Invalid | The required authentication header is in an incorrect format or has an incorrect encoding. |
Sending Error Codes
| Error Code | Description |
|---|---|
| InsufficientCredits | The current amount of credits is insufficient to complete the send. |
| IncorrectScheduledDate | The given end date is earlier than the start date. |
| DestinationAddress.NoNetworkFound | No network route was found for the given destination address. |
| DestinationAddress.Invalid | The given destination address is in an incorrect format. |
| DestinationAddress.Optout | The destination address has opted out of the send. |
| DuplicateMessage | A duplicate message was detected. |
| EntityNotFound.ReplyRule | The provided Reply Rule could not be found. |
| EmptySend.NoValidMessages | The provided SendRequest contained no valid messages to send. |
| InternalServerError | Unhandled error response. |
Updated 5 months ago