Skip to content
For AI agents: a documentation index is available at /llms.txt. Every docs page is also available as markdown: add .md to its URL. To connect, read /agents.md.

Errors

key_revoked

The bearer key was revoked.

Status

HTTP 401, title Key revoked. One of the credentials errors. Branch on code, never on the status or the prose.

Retryable: no. Every body carries this as retryable: false, beside action and remedy: the same request will fail again until the request changes or a person acts.

Common causes

  • Someone in the organization revoked the key in the console.

What to do

Action: Create a new key in the console and use it instead.

The key was revoked in the console. Issue a new one.

Example

The body arrives as application/problem+json, with retryable and the remedy above. Most responses add detail about the occurrence, and some add fields of their own.

{
  "type": "https://www.shortsintel.com/docs/reference/errors/key_revoked",
  "title": "Key revoked",
  "status": 401,
  "code": "key_revoked",
  "retryable": false,
  "action": "Create a new key in the console and use it instead.",
  "remedy": "The key was revoked in the console. Issue a new one."
}