# Unauthorized (/errors/unauthorized)

**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 [#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](/errors/).