# Troubleshooting

### <mark style="color:yellow;">**Before reporting issues, verify:**</mark>

* [ ] The resource is installed correctly and started
* [ ] devhub\_lib [devhub\_lib (NEEDED FOR EACH SCRIPT!)](/scripts/devhub_lib-needed-for-each-script.md)is ensured after your core but as first devhub script
* [ ] Your framework is working correctly and is configured in [devhub\_lib (NEEDED FOR EACH SCRIPT!)](/scripts/devhub_lib-needed-for-each-script.md)
* [ ] Run compatibility test in devhub\_lib to check your framework configuration [Compatibility test](/scripts/devhub_lib-needed-for-each-script/compatibility-test.md)
* [ ] Fix all errors or warnings from [Compatibility test](/scripts/devhub_lib-needed-for-each-script/compatibility-test.md)
* [ ] All dependencies are installed. (look into **Installation** section of each individual script)
* [ ] Database tables are created from sql file (if provided)
* [ ] Config files have no syntax errors [#verify-config-syntax](#verify-config-syntax "mention")
* [ ] Server and resource are fully restarted
* [ ] Debug mode is enabled to see error messages
* [ ] Console (F8 and server) checked for errors
* [ ] No conflicting resources are running
* [ ] Game cache is cleared (if using custom assets)

### <mark style="color:yellow;">**If issues persist:**</mark>

1. Make fresh script resintall
2. Enable debug mode for detailed logs
3. Check client (F8) , server and NUI console
4. Test with minimal configuration (do not change anything in the config)
5. Verify issue on clean server with only required resources
6. Check for updates to tested script and devhub\_lib&#x20;
7. Contact DevHub support with:
   * Server console logs
   * Client console logs (F8)
   * NUI console logs (F8 NUI devtools)
   * Config files
   * Steps to reproduce the issue
   * Results from [Compatibility test](/scripts/devhub_lib-needed-for-each-script/compatibility-test.md)

### <mark style="color:yellow;">Verify Config Syntax</mark>

* Check all config files for syntax errors:
  * Missing commas in tables
  * Mismatched brackets `{}`, `[]`
  * Unclosed strings `""`
  * Invalid Lua syntax
* Use a Lua syntax validator or IDE with Lua support to check files.


---

# 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://docs.devhub.gg/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.
