> For the complete documentation index, see [llms.txt](https://gscripts.gitbook.io/gscripts-docs/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://gscripts.gitbook.io/gscripts-docs/gs-vending-machine/troubleshooting.md). Agents can also search and read this documentation through its [MCP server](https://gscripts.gitbook.io/gscripts-docs/~gitbook/mcp).

# Troubleshooting

### Prompt visible but menu does not open

Check the first F8/server error, resource startup and NUI file presence. Verify the selected interaction method and saved FiveM key binding. Use the complete current resource folder rather than mixing files from different revisions.

### Product cannot be bought

Confirm the exact catalog item exists in the inventory, it is enabled, its price is valid, the player has cash and there is inventory capacity. A display label is not an inventory item identifier.

### Machine is not detected

Confirm the actual prop model is listed in the intended MachineTypes profile. Similar-looking props may have different models. Custom MLO/map props must be configured explicitly.

### Wrong nearby machine opens

Test adjacent machines separately and check model/profile configuration. Prompt visibility and purchase distance serve different purposes; increasing visibility should not automatically extend purchase reach.

### Compatibility

Auto detection only sees running resources. Start framework, inventory and ox\_lib first. Use explicit settings when several integrations are installed. For custom framework/inventory forks, check their own API compatibility rather than assuming the standard adapter works unchanged.

### Report a bug

Include version, integration names, exact error, prop model/catalog item and steps to reproduce. See the general Support and updates page.


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation by asking a question.

Perform an HTTP GET request on the following URL with the `ask` and `goal` query parameters:

```
GET https://gscripts.gitbook.io/gscripts-docs/gs-vending-machine/troubleshooting.md?ask=<question>&goal=<user_goal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is what the user is ultimately trying to achieve, the reason they need the answer. Sharing it helps GitBook give you a better, more relevant answer. A goal is most helpful when it describes the outcome the user wants rather than restating the question. For example, with `ask=how do I create an API token`, a goal like `automate deployments from our CI pipeline` lets GitBook tailor the answer to that use case.

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.
