DiscordAPIError[10062]: Unknown interaction

help-me
28 Replies
d.js toolkit
d.js toolkit12mo 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.
d.js docs
d.js docs12mo 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
Joãozinho
Joãozinho12mo ago
Joãozinho
Joãozinho12mo ago
I didn't understand
Unknown User
Unknown User12mo ago
Message Not Public
Sign In & Join Server To View
Joãozinho
Joãozinho12mo ago
how can i arrange? when I try to send the modal it gives this error
Unknown User
Unknown User12mo ago
Message Not Public
Sign In & Join Server To View
d.js docs
d.js docs12mo ago
To share long code snippets use a service like gist, sourcebin, starbin, or similar instead of posting them as large code blocks.
Joãozinho
Joãozinho12mo ago
yeah , one minutes
Unknown User
Unknown User12mo ago
Message Not Public
Sign In & Join Server To View
Joãozinho
Joãozinho12mo ago
can it be printed?
Unknown User
Unknown User12mo ago
Message Not Public
Sign In & Join Server To View
Joãozinho
Joãozinho12mo ago
SourceBin
ConfigGeral.js
Instantly share your code with the world.
Joãozinho
Joãozinho12mo ago
@Jô 🌈 🦄 All modals in this code are in trouble "discord.js": "^14.9.0",
Unknown User
Unknown User12mo ago
Message Not Public
Sign In & Join Server To View
Joãozinho
Joãozinho12mo ago
just add an await?
Unknown User
Unknown User12mo ago
Message Not Public
Sign In & Join Server To View
Joãozinho
Joãozinho12mo ago
I'm using interaction.deferUpdate() to avoid the interaction failed error in the reply is there another way? It worked
Unknown User
Unknown User12mo ago
Message Not Public
Sign In & Join Server To View
Joãozinho
Joãozinho12mo ago
no thanks
Unknown User
Unknown User12mo ago
Message Not Public
Sign In & Join Server To View
Joãozinho
Joãozinho12mo ago
hi
Joãozinho
Joãozinho12mo ago
Joãozinho
Joãozinho12mo ago
why this problem?
Unknown User
Unknown User12mo ago
Message Not Public
Sign In & Join Server To View
d.js docs
d.js docs12mo ago
guide Slash Commands: Autocomplete read more
Joãozinho
Joãozinho12mo ago
In this database there are 2 objects in the array, it pulls the first one but the second one does not show and gives an error
Unknown User
Unknown User12mo ago
Message Not Public
Sign In & Join Server To View