# 7. Troubleshooting

#### Bot Not Responding

Check:

1. Bot is online (green status)
2. Bot has necessary permissions
3. You're using commands in the correct channel
4. Subscription is active (if trial expired)

#### AI Not Working

Check:

1. Run `/billing` to verify subscription status
2. Check if daily limits are reached
3. Verify AI is enabled (should be by default)
4. Ensure knowledge base has documents

#### Tickets Not Creating

Check:

1. Bot has "Manage Channels" permission
2. Bot has permission to create channels in the category
3. Server hasn't hit Discord's channel limit
4. User doesn't already have an open ticket

#### Knowledge Base Not Working

Check:

1. Documents were added successfully (use `/view-base`)
2. Tags match your queries
3. Document type is correct
4. Content is clear and comprehensive

#### Billing Issues

Check:

1. Run `/billing` to see current status
2. Verify payment was completed
3. Check if subscription is active
4. Contact support if issues persist


---

# 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://ansari-labs.gitbook.io/ansari-labs/products/ai-powered-ticket-tool/setup-guide/7.-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.
