SMTPBox API errors and HTTP status codes
Understand authentication failures, permissions, validation errors, rate limits and email wait timeouts.
12 / API ERRORS
HTTP status and error codes
400
invalid_jsonThe body is not valid JSON.
401
unauthorisedThe Bearer key is missing, invalid or revoked.
403
forbiddenThe key does not have the required write permission.
404
*_not_foundThe resource is missing or belongs to another workspace.
408
wait_timeoutNo matching message arrived; this is often a valid test failure.
413
payload_too_largeThe API request body exceeds 1 MB.
422
validation_failedA required field is missing or invalid.
429
rate_limit_exceededThe hourly API allowance was reached.
Error response
{
"success": false,
"error": {
"code": "wait_timeout",
"message": "No matching message arrived before the timeout."
}
}Updated