# A valid authorisation token is missing error

#### 1. Try pasting the key again

This error usually appears because the license key has not been pasted correctly.

Please try and paste the key again, and make sure there are no spaces at the beginning, end, or in the middle of the key.

The key should start with a "2-" or a "3-" so please include the whole key starting from here.

**Note:** "3-" keys [require version 2.18.4](/faqs/licensing/why-isnt-my-3-license-key-working.md) or newer.

#### 2. Try to refresh your browser

This error may also appear when there are caching issues. Please try refreshing your browser or close your browser and try again.


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.portainer.io/faqs/licensing/a-valid-authorisation-token-is-missing-error.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
