# unauthorized

> No key, or a key that does not work. The call carried no key, or one the API does not know.

[Errors](https://docs.wheelmachine.ai/errors/index.html) / `unauthorized`

401 **No key, or a key that does not work**

The call carried no key, or one the API does not know.

## When it happens

- No `Authorization` header, or one that is not `Bearer ak_live_...`.
- A key that is not one of ours (keys begin `ak_live_`), or one cut short when it was pasted.

## What to do

Send the whole key as `Authorization: Bearer ak_live_...`. With `wm`, run `wm login` again, and check that `WHEELMACHINE_API_KEY` does not hold an old key: it is used before the one `wm login` kept.

**Send it again?** Not with the same key. An address that keeps calling with keys that do not work is slowed down (`429 rate_limited`).

Every code, and how to read a refusal: [Errors](https://docs.wheelmachine.ai/errors/index.html).
