unknown interaction

Hi guys, I have such a problem, I'm outputting information from the Overwatch 2 game according to the data entered through the modal window, such an error pops up, and it pops out randomly. Maybe someone knows the solution to the problem
13 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.
grass
grass2y ago
you took too long to reply
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
Blackie
BlackieOP2y ago
There is a problem here, I use esm and don't understand how to import wait
grass
grass2y ago
why are you importing wait
Blackie
BlackieOP2y ago
How do I use without importing?😅
Blackie
BlackieOP2y ago
This is if you don't import
Unknown User
Unknown User2y ago
Message Not Public
Sign In & Join Server To View
Blackie
BlackieOP2y ago
I don't understand how to import wait😅
Unknown User
Unknown User2y ago
Message Not Public
Sign In & Join Server To View
Blackie
BlackieOP2y ago
Option 2 is this done in one line?
Unknown User
Unknown User2y ago
Message Not Public
Sign In & Join Server To View
Blackie
BlackieOP2y ago
I understand, thx <:love_Dva:1044602790703538266>
Want results from more Discord servers?
Add your server