Skip to main content

Error Handling

The API returns standard HTTP status codes to indicate success or failure of requests.

Error Response Format

Common Error Codes

SDK Error Handling

Retry Strategy

For transient errors (429, 5xx), we recommend implementing exponential backoff:
  1. Wait 1 second, then retry
  2. If still failing, wait 2 seconds, then retry
  3. If still failing, wait 4 seconds, then retry
  4. Maximum of 3 retries
The SDKs implement automatic retry with exponential backoff for transient errors.