> For the complete documentation index, see [llms.txt](https://documentation.rcore.cz/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://documentation.rcore.cz/paid-resources/rcore_dealership/troubleshooting.md).

# Troubleshooting

Use these fixes when `rcore_dealership` does not work as expected.

<details>

<summary>The dealership has no vehicles to buy.</summary>

**Cause:** Vehicles are not assigned to the dealership.

**Fix:** Run `/dealershipadmin` and see Vehicles Assignment tab. Assign any vehicle to the dealership.

</details>

<details>

<summary>The admin tablet opens, but there are no dealerships.</summary>

**Cause:** No dealerships have been created yet.

**Fix:** Place a dealership in `/dealershipadmin`, or load a [map preset](/paid-resources/rcore_dealership/installation/presets.md) from the server console.

</details>

<details>

<summary>Vehicle preview photos are missing or not generating.</summary>

**Cause:** The FiveManage API key is empty.

**Fix:** Set your own key in `configs/config.photos.lua`, then run photo mode again from the `/dealershipadmin`. See the [Photos config](/paid-resources/rcore_dealership/configuration/photos.md).

</details>

<details>

<summary>The admin command does not work for my admin.</summary>

**Cause:** The player is not recognized as a framework admin.

**Fix:** Check `Config.FrameworkAdminGroups` and your framework's admin groups.

</details>

<details>

<summary>Interactions (open dealership, business laptop) do not appear.</summary>

**Cause:** The target resource was not detected, or the interaction points are misconfigured.

**Fix:** Check `Config.Target`, or rely on the marker/NPC fallback. Verify the points in the [Dealership config](/paid-resources/rcore_dealership/configuration/dealership.md).

</details>

<details>

<summary>Discord logs are not arriving.</summary>

**Cause:** No webhook URL is set for the log type.

**Fix:** Add a webhook URL for each log type in `configs/config.logs.lua`. See the [Logs config](/paid-resources/rcore_dealership/configuration/logs.md).

</details>

<details>

<summary>Something is wrong, but there is no clear error.</summary>

**Fix:** Enable debug in `config.lua`, reproduce the issue, then check F8 and the server console.

```lua
Config.Debug = true
```

</details>
