# Invalid API key

`INVALID_API_KEY` · HTTP 401

## 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.

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