Errors
invalid_token
Invalid API key. HTTP 401.
What it means
The API key is invalid or no longer active.
What to do
Stop polling and ask the company administrator for a new key. Unknown, expired and revoked keys get the same answer.
Headers
A 401 response also sends WWW-Authenticate.
Example response
{
"type": "https://docs.kapiworks.com/errors/invalid_token",
"title": "Invalid API key",
"status": 401,
"detail": "The API key is invalid or no longer active.",
"code": "invalid_token"
}Errors use application/problem+json (RFC 9457). Act on code or type; detail is for people and can change. See every code.