Error response format
Every error response follows this structure:HTTP status codes
Validation errors
When a request fails validation, thedetails array contains field-level errors:
Handling errors in code
JavaScript / TypeScript
Python
Debugging tips
- Check the
request_id— Include it when contacting support for faster resolution - Read
detailsfor validation errors — They tell you exactly which fields failed and why - Check rate limit headers — If you’re getting
429s, inspectX-RateLimit-Remainingbefore retrying - Verify permissions —
403errors always include the missing permission in the message