Errors

API errors use a stable envelope.

{
  "error": {
    "code": "insufficient_scope",
    "message": "The token is missing scope."
  }
}

Common Codes

  • missing_token: No Bearer token was supplied.
  • invalid_token: The token is expired, revoked, or unknown.
  • insufficient_scope: The token lacks the required scope.
  • invalid_client: OAuth client authentication failed.
  • invalid_grant: Authorization code or refresh token is invalid.
  • not_implemented: Endpoint exists but is reserved for a later rollout.