Documentation

Invalid API key

View as Markdown

INVALID_API_KEY401

What it means

The key sent in the `Authorization` header is unknown, revoked or expired.

What to do

Check that the whole key was copied. The secret is shown once, when the key is created, so if it was not stored then, an account owner can issue a new key in account settings and revoke the old one.

The response

{
  "type": "https://fentlig.se/developers/errors/invalid-api-key",
  "title": "Invalid API key",
  "status": 401,
  "code": "INVALID_API_KEY"
}

detail and instance are added when there is something specific to that occurrence to say.