Errors
The API uses standard HTTP status codes and returns errors in a consistent format.Error format
Error codes
| Status | Code | Description |
|---|---|---|
| 400 | bad_request | The request was malformed or a reserved parameter was used |
| 400 | validation_error | A query parameter has an invalid type or format |
| 400 | invalid_cursor | The pagination cursor is invalid or expired |
| 401 | unauthorized | Missing or invalid API key |
| 403 | forbidden | The API key doesn’t have access to this resource |
| 404 | not_found | The requested resource doesn’t exist |
| 429 | rate_limit_exceeded | Rate limit exceeded — check Retry-After header |
| 500 | internal_error | Something went wrong on our end |
Debugging
Every response includes anX-Request-Id header with a unique identifier. Include this ID when contacting support — it helps us trace the exact request in our logs.
