Error
What went wrong, and which part of the request caused it.
- detailsType:requiredProperties: 3
One entry per individual problem, so a rejected request can be fixed in one pass instead of one field at a time. Empty on failures that are not field-specific.
- messageType: stringrequired
Human-readable summary of the failure. Intended for logs and developers, not for end users.
- requestType: string
_id requiredIdentifier for the failed request. Quote it when contacting support.
- statusType: integerrequired
The HTTP status code, repeated here so the body is self-contained.
- typeType: stringenumrequired
What kind of failure this is. Branch on this rather than on
message:bad_request(400) — a query parameter is unknown, malformed or conflicts with another.authentication_error(401) — the access token is missing, expired or invalid.insufficient_permissions(403) — the token is valid but the member behind it is not allowed to do this.not_found(404) — no such record in your account.validation_error(422) — the request body was understood but rejected. Seedetails.rate_limited(429) — you have exhausted a rate limit window.internal_error(500) — something failed on our side. Safe to retry.
valuesbad_requestauthentication_errorinsufficient_permissionsnot_foundvalidation_errorrate_limitedinternal_error