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

# unauthenticated

> The request has no access token, or one the API doesn't accept.

| Status | Title |
| - | - |
| `401` | Missing, invalid or expired credentials |

## What it means

The `Authorization` header is missing, or its token has expired, was changed, or doesn't come from `accounts.plugchoice.com`. A **single token (old system)** gets this too: it works on v3 only.

An endpoint about the person calling, such as `GET /user`, also answers this to a token your OAuth client gets with the client credentials flow, which belongs to the client and not to a person.

The answer carries `WWW-Authenticate: Bearer`.

## What to do

Get a new access token and send the request again. If the new token is refused too, check which kind of token you send: see [authentication](https://developer.plugchoice.com/v4/authentication.md).

## Example

```json theme={null}
{
  "type": "https://developer.plugchoice.com/api/errors/unauthenticated",
  "title": "Missing, invalid or expired credentials",
  "status": 401,
  "code": "unauthenticated"
}
```


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