You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I've noticed with Thai. When you respond to an interaction with a big payload, Discord fails to respond and gives a seemingly incorrect error code—unknown interaction. The window to reply is not being exceeded—the error is given immediately.
When sending the same payload as a message in a channel, Discord returns an internal server error.
In English, this works fine, and bigger payloads work fine. It sounds like the issue is when the data is sent to Discord, only then in the backend are Unicode code points counted, and an error is thrown. Just an assumption, however.
There should be a better error code returned. It took too long to figure out why I was receiving 404s for interactions when in reality it was Discord that was misleading me.
Steps to Reproduce
Respond to an interaction with this payload and you will immediately receive an unknown interaction:
Description
I've noticed with Thai. When you respond to an interaction with a big payload, Discord fails to respond and gives a seemingly incorrect error code—unknown interaction. The window to reply is not being exceeded—the error is given immediately.
When sending the same payload as a message in a channel, Discord returns an internal server error.
In English, this works fine, and bigger payloads work fine. It sounds like the issue is when the data is sent to Discord, only then in the backend are Unicode code points counted, and an error is thrown. Just an assumption, however.
There should be a better error code returned. It took too long to figure out why I was receiving 404s for interactions when in reality it was Discord that was misleading me.
Steps to Reproduce
Respond to an interaction with this payload and you will immediately receive an unknown interaction:
If you do this when you send a message in a channel, Discord returns an internal server error (500):
Expected Behavior
40005 (request entity too large), 50035 (invalid form body), etc.
Current Behavior
10062 (unknown interaction) is returned immediately or a 500 (internal server error).
Screenshots/Videos
No response
Client and System Information
curl 8.7.1 (x86_64-apple-darwin24.0) libcurl/8.7.1 (SecureTransport) LibreSSL/3.3.6 zlib/1.2.12 nghttp2/1.62.0
The text was updated successfully, but these errors were encountered: