# Error: You lack the required entitlement

If you see an error like this in your server console:

```txt
You lack the required entitlement to use XXX
```

it means the server could not verify that the resource is allowed to run on your server.

***

### Why this happens

There are several common reasons why this error appears.

#### 1. The resource was purchased on a different CFX Portal account

The resource must be purchased on the same account that is linked to the server owner.

If the script was bought on another account, the entitlement check will fail.

***

#### 2. The server has not been restarted

In some cases, the entitlement is not refreshed until the server is fully restarted.

***

#### 3. Your server license key is incorrect

If the server license key is invalid or does not match the correct server setup, the entitlement check may fail.

***

#### 4. Your server system time is incorrect

If the operating system time is ahead or behind the real time, entitlement validation may stop working correctly.

Even a difference of more than one minute can cause issues.

***

### How to fix it

Follow these steps:

#### Restart the server

Make sure the server has been fully restarted after installing the resource.

***

#### Check your server license key

Verify that your server license key is valid and correctly configured.

***

#### Make sure the resource was bought on the correct account

Confirm that the resource was purchased on the same FiveM account that owns the server.

If it was purchased on a different account, you will need to transfer it through the **Keymaster** platform.

***

#### Check your server time

Open the following website:

```txt
https://time.is/
```

Choose the location where your server is hosted and compare the server time with the real time.

If the difference is more than one minute, correct the system time and restart the server.

***

### I did not restart the server

Restart it.

A full restart is required so the entitlement check can refresh properly.

***

### How do I sync time?

#### Windows

1. Open **Date & Time Settings**
2. Enable automatic time sync
3. Click **Sync now**

#### Linux

Use:

```bash
timedatectl set-ntp true
timedatectl status
```

After syncing the time, restart the server.

***

### Recommended checklist

Before contacting support, make sure you have done all of the following:

* restarted the server
* checked the server license key
* confirmed the resource was bought on the correct account
* corrected the server system time
* transferred the resource if it was purchased on another account

***

### Still not working?

If the issue still remains after all steps above, double-check:

* the server owner account
* the resource ownership
* the server license key
* the system time on the machine

In most cases, the problem is caused by one of these four things.


---

# 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://mskscripts.gitbook.io/mskscripts/errors/error-you-lack-the-required-entitlement.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.
