Skip to content

Error Codes

Fresh

The API uses JSON responses with 2xx codes for success and 4xx/5xx for errors.

Error Reference

CodeNameDescriptionSolution
401Incorrect API KeyAuthentication failedVerify API key, clear browser cache, or generate a new key
429Rate Limit ExceededToo many requestsPace requests, implement exponential backoff
500Server ErrorInternal server errorRetry after a brief wait; contact support if persistent
503Engine OverloadedService temporarily unavailableRetry after a brief wait; contact support if persistent

Error Response Format

json
{
  "error": {
    "message": "Description of what went wrong",
    "type": "error_type",
    "code": 401
  }
}

Retry Strategy

WARNING

For 429 and 503 errors, always implement exponential backoff rather than immediate retries. Start with a 1-second delay and double it with each retry.

See Also