Unknown interaction

I don't come across this error message often, typically encountering it only once every 20 times I give a command. I am curious about the cause of this error. Thinking
5 Replies
d.js toolkit
d.js toolkit2y ago
- What's your exact discord.js npm list discord.js and node node -v version? - Post the full error stack trace, not just the top part! - Show your code! - Explain what exactly your issue is. - Not a discord.js issue? Check out #useful-servers. - Issue solved? Press the button!
d.js docs
d.js docs2y ago
Common causes of DiscordAPIError[10062]: Unknown interaction: - Initial response took more than 3 seconds ➞ defer the response *. - Wrong interaction object inside a collector. * Note: you cannot defer modal or autocomplete value responses
d4
d42y ago
i would guess the 1st one is more likely
! Murali Anand
! Murali AnandOP2y ago
👍
d4
d42y ago
if you're doing anything asynchronous then you should defer
Want results from more Discord servers?
Add your server