Every error this API returns is one of the kinds below, as an RFC 9457
application/problem+json document. The set is closed: there
are no ad-hoc error bodies.
Switch on the code. It is the stable member.
The type URI points at the page in the first column, and where
that page lives may change.
| What it means | code | HTTP |
|---|---|---|
| Authentication required | unauthenticated | 401 |
| Invalid API key | invalid_api_key | 401 |
| API key expired | api_key_expired | 401 |
| API key revoked | api_key_revoked | 401 |
| Forbidden | forbidden | 403 |
| Insufficient scope | insufficient_scope | 403 |
| Company not granted to this API key | company_not_granted | 403 |
| Resource not found | not_found | 404 |
| Method not allowed | method_not_allowed | 405 |
| Unsupported media type | unsupported_media_type | 415 |
| Conflict | conflict | 409 |
| Idempotency key reused with a different request | idempotency_key_reused | 409 |
| A request with this idempotency key is still in progress | request_in_progress | 409 |
| The request payload is invalid | validation_failed | 422 |
| Invalid query parameter | invalid_query_parameter | 422 |
| Rate limit exceeded | rate_limit_exceeded | 429 |
| Internal server error | internal_error | 500 |
| Service unavailable | service_unavailable | 503 |