I am getting an async function error which i am not suppose to get

(node:4514) UnhandledPromiseRejectionWarning: DiscordAPIError

4:46 PM

at /rbd/pnpm-volume/034599ea-c1c3-422b-9783-c3b2bb2163b1/node_modules/.registry.npmjs.org/discord.js/11.6.4/node_modules/discord.js/src/client/rest/RequestHandlers/Sequential.js:85:15

4:46 PM

at /rbd/pnpm-volume/034599ea-c1c3-422b-9783-c3b2bb2163b1/node_modules/.registry.npmjs.org/snekfetch/3.6.4/node_modules/snekfetch/src/index.js:215:21

4:46 PM

at processTicksAndRejections (internal/process/task_queues.js:88:5)

4:46 PM

(node:4514) 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: 3)

4:46 PM

(node:4514) [DEP0018] DeprecationWarning: Unhandled promise rejections are deprecated. In the future, promise rejections that are not handled will terminate the Node.js process with a non-zero exit code.
^^^^

i am getting this error even after i tried to remove all the .catch() and async/await functions from my project. Please take a look at my project if possible and it help me with the error.
thanks
doge
project-

I m pretty sure it is not caused by the glitch api.

I believe your on a banned host, please post to Discord Ban mega-thread the second! (Discord bot / Something took too long to do)

@Anish this is not a case of IP ban, I see no “Something took too long to do” in the error message.

1 Like

What version of node are you running?

1 Like

i am using 12v // 12.x.x u can see that in my package.json

i dont think so…