DiscordAPIError[40060]: Interaction has already been acknowledged and Unknown Interaction
Hey, So I tried to start my bot up and use a command and when I tried to use it, it will reply to the / command and then it crashes and gave a two different kind of error messages, either Unknown Interaction or Interaction has already been acknowledged. I have added a defer but that didn't fix it and I asked in the #djs-help-v14 and no one in there could figure it out either,
Here is the command that this started happening to (Also all my other commands): https://srcb.in/TLA2k5lDAl
And here is the interactionCreate event: https://sourceb.in/fmkhAvAE06
Any Help would be very appreciated and if you want error photos let me know.
7 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!
- ✅
Marked as resolved by OPMake sure you do not have two processes running?
Or like multiple interactionCreate listener that might be interfering with each other
Nah i only have one interactionCreate
and its only on one system
Can you turn off your process (the one you are working on) and try running the command and see if it works
like restart it? or try it when it's offline?
Try when offline
Like kill the process where ever you are trying to run it which gives the error, and then try the commands
just said the normal error message, The Application did not respond
hey, i just copied and pasted the code back and that fixed it, i dont know how, thank you guys for your time really means a lot, sorry about opening up a post