Unknown Interaction
I have came to a problem where when I randomly run commands, my bot crashes with the error "Unknown Interaction"..
9 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!Common causes of
DiscordAPIError[10062]: Unknown interaction
:
- Initial response took more than 3 seconds ➞ defer the response *.
- Wrong interaction object inside a collector.
- Two processes handling the same command (the first consumes the interaction, so it won't be valid for the other instance)
* Note: you cannot defer modal or autocomplete value responsesif its already unknown before it reaches the defer, check the 3rd bullet point and your network/host
Mmm, I will try resetting the token
it could also be multiple listeners
Mmm, thinking about two processes, I did change like 5 hosting providers in the last year, I might have forgot to turn one off.
Ima just reset the token
nope issue is still happening
then its probably a host / network issue
mm