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

# invalid-key

> The API key is not valid.

**Status 401.** The API key is not valid.

The response is `application/problem+json`, and its `type` is
`https://docs.andteam.com/api/problems/invalid-key`:

```json theme={null}
{
  "type": "https://docs.andteam.com/api/problems/invalid-key",
  "title": "The API key is not valid",
  "status": 401
}
```

## What it means

The secret is not one andteam recognises: it was mistyped, truncated, or revoked. A revoked key's secret is no longer recognised at all.

## What to do

Check the secret was copied whole. If the key was revoked, ask an administrator for a new key. Do not retry the same request.

See [Errors](https://docs.andteam.com/errors.md) for every type.


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.