Skip to content

Error codes ​

Errors answer HTTP 4xx/5xx with this body:

json
{
  "error": {
    "code": "RATE_LIMITED",
    "message": "too many requests",
    "retryable": true
  }
}
HTTPcodeRetryMeaning
401INVALID_SIGNATURE—wrong signature or stale timestamp
403IP_NOT_ALLOWED—IP not in the client's allowlist
404MESSAGE_NOT_FOUND—no such message (GET)
422VALIDATION_FAILED—a field is missing or malformed
422INVALID_NUMBER—invalid destination number
422ROUTE_NOT_FOUND—no such route, or the client may not use it
422SENDER_NOT_APPROVED—sender name not approved
422SENDER_SUSPENDED—sender name suspended
429RATE_LIMITED✓over the client's TPS for longer than the gateway waits (10 s by default): sends above your TPS wait for their turn first, so this means you send faster than your TPS for a sustained time. Retry with the same clientRef after the Retry-After header (seconds); keep your HTTP timeout above that wait
503PROVIDER_UNAVAILABLE✓provider temporarily unavailable
502SUBMIT_FAILED—provider rejected the message, see details.providerCode, or the provider timed out (details.code: TIMEOUT)

Always retry with the same clientRef; the Gateway prevents double sends.