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 toolkit14mo 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-Fx14mo ago
Oh are you trying to send that png to a specific server?
DanielBA
DanielBAOP14mo ago
No. To all servers
kernelxion
kernelxion14mo ago
It can be about Discord Rate Limits try to catch errors.
Syjalo
Syjalo14mo ago
You were already answered. Yes. Do not spam the API.
Want results from more Discord servers?
Add your server