What are possible causes for "DiscordAPIError[10062]: Unknown interaction"
Hello ๐
A user of my bot reported that they are getting the following error:
I instantly expected that Discord was probably not happy with the response time, since the action may take some while.
So I refactored to use
await deferReply()
.
This works for me, but the users still has the same error.
We already debugged everything around and concluded, that await deferReply()
just under a second.
deferReply does not seem to be the issue. I call it correctly.
This issue has already been reported once, but the thread was locked:
https://github.com/discordjs/discord.js/issues/7005
Thus, I decided to ask here, what other possible issues besides the timeout, could cause this issue.
I'm happy to provide the source code, but I sadly can't reproduce the error on my machine.
I can provide the code, but as the issue already says, the code does not seem to be the problem here.
GitHub
Random "Unknown interaction" errors sometimes ยท Issue #7005 ยท disco...
Issue description I have a bot with clicks on buttons every second and people executing commands. This generally goes very well, but sometimes I get an "Unknown Interaction" when ...
3 Replies
Unknown Userโข2y ago
Message Not Public
Sign In & Join Server To View
GitHub
Random misleading Unknown Interaction errors ยท Issue #5558 ยท discor...
Description I've seen this issue reported by many people but so far no one has been able to gather enough information to reliably explain what's going on. An example can be seen at ...
I mentioned the issue from my repo, thanks. I'll see if I can gather data with the user so we can finally resolve this