Skip to Content
Errors

Unauthorized

The API key is missing, wrong, revoked or expired.

Status: 401 · Type: https://docs.ajour.dk/errors/unauthorized

The request has no valid API key. The Authorization header is missing, the key is wrong, or the key was revoked or has expired. The response also has the header WWW-Authenticate: Bearer.

What to do

  • Send the key as Authorization: Bearer <key>.
  • Check that you copied the whole key.
  • Check in Settings → API keys that the key is not revoked or expired. If it is, create a new key.

See all error types.

On this page