Error response format
Every error response follows this envelope:Always
false for error responses.A short, human-readable summary of what went wrong. Safe to display to end users for most error types.
Present on validation errors (HTTP 400). Each element describes one invalid field.
HTTP status codes
Error codes
Themessage field on each error response often corresponds to a machine-readable error code. Use these to branch your error-handling logic:
Validation errors in detail
When you send a request body that fails schema validation, you receive HTTP 400 with anerrors array containing one entry per invalid field:
errors to show inline field-level feedback to your users.
Handling rate limits
Auth endpoints use a stricter rate limit than the general 100 requests/minute cap. When you receive a429 response:
- Read the
Retry-Afterheader to find out how long to wait. - Pause all requests to that endpoint for at least that many seconds.
- Implement exponential back-off in automated systems to avoid hitting the limit repeatedly.
429 — further rapid requests will reset the window.