Problom with discord bot

my project got an error like this

at process._tickCallback (internal/process/next_tick.js:189:7)

(node:385) UnhandledPromiseRejectionWarning: Unhandled promise rejection. This error originated either by throwing inside of an async function without a catch block, or by rejecting a promise which was not handled with .catch(). (rejection id: 256)

(node:385) UnhandledPromiseRejectionWarning: DiscordAPIError: Missing Access

at item.request.gen.end (/rbd/pnpm-volume/383f9a15-f7e6-4034-91ae-004f94cfd6c1/node_modules/.registry.npmjs.org/discord.js/11.5.1/node_modules/discord.js/src/client/rest/RequestHandlers/Sequential.js:85:15)

at then (/rbd/pnpm-volume/383f9a15-f7e6-4034-91ae-004f94cfd6c1/node_modules/.registry.npmjs.org/snekfetch/3.6.4/node_modules/snekfetch/src/index.js:215:21)

and someone tell me to create a topic here
can someone help?


MOD EDIT: formatting

Hi @matan148, welcome to the Glitch forum!

That looks on the surface like a permissions problem with your bot’s access rights. It might help folks help you if you can provide your project name and a little description of what your bot’s trying to do when you see this error, if you know.