Skip to content
  1. API reference
  2. Errors

API reference

Errors

We use standard HTTP status codes. Errors are JSON and always contain a message.

Status Name Meaning What to do
200 OK Request succeeded.
201 Created Order created. Save the number.
401 Unauthorized Missing, invalid or revoked API key, or your partner account is switched off. Check the Authorization header and the key.
403 Forbidden Your key lacks the permission this endpoint needs. Ask us for a key with the right permission.
404 Not Found The order or URL does not exist for your key. Check the order number and that you use the right environment.
422 Unprocessable Content One or more fields are invalid. Read errors, fix, and resend.
429 Too Many Requests You exceeded 60 requests per minute. Wait Retry-After seconds.
5xx Server error A problem on our side. Retry after a short delay. Contact us if it persists.

Examples:

JSON
// 401
{ "message": "Unauthenticated." }

// 403
{ "message": "Invalid ability provided." }

// 429
{ "message": "Too Many Attempts." }