Errors
Error format, status codes, and retry guidance
Error Format
{
"error": {
"code": "invalid_request",
"message": "reference is required",
"requestId": "req_01J9Q9R2Q7Z1E7"
}
}Status Codes
400Validation errors401Missing/invalid authentication403Not allowed for this key or environment404Resource not found409Conflict (often idempotency-related)429Rate limited500/502/503Transient server errors
Retries
- Retry on
500/502/503with exponential backoff. - Do not blindly retry
400errors; fix the payload. - Use idempotency keys for all create/initiate requests.
How is this guide?
Last updated on
