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
- 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 staffOh are you trying to send that png to a specific server?
No. To all servers
It can be about Discord Rate Limits try to catch errors.
You were already answered. Yes. Do not spam the API.