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 toolkit14mo 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
grass14mo ago
you took too long to reply
d.js docs
d.js docs14mo 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
Blackie14mo ago
There is a problem here, I use esm and don't understand how to import wait
grass
grass14mo ago
why are you importing wait
Blackie
Blackie14mo ago
How do I use without importing?😅
Blackie
Blackie14mo ago
This is if you don't import
Unknown User
Unknown User14mo ago
Message Not Public
Sign In & Join Server To View
Blackie
Blackie14mo ago
I don't understand how to import wait😅
Unknown User
Unknown User14mo ago
Message Not Public
Sign In & Join Server To View
Blackie
Blackie14mo ago
Option 2 is this done in one line?
Unknown User
Unknown User14mo ago
Message Not Public
Sign In & Join Server To View
Blackie
Blackie14mo ago
I understand, thx <:love_Dva:1044602790703538266>