Skip to main content

⚠️ Common Errors

User Errors

Here are some of the most asked questions

  • The table main.config does not exist in the current database - You did not run the npx prisma db push
  • Cannot find module '.../dist/index.js' - You did not run npm run build
  • Used disallowed intents - You did not enable all the intent for the bot
  • Must be between 1 and 25 in length - You have more than 25 ticketType in your config or have an invalid/out-of-date config which result in 0 ticketType available
    • For newer source, this should be replaced with appropriate message
  • An invalid token was provided - either the token you provided was actually invalid or you didn't setup the environment variable correctly. It's most likely the latter that happens.
  • The provided value for the column is too long for the column's type. Column: * - You did not use the schema on the doc site like ur suppose to
  • ReferenceError: fetch is not defined - You didn't install the minimum required version for NodeJS (v18.17.0 or above)
  • ENOENT: no such file or directory, open '.../package.json' - There's some issue while you fetched the source, you can just download the missing file or re-clone the source
  • ENOENT: no such file or directory, open '.../config/config.jsonc' - You didn't setup the config file INSIDE config dir...

General Errors

This is a general errors that you might encounter

  • Websocket Error: 1001/1006 - This is some issues with Cloudflare WS connection, you can safely ignore it