> For the complete documentation index, see [llms.txt](https://absolet-development.gitbook.io/absolet-documentation/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://absolet-development.gitbook.io/absolet-documentation/readme/common-errors.md).

# 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).
