Skip to main content
All error responses follow a standard format and are nested under an errors key in the response. The value will be an array of error messages.
{
  "errors": [
    "You are not authorized to view this resource."
  ]
}
Status CodeMessageReason
401Unauthorized or Invalid TokenThe token is missing, malformed, expired, or otherwise invalid.
403ForbiddenThe token is valid, but it does not have permission to perform that action or access that workspace or resource.
404Not FoundThe requested resource could not be found. This could be due to a mistyped URL or a resource that has been deleted.
429Too Many RequestsThe user has sent too many requests in a given amount of time. See the Rate Limiting section for details.
500Internal Server ErrorAn unexpected condition was encountered. This is a generic error message for server-side issues.
422Unprocessable EntityThe request was well-formed but could not be processed because of validation or other semantic errors in the request data.

Common Authentication and Permission Failures

  • If you receive a 401, verify that your Authorization: Bearer ... header is present and that the token value is correct.
  • If you receive a 403, verify that the token has the necessary scope and that it can access the relevant workspace or resource.
  • If you are using an Enterprise team-scoped service token, make sure the token’s team has access to the workspace you are trying to query or modify.