Discord.js: AbortError: The user aborted a request.

Created on 1 Oct 2019  路  7Comments  路  Source: discordjs/discord.js

I have this error in log when one command was execute, I already reinstall discord.js

I use Discord.js 12

duplicate

All 7 comments

I regularly have the same problem, but I can't find the cause...

Reassuring :/

This is a bit of a duplicate of https://github.com/discordjs/discord.js/issues/3471

Also, next time, don't delete the template. It exists for a reason.

Getting the same error. Bot runs just fine for x hours (or even days) but then I get this error.

It's UnhandledRejection, full output:

 [REJECTION] HTTPError [AbortError]: The user aborted a request.
     at RequestHandler.execute (PROJECT_PATH/node_modules/discord.js/src/rest/RequestHandler.js:107:21)
at processTicksAndRejections (internal/process/task_queues.js:97:5) {
   code: 500,
   method: 'get',
   path: '/gateway/bot'
}

(the [REJECTION] is added there by my logger, meaning it's Unhandled rejection)

Getting the same error. Bot runs just fine for x hours (or even days) but then I get this error.

It's UnhandledRejection, full output:

 [REJECTION] HTTPError [AbortError]: The user aborted a request.
     at RequestHandler.execute (PROJECT_PATH/node_modules/discord.js/src/rest/RequestHandler.js:107:21)
at processTicksAndRejections (internal/process/task_queues.js:97:5) {
   code: 500,
   method: 'get',
   path: '/gateway/bot'
}

(the [REJECTION] is added there by my logger, meaning it's Unhandled rejection)

I have the same problem and I am waiting for a response from Discord

Peeps, two things

  1. This is a closed (duplicate) issue; you can check more and a proposed library fix on #3471
  2. This is not necessarily on Discord's end; and most likely you won't notice once we implement the fixes.

HTTPError [AbortError]: The user aborted a request. at RequestHandler.execute (/home/pi/node_stuff/Kety_folfs_bot_2_0/node_modules/discord.js/src/rest/RequestHandler.js:107:21) at runMicrotasks (<anonymous>) at processTicksAndRejections (internal/process/task_queues.js:97:5) { code: 500, method: 'post', path: '/channels/735679498774642749/messages' } i get this with my bot

Was this page helpful?
0 / 5 - 0 ratings