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.
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 copied only in part.
- A key from another service or environment was sent.
What to do
Action: Check the whole key was copied, or create a new key in the console.
The key is not one of ours. Check you copied all of it.
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/invalid_key",
"title": "Invalid key",
"status": 401,
"code": "invalid_key",
"retryable": false,
"action": "Check the whole key was copied, or create a new key in the console.",
"remedy": "The key is not one of ours. Check you copied all of it."
}