Jan_
Jan_
DIAdiscord.js - Imagine an app
Created by Jan_ on 7/21/2024 in #djs-questions
Keep getting 500 Internal Server Error when editing messages
For anyone in the Future encountering this error After a few days of testing even more solutions. It seems the discord api has troubles when sending a lot of text/data with one send/edit message request. What i found out I tweaked the embeds per message and the amount of embeds per message. What i found is that 9 embeds with less text were just fine and less embeds per message but with more text were also fine. I checked and i am not going above the character limit on the embeds on any component or in whole. Conclusion From the findings the last option that i can think of is that the amount of data being send to the discord api was too huge, because when i sent the exact same embeds, that gave me the error, only with 5 embeds per message instead of 9, everything went fine. Same for 9 embeds per message but with less text per embed. So my takeaway from this "journey" is: Make sure you are not sending too much data per request to the discord api
7 replies
DIAdiscord.js - Imagine an app
Created by Jan_ on 7/21/2024 in #djs-questions
Keep getting 500 Internal Server Error when editing messages
Ah, sorry misunderstood 😅
7 replies
DIAdiscord.js - Imagine an app
Created by Jan_ on 7/21/2024 in #djs-questions
Keep getting 500 Internal Server Error when editing messages
But wouldn't a malformed request give me back a http status of 4xx?
7 replies