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

# M004: Key expired

> M004 is returned when the harness key has expired. Rotate the key in the dashboard.

## What you saw

```text theme={"theme":{"light":"github-light","dark":"github-dark"}}
[🦚 Manifest M004] This key has expired. Generate a new one here
See https://manifest.build/llm-gateway/docs/errors/M004
```

## Why it happened

harness keys can carry an expiration date. Yours is past that date, so it no longer authenticates anything.

## How to fix it

1. Open the [dashboard](https://app.manifest.build) and rotate or generate a new key for this harness.
2. Update your client's config with the new value.
3. If you didn't intend the key to expire, edit the harness's settings and clear the date.

## Related

* [M005: Key not recognized](/llm-gateway/docs/llm-gateway/docs/errors/M005)
* [M001: Missing Authorization header](/llm-gateway/docs/llm-gateway/docs/errors/M001)
* [All error codes](/llm-gateway/docs/llm-gateway/docs/errors)
