# Failed to Create

### About the Error

This error is caused by Ticket Tool being unable to create the ticket properly:

![Sample Error](https://i.imgur.com/5Psd0VP.png)

This error is likely caused by Ticket Tool lacking permissions:

* It can be missing one of the essential permissions on its role, the given category or a specific channel
* It is missing a permission you assigned using the [Permission Options](https://docs.tickettool.xyz/dashboard/panel-configs/permission-options) in your [Dashboard Settings](https://tickettool.xyz/dashboard/server_id/configs#pc-menu/pc-permissions)

### Solutions

To solve this you can:

1. Use the `/debug` command to diagnose which permissions the bot requires, the permissions marked with `❌` are the ones the bot is missing:

![How a debug message can look like](https://i.imgur.com/ByqmRh8.png)

2. Visit the Dashboard and go into the [Permission Options](https://tickettool.xyz/dashboard/server_id/configs#pc-menu/pc-permissions) tab to identify which permissions the bot is trying to assign. Set some to null in order to figure out which permission is causing the conflict!

{% hint style="info" %}
If after this you haven't been able to solve the error, reach out to our [Support Team](https://discord.gg/TicketTool)
{% endhint %}


---

# 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.tickettool.xyz/debugging/errors/5169a0fe-f50c-11ed-a05b-0242ac120003.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.
