Errors & Troubleshooting
Errors & Troubleshooting
Use this page when a request fails or behaves unexpectedly. Endpoint reference pages document per-field validation; this page explains what failed, how to fix it, and how to retry safely.
Error response shape
Most REST errors return JSON:
Some endpoints add their own codes for product-specific rules — for example Document Digitization returns max_page_limit_exceeded (422) when a file exceeds the 10-page limit. These are listed in the “Errors” section of each API guide.
Auth failures use HTTP 403, not 401. Treat 403 with invalid_api_key_error as an authentication problem. See Authentication.
HTTP status quick reference
SDK handling (Python)
SDK handling (JavaScript)
Retry with exponential backoff
Use retries only for 429, 500, and 503 — not for 400/403/422.
Common pitfalls
Support workflow
- Note timestamp, endpoint, and
error.codefrom the response body. - Reproduce with curl or SDK using the smallest failing request.
- Check API Status for incidents.
- Contact support via Talk to us with request ID if available.