# authentication required

`TNL_AUTHENTICATION_REQUIRED`

the control API or authority API did not accept the current credential.

the server rejected authentication

```text
+--[ where it stopped ]----------------------------------------+
|                                                              |
|  tnl                                                         |
|     |                                                        |
|     v                                                        |
|  control API or authority API                                |
|     |                                                        |
|     x  authentication required                               |
|  operation (not completed)                                   |
|                                                              |
+--------------------------------------------------------------+
```

## what happened

- the saved session expired or was revoked
- the supplied access token is invalid

## if you run tnl

- run `tnl login` again
- if using `--access-token`, check that the token belongs to the selected server

help: https://tnl.dev/e/authentication-required
