# Common issues

#### <mark style="color:blue;">CHECK</mark> | Latest version

Make sure you are running the latest version of our resource. If your resource is outdated, it might have issues that have already been solved in later updates.&#x20;

The latest version is <mark style="color:blue;">v2.0.3</mark> (you can check your version in <mark style="color:blue;">rahe-racing/fxmanifest.lua</mark>).

#### <mark style="color:blue;">CHECK</mark> | Errors on resource start

Make sure that there are no errors when the resource starts up.

:bulb: Type the following command to your server console:

`ensure rahe-racing`

There shouldn't be any errors after this command.

#### <mark style="color:blue;">CHECK</mark> | Required dependencies

Make sure that you have installed both of the required dependencies - <mark style="color:blue;">ox\_lib</mark> and <mark style="color:blue;">oxmysql</mark>. In addition to that, please verify that you have installed them **correctly** (you have downloaded the built versions as is instructed, not the source code versions).

:bulb: Type the following commands to your server console:

`ensure oxmysql`

`ensure ox_lib`

There shouldn't be any errors after these commands. If there are, you have incorrectly installed the dependencies or you haven't started them. Go back to our installation guide which will tell you exactly what to download and where to download it from.&#x20;

#### <mark style="color:red;">SCRIPT ERROR</mark> | `syntax error near '<\1>'`

You have uploaded the resource files to your server using <mark style="color:red;">Filezilla</mark>, which has a tendency to corrupt encrypted files. When the files are corrupted, the resource can't function correctly.

Please re-upload the files using a better FTP client such as <mark style="color:blue;">WinSCP</mark>.

#### <mark style="color:red;">SCRIPT ERROR</mark> | SQL error `Column 'player_identifier' cannot be null` when opening the tablet

You are most likely using the standalone version of our resource. The standalone version of our resource uses <mark style="color:blue;">Steam</mark> as the primary player identifier. If you are getting this error, then it means FiveM is unable to get the player identifier (<mark style="color:blue;">getPlayerIdentifier</mark> function in <mark style="color:blue;">public/framework/server.lua</mark>). This can happen because of two reasons:

1\) Your Steam was not open **before** you launched FiveM.

2\) You haven't configured your server to use <mark style="color:blue;">Steam</mark>. You must set the <mark style="color:blue;">steam\_webApiKey</mark> variable in your server config.

#### <mark style="color:yellow;">ISSUE</mark> | Custom vehicle names are showing up as <mark style="color:blue;">UNDEFINED</mark> in the tablet or are wrong.

We try to get the vehicle model names using two methods.&#x20;

Firstly, we try to get the name from a FiveM native (which takes it from your vehicle meta file):

```lua
GetLabelText(GetDisplayNameFromVehicleModel(modelHash))
```

If your vehicle meta files are not set up correctly, then this native will not work. If you want to fix this, make sure you have added a text entry (<https://docs.fivem.net/natives/?_0x32CA01C3>) for your custom vehicles and that their `gameName` and `modelName` match in the meta file. \
\
If that native didn't work, the system will then try to get the vehicle name from the resource config. So if your vehicle name ends up being <mark style="color:blue;">UNDEFINED</mark>, it means both of the methods have failed.

#### <mark style="color:yellow;">**ISSUE**</mark>**&#x20;| You are getting an error when importing the default tracks.**

This issue is covered in the [installation section](https://docs.rahe.dev/our-scripts/installation#importing-tracks). Please re-read the track import section there.

#### <mark style="color:yellow;">**ISSUE**</mark>**&#x20;| Some of your keybinds are not working during track creation.**

Most likely, some other resource of yours is using the keybinds, blocking our resource from using them. Please try changing the non-working track creation keybinds to some other keys in the resource config.
