Can large files cause abortion errors?

My bot sends a .png file across many servers. Most of the come out with abortion errors, meaning the API request timed out. The .png file weighs 370KB and when I switch it to a smaller one that only weighs 50KB the code works perfectly
5 Replies
d.js toolkit
d.js toolkit2y ago
- What's your exact discord.js npm list discord.js and node node -v version? - Not a discord.js issue? Check out #other-js-ts. - Consider reading #how-to-get-help to improve your question! - Explain what exactly your issue is. - Post the full error stack trace, not just the top part! - Show your code! - Issue solved? Press the button! - Marked as resolved by staff
Nightro-Fx
Nightro-Fx2y ago
Oh are you trying to send that png to a specific server?
DanielBA
DanielBAOP2y ago
No. To all servers
kernelxion
kernelxion2y ago
It can be about Discord Rate Limits try to catch errors.
Syjalo
Syjalo2y ago
You were already answered. Yes. Do not spam the API.

Did you find this page helpful?