# Category Issues

### About the Error

This error is caused when the bot has issues locating the category you picked or is unable to add a new channel in the category, resulting in the ticket being created at the top of the channel list:

{% hint style="info" %}
Ticket Tool limits categories at 45 channels instead of Discord's limit of 50, so if your category has 45 or more channels in it, the ticket will appear at the top of the server
{% endhint %}

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

### Solutions

To solve this you can:

1. Visit your [Category Options](https://tickettool.xyz/dashboard/server_id/configs#pc-menu/pc-category) in your Dashboard and look for a `~ Deleted ~` category in order to replace it with a valid category

![Deleted Category](https://i.imgur.com/ECa0nAm.png)

{% 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/51699b5e-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.
