Skip to content
Quarters Developers
esc
  • Type an endpoint, an object or a word from a guide.

Object

Error

Every failure on a resource endpoint. A 401 also carries WWW-Authenticate: Bearer.

Fields

FieldTypeDescription
error stringA stable slug for the failure class. Switch on it.
message stringA sentence for a person. Names the field where one is at fault.

Example

{
  "error": "invalid_request",
  "message": "Invalid body at \"checkOut\": checkOut must be after checkIn."
}