# Common Errors

## 🔒 You don't have permissions

> If at any time you get this ''error'' it is most likely because you have not configured your permission in `commands.yml correctly.`

## 🤔 TypeError channel.isTextBased is not a function

**What happened?**

> Discord has rolled out a change which broke how we handle things in discord.js. We have fixed this when it first came up and was reverted due to breaking a lot of bots without an immediate fix. Apparently you have not updated discord.js since we did that!

**How do I fix it?**

> Update discord.js! (updating minor versions should not break anything)

## 🍐 MongoDB Error: Operation giveaways.find() buffering timed out after 10000ms

> This error occurs when the IP is not added in MongoDB.
>
> After logging in to the MongoDB site, you need to add the IP in Security section -> Network Access in your database.
>
> In case of VPS, just add the VPS IP.&#x20;
>
> If you want to allow all IPs, enter 0.0.0.0
>
> If the error occurs even after adding the IP, there is a problem with the MongoDB server, so please wait patiently as this is MongoDB and not the bot.

In the same way, we recommend you to create a ticket on our discord server by [clicking here](https://discord.com/channels/1255727325933207594/1255789090364850278) or [joining our support server](https://discord.gg/Yp8GHdFaQX).


---

# 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://absolet-development.gitbook.io/absolet-documentation/readme/common-errors.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.
