Integration guide
Errors and troubleshooting
Standardized JSON error structures, HTTP status codes, and automated error recovery.
4 min read
•Updated October 21, 2026Standard Error Object Schema
Errors use an error object with code, message and request_id. Keep the request ID when asking support to investigate. Validation errors may include field details.
Common Status Codes & Diagnostics
Common status codes: 401 missing/invalid credentials; 403 denied; 404 missing or inaccessible resource; 409 invalid state or idempotency conflict; 422 invalid payload; 429 rate limited; 502/503 provider or service failure.
Asynchronous Failure Inspection
For accepted asynchronous jobs, inspect the resource status and errorCode/errorMessage or the failure webhook. Provider failures should not expose private model names or credentials.
