Unknown interaction error, code 10062 after updating to djs14
Hi! I've recently updated to Discord.js 14 and I've noticed that almost all my interactions are having the same issue sometimes, they're working fine and suddenly it stop works and giving me this error. How can I fix it?
This is an example on one of my command that use axios to get an api with different currencies in Argentina.
I'm using TypeScript and hosting in Repl.it
3 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!I don't know why some Spanish characters are Chineses while sharing
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 responses