# Common Issues

<details>

<summary>Attempt to index a function value (field 'dui')</summary>

You need to update your ox\_lib to the newest available version.

</details>

***

<details>

<summary>I can't release player while escorting or carrying</summary>

To set up your server for our police job, please [click here](https://piotreq-scripts.gitbook.io/piotreq-scripts/assets-and-guides/police-job/server-setup) and follow the listed steps. If issues persist, open a ticket on our Discord and send your `ox_target` or `qb-target` information.

</details>

***

<details>

<summary>[ERROR] SET FIVEMANAGE API KEY IN SERVER CONFIG</summary>

Ensure the Fivemanage SDK is installed. If not, refer to this [documentation](https://docs.fivemanage.com/sdk/fivem/install). If you have the SDK but you don't have an account, follow these steps:

1. Go to the Fivemanage documentation.
2. Create an account by following the registration process.
3. Generate a token.
4. Add the token to your `server.cfg` file.

If you need help, [click here](https://piotreq-scripts.gitbook.io/piotreq-scripts/assets-and-guides/server-setup#five-manage-api-key) and follow the listed steps.

</details>

***

<details>

<summary>I can still cuff cuffed player!</summary>

The issue appears because your server doesn't properly read statebags. There are two possible solutions:

1. Reinstall the server artifacts and check if it works.
2. If not, you may need to reinstall your entire server from your hosting panel or VPS.

</details>
