Error

What went wrong, and which part of the request caused it.

  • 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.

    Properties: 3
  • Human-readable summary of the failure. Intended for logs and developers, not for end users.

  • Identifier for the failed request. Quote it when contacting support.

  • The HTTP status code, repeated here so the body is self-contained.

  • 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. See details.
    • rate_limited (429) — you have exhausted a rate limit window.
    • internal_error (500) — something failed on our side. Safe to retry.
    values
    bad_requestauthentication_errorinsufficient_permissionsnot_foundvalidation_errorrate_limitedinternal_error