Skip to main content
Every error response is an RFC 7807 application/problem+json envelope. Branch your error handling on the stable code string, not the human-readable detail.

Envelope

Always include the requestId when contacting support — it correlates your request with our logs. The instance field is included on some errors (for example 404 not_found) and omitted on others.

Request ids

Send an X-Request-Id header to use your own correlation id. We echo the accepted value back on the X-Request-Id response header of every request, and it appears as requestId in error envelopes. To be accepted, the value must be 1–64 characters of A–Z, a–z, 0–9, -, or _. Anything longer, empty, or containing other characters is replaced with an id we generate. If your tracing ids exceed 64 characters, shorten them before sending, or omit the header and record the id we return instead. Omitting the header is always safe — we generate one for you either way.

Common codes

The token endpoint may also return unsupported_grant_type (400) for an invalid grant_type.