anyone know why I get this error?
DiscordAPIError[10062]: Unknown interaction
at handleErrors (C:\Users\Adam.vscode\Rythm\Rythm\node_modules@discordjs\rest\dist\index.js:730:13)
at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
at async BurstHandler.runRequest (C:\Users\Adam.vscode\Rythm\Rythm\node_modules@discordjs\rest\dist\index.js:835:23)
at async _REST.request (C:\Users\Adam.vscode\Rythm\Rythm\node_modules@discordjs\rest\dist\index.js:1278:22)
at async AutocompleteInteraction.respond (C:\Users\Adam.vscode\Rythm\Rythm\node_modules\discord.js\src\structures\AutocompleteInteraction.js:86:5)
4 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![email protected] C:\Users\Adam.vscode\Rythm\Rythm
├─┬ @distube/[email protected]
│ └─┬ [email protected]
│ └── [email protected] deduped
└── [email protected]
v20.11.0
autocomplete interaction crashes my discord bot
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 responsesalso
we do not support TOS violations
which distube is