Errors

Failures always return the same JSON shape with a matching HTTP status.

Error shape#

code is stable and safe to branch on; message is for humans and may change.

json
{
  "error": {
    "code": "write_scope_required",
    "message": "This key is read-only. Create a key with write access to make changes."
  }
}

Status codes#

StatusCodesMeaning
400invalid_json invalid_query invalid_id empty_body invalid_noteMalformed request: bad JSON, an unsupported query value, a non-UUID id, an empty body, or a missing or oversized note.
401missing_key invalid_key revoked_key unauthorizedNo usable credential.
402tier_requiredThe workspace is not on the Closer or Veteran plan.
403write_scope_required membership_revoked no_workspace forbiddenNot allowed for this key or user.
404not_found unknown_resource module_hiddenNo such record or resource, or you cannot see it. Updates and deletes you are not allowed to make also return 404.
405delete_not_allowed notes_not_supportedThe operation is not offered for this resource.
422invalid_field invalid_referenceUnknown column, bad value, or a referenced record does not exist.
429rate_limitedToo many requests. Retry after the number of seconds in Retry-After.
500internal_errorOur fault. Retry, then tell us.