Errors
On this Page you can find list of usual Errors and ways on how to fix them
Disallowed Intents
This error happens when you don't enable required Gateway Intents on Discord Developer Portal.
How to fix: Visit Bot Application Setup Page, and follow steps 2 & 3.
node:events
This error happens when you're using unsupported NodeJS Version (Older than 16.9).
How to fix: Visit Dependencies Page, and follow step 1 (1.2) - Only if you're hosting it on Linux Server, if you've purchased Server from Hosting, then you have to contact them on how to change NodeJS Version.
The module was compiled against..
This error happens when you're use one NodeJS Version to install node_modules and then start bot with some other.
How to fix: Delete node_modules
folder and use the correct version to reinstall modules.
Error: Cannot find module '...'
This error happens when you don't have module(s) installed.
How to fix: If you're hosting bot on Linux machine you can follow Linux Installation Setup Guide, if you're hosting on Pterodactyl or other panel, you'll probably just have to Start Bot.
Supplied roles is not a Role.
This error happens when you put invalid Role ID/Name into Config Field.
How to fix: Try to find the most recent changes you did to some config field which has to do with Role(s) ID/Name.
Invalid OAuth2 redirect_uri
This error happens when you didn't setup Redirect URL on Discord Developer Portal properly (or didn't at all) or you didn't specify the it right in config.yml.
How to fix: Make sure that you followed the right format for URL. URL must start with https://
or http://
(depending on your hosting & setup), after that should be your domain/IP & at the end there should be :PORT
(PORT
being port
config.yml field). When adding URL Redirect on Discord Developer Portal you also have to add /callback
to the end of URL, while URL in config should be without it at the end.
config.yml URL field Examples
Discord Developer Portal URL Redirect Examples
Last updated