# Troubleshooting

### Common Issues

#### Script not starting

* Check your server console (F8 or server terminal) for errors.
* Verify that `oxmysql` is started **before** this resource.

#### "Table doesn't exist" SQL Error

* Ensure you have imported the `install.sql` file into your database.
* Check if your database name in `server.cfg` matches your actual database.

#### Target/Interaction not working

* If using `ox_target` or `qb-target`, ensure they are correctly installed and started.
* Check `Config.Target` in `config.lua` and try forcing your specific target system instead of `'auto'`.

#### UI not showing

* Ensure you have not renamed the resource. The resource name must remain `is-beachWasteCollector` for NUI callbacks to function correctly.

### Support

If you need further assistance, please join our Discord or open a ticket on the support platform where you purchased the resource.


---

# 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://imperiumscripts.gitbook.io/imperium-scripts/scripts/imperium-beach-waste-collector/troubleshooting.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.
