Skip to content

Errors

invalid_key

The bearer key is not one we issued.

Status

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

Common causes

  • The key was copied only in part.
  • A key from another service or environment was sent.

What to do

The key is not one of ours. Check you copied all of it.

Example

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

{
  "type": "https://www.shortsintel.com/docs/reference/errors/invalid_key",
  "title": "Invalid key",
  "status": 401,
  "code": "invalid_key"
}