Error details¶
Every ObjectsGrid error answers with a code, and its type (and errorDetailsLink) is the code's page here. A code never changes meaning; new ones are added. A code marked generic is what an error of its status answers with until it has a code of its own, so match on the specific codes you handle and treat the rest by status. The same list, for programs and agents: /.well-known/error-details/index.json. See Errors and troubleshooting for the error body.
400¶
| Code | Meaning |
|---|---|
BAD_REQUEST (generic) |
The request isn't valid |
CHECKOUT_FIELD_NOT_ALLOWED |
The checkout can't take that field |
COMPUTED_FIELD |
A computed field can't be written |
INVALID_ID |
The id isn't valid |
INVALID_QUERY |
The list can't be run |
QUERY_TOO_COMPLEX |
The GraphQL query is too large |
REFERENCE_INVALID |
A reference can't be written |
VALIDATION_FAILED |
The object isn't valid |
401¶
| Code | Meaning |
|---|---|
UNAUTHORIZED (generic) |
Not authorized |
ACCESS_DENIED |
Not allowed by the access policy |
UNAUTHENTICATED |
No valid credentials |
403¶
| Code | Meaning |
|---|---|
FORBIDDEN (generic) |
Forbidden |
ORIGIN_NOT_ALLOWED |
Origin not allowed |
404¶
| Code | Meaning |
|---|---|
NOT_FOUND (generic) |
Not found |
CODE_NOT_FOUND |
No such code |
DATASET_NOT_FOUND |
No such reference dataset |
OBJECT_NOT_FOUND |
No such object |
REFERENCE_UNRESOLVED |
A referenced object can't be read |
REVISION_NOT_FOUND |
No such revision |
VERSION_NOT_FOUND |
No such version |
405¶
| Code | Meaning |
|---|---|
METHOD_NOT_ALLOWED (generic) |
Operation not supported |
OPERATION_NOT_SUPPORTED |
The type doesn't support it |
406¶
| Code | Meaning |
|---|---|
NOT_ACCEPTABLE (generic) |
Not acceptable |
JSONLD_NOT_AVAILABLE |
No JSON-LD document |
409¶
| Code | Meaning |
|---|---|
CONFLICT (generic) |
Conflict |
APPOINTMENT_OVERLAPS |
The provider is booked then |
CART_CHECKED_OUT |
The cart was checked out |
CART_LINES_UNAVAILABLE |
Cart lines can't be ordered |
CONCURRENT_MODIFICATION |
Changed at the same moment |
DISCOUNT_CODE_NOT_APPLICABLE |
The discount code doesn't apply |
ID_IN_USE |
The id is taken |
LEGAL_HOLD |
Under a legal hold |
PERSON_ERASED |
The person was erased |
STAY_OVERLAPS |
The accommodation is booked then |
TICKET_ALREADY_USED |
The ticket was already used |
412¶
| Code | Meaning |
|---|---|
PRECONDITION_FAILED (generic) |
Precondition failed |
VERSION_MISMATCH |
The object changed since you read it |
413¶
| Code | Meaning |
|---|---|
PAYLOAD_TOO_LARGE (generic) |
Too large |
415¶
| Code | Meaning |
|---|---|
UNSUPPORTED_MEDIA_TYPE (generic) |
Unsupported media type |
429¶
| Code | Meaning |
|---|---|
TOO_MANY_REQUESTS (generic) |
Too many requests |
KEY_LIMIT_REACHED |
The key's monthly limit reached |
RATE_LIMITED |
Too many requests at once |
SPENDING_CAP_REACHED |
Monthly spending cap reached |
500¶
| Code | Meaning |
|---|---|
INTERNAL_ERROR (generic) |
Internal error |
503¶
| Code | Meaning |
|---|---|
SERVICE_UNAVAILABLE (generic) |
Service unavailable |