Errors
Error Format
In addition to the HTTP error code, all error responses will include an error code and a descriptive message. The format of the error response is as follows:
json
{
"status": "error",
"error": {
"code": "9999",
"message": "Error message describing the issue."
}
}Error Codes
| Error Code | Description |
|---|---|
unknown_error | Unknown error. |
1001 | Invalid request. |
1002 | Client not found. |
1003 | Resource not found. |
1300 | Validation limit reached. |
1301 | Validation UUID not found. |
1302 | Failed to process email list. |
1303 | Failed to request validation. |
1304 | Insufficient tokens. |
1305 | Error uploading file. |
1306 | Error enqueuing file review. |
1307 | Error enqueuing bulk validation. |
1308 | Missing file. |
1309 | Invalid file MIME type. |
1310 | Invalid file extension. |
1311 | Error processing file. |
1312 | Multiple files uploaded. |
1313 | Missing email. |
1314 | Failed to request email validation. |
1400 | Send limit reached. |
1401 | Invalid send data. |
1402 | Error processing send data. |
1403 | Error enqueuing email. |
1404 | Missing send domain configuration. |
1405 | Send UUID not found. |
1406 | Error uploading attachment. |
1407 | Error processing send attachment. |
1408 | Total attachment size exceeded. |
1409 | No active subscription. |
1410 | Email size exceeded. |
1411 | Email sending not allowed. |
1412 | No valid recipients found. |
1413 | Too many recipients. |
1414 | Sending IP not allowed. |
1415 | Required DNS configuration could not be verified. |
1416 | Email template not found. |
1417 | Monthly email quota exhausted. |
1418 | Additional email limit reached. |
1419 | Invalid validation options. |
1420 | The email template has no published version. |
1421 | Hourly or daily sending limit reached. Returned with HTTP 429 and a Retry-After header. |
1422 | The message alone has more recipients than the hourly or daily sending limit. Returned with HTTP 400. |
9999 | Maintenance mode. |
Sending limit (1421)
When your account reaches its hourly or daily sending limit, the sending endpoints answer with HTTP 429 Too Many Requests, code 1421 and a Retry-After header with the number of seconds to wait before sending again. The request isn't queued. See Sending limits.
