# Error parsing script ... <\1>

<h3 align="center">What does this mean?</h3>

<mark style="color:orange;">FiveM</mark> failed to load the script because the file is **corrupted, incomplete, or incompatible** with your server version. This isn't a script bug, it’s almost always an environment or upload issue.

Error message example:

```console
[script:resource-name] Error parsing script @resource-name/server/script-file.lua in resource resource-name: @resource-name/server/script-file.lua:1: syntax error near '<\1>'
[    c-scripting-core] Failed to load script server/script-file.lua.
```

<h2 align="center">Possible reasons</h2>

1. You are transferring the folder to the VPS file by file, please upload the .zip file and extract it after it is already on your VPS (so drag and drop the zip file and **not** the folder)
2. You may have to clear the server caches
3. The download was corrupted, try doing a new clean install
4. Your server version is too old, the minimum version is 4752
5. You have a virus on your server that is modifying other script files (very likely if everything else hasn't fixed it)

<h3 align="center">How to verify my server version?</h3>

To verify what server version your server is currently using, you have to use the following command in your <mark style="color:orange;">FiveM</mark> server console: `version`

<h3 align="center">How to update my server version?</h3>

To update your server version, you have to download the new [server artifacts](https://runtime.fivem.net/artifacts/fivem/build_server_windows/master/) and to extract and replace them in your server folder.\
This is the <mark style="background-color:$success;">**official**</mark> [<mark style="color:orange;">FiveM</mark> guide](https://docs.fivem.net/docs/server-manual/setting-up-a-server/) to update your server

<h3 align="center">My server version is already updated, but I have the error</h3>

If you have the error even if your server version is not the issue, then you have to check [here](/b14ck-scripts/fivem-escrow-errors/failed-to-verify-protected-resource.md)


---

# 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://b14ck.gitbook.io/b14ck-scripts/fivem-escrow-errors/error-parsing-script-...-less-than-1-greater-than.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.
