Skip to main content
Every failure has ok: false, the HTTP status of the error, and one of two bodies. Both always carry a code. Switch on the code: codes are stable, messages are for people and may change. An error with no more specific code gets the code for its HTTP status (bad_request, forbidden, not_found, conflict, …). Each endpoint page lists the errors it can return, with an example of each and when it happens.