Discord.js: Error on RequestHandlers/Sequential.js while using snekfetch

Created on 7 Sep 2017  Â·  6Comments  Â·  Source: discordjs/discord.js

Please describe the problem you are having in as much detail as possible:
So I am using the discordjs lib quite long time and have never had this issue before so it perhaps has something to do with the recent update. The error is below.

TypeError: Cannot read property 'options' of undefined
at item.request.gen.end (../node_modules/discord.js/src/client/rest/RequestHandlers/Sequential.js:69:74)
at then (../node_modules/snekfetch/src/index.js:263:21)
at process._tickDomainCallback (internal/process/next_tick.js:129:7)

I had never had this issue before but as of two days ago it has happened four-five times at competely random intervals.

Include a reproducible code sample here, if possible:
Unfortunately I can't find where it occurs so I can't provide any code. It has occured in many commands that interact with users so I'll go ahead and say that its not in a specific part of the code.

Further details:

  • discord.js version: 11.2.1
  • node.js version: 8.4
  • Operating system: centOS
  • Priority this issue should have – please be realistic and elaborate if possible: high
high REST bug

All 6 comments

I'm not sure where or why but I'm experiencing the same thing.

this change isn't in master, gimme a sec

I very much appreciate the quick reply.

Sorry to bother. Is this included in the newest release?

Yes, the referenced PR (#1904) is included in the newest release (11.3).

Thank you! I looked for it but not well enough.

Was this page helpful?
0 / 5 - 0 ratings

Related issues

kvn1351 picture kvn1351  Â·  3Comments

Brawaru picture Brawaru  Â·  3Comments

tiritto picture tiritto  Â·  3Comments

ghost picture ghost  Â·  3Comments

Dmitry221060 picture Dmitry221060  Â·  3Comments