> ## Documentation Index
> Fetch the complete documentation index at: https://manifest.build/docs/llms.txt
> Use this file to discover all available pages before exploring further.

# M005: Key not recognized

> Manifest error M005 fires when the mnfst_ key has the right shape but no matching agent exists. Often a rotated or deleted key. Returns HTTP 401.

## What you saw

```text theme={"theme":{"light":"github-light","dark":"github-dark"}}
[🦚 Manifest M005] I don't recognize this key. It might have been rotated or deleted. Grab the current one from the dashboard.
See https://manifest.build/docs/errors/M005
```

## Why it happened

The token shape is right (`mnfst_...`) but no matching agent exists. Usually that means the key was rotated and your client still has the old value, or the agent itself was deleted, or you copied a key from a different workspace.

## How to fix it

1. Open the [dashboard](https://app.manifest.build), find your agent, and copy the current key.
2. Paste it into your client's config. If the agent is gone, create a new one and copy its key.
3. On a self-hosted install, double-check that your client is hitting the right backend URL.

## Related

* [M003: Invalid key format](/errors/M003)
* [M004: Key expired](/errors/M004)
* [M001: Missing Authorization header](/errors/M001)
* [Self-hosted setup](/self-hosted)
* [All error codes](/errors)
