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_expired

The bearer key is past its expiry date.

Status

HTTP 401, title Key expired. 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

  • The key was created with an expiry, and that date has passed.

What to do

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

The key expired at expired_at. 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_expired",
  "title": "Key expired",
  "status": 401,
  "code": "key_expired",
  "retryable": false,
  "action": "Create a new key in the console and use it instead.",
  "remedy": "The key expired at `expired_at`. Issue a new one."
}