# Common Issues

## Transferring Scripts [#transferring-scripts]

1. Log in to your [Cfx.re Portal](https://portal.cfx.re/) account.
2. Go to the "[Granted Assets](https://portal.cfx.re/assets/granted-assets)" page to view your purchased resources.
3. Click "Transfer to another account" next to the script you want to transfer.
4. Enter the username of the receiving account and finalize the transfer.

## You lack the required entitlement [#you-lack-the-required-entitlement]

Common causes:

1. **Script purchased with a different FiveM account:** If the script was bought on a different account than the one your server uses, it won't work. See the Transfer Resource Guide above.
2. **Server restart required:** Restart your server after purchasing the script.
3. **Incorrect system time:** Your OS clock may be out of sync. Check against [Time.is](https://time.is/) for your server's location; if it's off by more than a minute, correct the system time.

## Error: syntax error near `<\1>` [#error-syntax-error-near-1]

Two common causes:

1. **File transfer method:**
    - **FileZilla:** Transfers can corrupt the script unless done in binary mode. Either enable binary mode and re-upload the entire resource, or use WinSCP instead.
    - **Drag-and-drop via Remote Desktop:** Moving files individually can damage the script. Upload the zip to the server and unzip it there instead.
2. **Outdated server version:** Your server must run artifact 4752 or higher. Run the `version` command in your server console to check.

## Outdated Artifacts [#outdated-artifacts]

**Linux:**

1. Download the latest recommended artifact from [this page](https://runtime.fivem.net/artifacts/fivem/build_proot_linux/master/).
2. Stop your server.
3. Delete the `cache` and `alpine` folders.
4. Unzip the `fx.tar.xz` file using the command: `tar -xf fx.tar.xz`.
5. Start the server and use the `version` command to verify that the update was successful.

**Windows:**

1. Download the latest recommended FXServer artifact from [this page](https://runtime.fivem.net/artifacts/fivem/build_server_windows/master/).
2. Stop your server.
3. Remove the old server folder.
4. Replace it with the newly downloaded version.
5. Start the server and use the `version` command to check that the update was applied.
