Interaction already acknowledged

D:\Yara Bot\node_modules\@discordjs\rest\dist\lib\handlers\SequentialHandler.cjs:293
throw new DiscordAPIError.DiscordAPIError(data, "code" in data ? data.code : data.error, status, method, url, requestData);
^

DiscordAPIError[40060]: Interaction has already been acknowledged.
at SequentialHandler.runRequest (D:\Yara Bot\node_modules\@discordjs\rest\dist\lib\handlers\SequentialHandler.cjs:293:15)
at processTicksAndRejections (node:internal/process/task_queues:96:5)
at async SequentialHandler.queueRequest (D:\Yara Bot\node_modules\@discordjs\rest\dist\lib\handlers\SequentialHandler.cjs:99:14)
at async REST.request (D:\Yara Bot\node_modules\@discordjs\rest\dist\lib\REST.cjs:52:22)
at async ChatInputCommandInteraction.reply (D:\Yara Bot\node_modules\discord.js\src\structures\interfaces\InteractionResponses.js:110:5) {
rawError: {
message: 'Interaction has already been acknowledged.',
code: 40060
},
code: 40060,
status: 400,
method: 'POST',
url: 'https://discord.com/api/v10/interactions/1018969210048745513/aW50ZXJhY3Rpb246MTAxODk2OTIxMDA0ODc0NTUxMzpzNjNGb2pIZFZsSVBFanM5ZjRzZXVyVXZjMlA3WVp4Znc2Vk5Bcm5ISXFEZ3VGWmpJckxva3hOVHAxbU9zNko2d29OZzhBeFJoV1ZSYWVCMUFnQXFBRWl6aWc5R20yMlR0djhPd1hjUFMyYVdYREtUbHVKMUlQamk5OGcyYThUSQ/callback',
requestBody: {
files: [],
json: {
type: 4,
data: {
content: undefined,
tts: false,
nonce: undefined,
embeds: [
{
color: 15548997,
title: '❌ | Invalid Input, please enter a name.'
}
],
components: undefined,
username: undefined,
avatar_url: undefined,
allowed_mentions: undefined,
flags: 64,
message_reference: undefined,
attachments: undefined,
sticker_ids: undefined
}
}
}
}
D:\Yara Bot\node_modules\@discordjs\rest\dist\lib\handlers\SequentialHandler.cjs:293
throw new DiscordAPIError.DiscordAPIError(data, "code" in data ? data.code : data.error, status, method, url, requestData);
^

DiscordAPIError[40060]: Interaction has already been acknowledged.
at SequentialHandler.runRequest (D:\Yara Bot\node_modules\@discordjs\rest\dist\lib\handlers\SequentialHandler.cjs:293:15)
at processTicksAndRejections (node:internal/process/task_queues:96:5)
at async SequentialHandler.queueRequest (D:\Yara Bot\node_modules\@discordjs\rest\dist\lib\handlers\SequentialHandler.cjs:99:14)
at async REST.request (D:\Yara Bot\node_modules\@discordjs\rest\dist\lib\REST.cjs:52:22)
at async ChatInputCommandInteraction.reply (D:\Yara Bot\node_modules\discord.js\src\structures\interfaces\InteractionResponses.js:110:5) {
rawError: {
message: 'Interaction has already been acknowledged.',
code: 40060
},
code: 40060,
status: 400,
method: 'POST',
url: 'https://discord.com/api/v10/interactions/1018969210048745513/aW50ZXJhY3Rpb246MTAxODk2OTIxMDA0ODc0NTUxMzpzNjNGb2pIZFZsSVBFanM5ZjRzZXVyVXZjMlA3WVp4Znc2Vk5Bcm5ISXFEZ3VGWmpJckxva3hOVHAxbU9zNko2d29OZzhBeFJoV1ZSYWVCMUFnQXFBRWl6aWc5R20yMlR0djhPd1hjUFMyYVdYREtUbHVKMUlQamk5OGcyYThUSQ/callback',
requestBody: {
files: [],
json: {
type: 4,
data: {
content: undefined,
tts: false,
nonce: undefined,
embeds: [
{
color: 15548997,
title: '❌ | Invalid Input, please enter a name.'
}
],
components: undefined,
username: undefined,
avatar_url: undefined,
allowed_mentions: undefined,
flags: 64,
message_reference: undefined,
attachments: undefined,
sticker_ids: undefined
}
}
}
}
I didnt do anything ans this error pops up
12 Replies
d.js docs
d.js docs3y 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. Tag suggestion for @PAdventures:DiscordAPIError: Interaction has already been acknowledged[InteractionAlreadyReplied]: The reply to this interaction has already been sent or deferred. You have already replied to the interaction. • Use <Interaction>.followUp() to send a new message • If you deferred reply it's better to use <Interaction>.editReply() • Responding to slash commands / buttons / select menus
PAdventures
PAdventuresOP3y ago
[InteractionAlreadyReplied]: The reply to this interaction has already been sent or deferred. this isnt in the error message
Jaworek
Jaworek3y ago
woah
PAdventures
PAdventuresOP3y ago
so it cant be this and like i said i didnt do anything to my code and thos error randomly pops up
Jaworek
Jaworek3y ago
it's just another case when u re smarter and you awaited first reply just read this tag
PAdventures
PAdventuresOP3y ago
i tried doing it and it still doesnt work [InteractionAlreadyReplied]: The reply to this interaction has already been sent or deferred. <- this only showed up because i did what it says above
chewie
chewie3y ago
Showing the code usually helps alot
Unknown User
Unknown User3y ago
Message Not Public
Sign In & Join Server To View
PAdventures
PAdventuresOP3y ago
https://srcb.in/kq2j9Irc1M <- code + error message
SourceBin
Interaction is already decaired
Instantly share your code with the world.
PAdventures
PAdventuresOP3y ago
^
PAdventures
PAdventuresOP3y ago
SourceBin
Unknown interaction
Instantly share your code with the world.
PAdventures
PAdventuresOP3y ago
error
D:\Yara Bot\node_modules\@discordjs\rest\dist\lib\handlers\SequentialHandler.cjs:293
throw new DiscordAPIError.DiscordAPIError(data, "code" in data ? data.code : data.error, status, method, url, requestData);
^

DiscordAPIError[10062]: Unknown interaction
at SequentialHandler.runRequest (D:\Yara Bot\node_modules\@discordjs\rest\dist\lib\handlers\SequentialHandler.cjs:293:15)
at processTicksAndRejections (node:internal/process/task_queues:96:5)
at async SequentialHandler.queueRequest (D:\Yara Bot\node_modules\@discordjs\rest\dist\lib\handlers\SequentialHandler.cjs:99:14)
at async REST.request (D:\Yara Bot\node_modules\@discordjs\rest\dist\lib\REST.cjs:52:22)
at async ChatInputCommandInteraction.reply (D:\Yara Bot\node_modules\discord.js\src\structures\interfaces\InteractionResponses.js:110:5) {
rawError: { message: 'Unknown interaction', code: 10062 },
code: 10062,
status: 404,
method: 'POST',
url: 'https://discord.com/api/v10/interactions/1019658523531030688/aW50ZXJhY3Rpb246MTAxOTY1ODUyMzUzMTAzMDY4ODo2d0Z1N2VDcTBndTNXQW9iYU1oWU01RHVlNENQRkJQVVlWU1FxMTFqSGQ5VmZIRUlVcUtrRHNaM0dEdFU0bG5VN1cwUE1xV0xYbkloZ2tLZzNJME9NZ0JIWkM2TEN6eDR0YldTUFFZbzFQZTRsR3Z2QzU4Qnp1aGFGdDZFcHdVYg/callback',
requestBody: {
files: [],
json: {
type: 4,
data: {
content: undefined,
tts: false,
nonce: undefined,
embeds: [
{
color: 15548997,
title: 'Help',
description: '`/help <option [command | system | overview]> <name>` - Use the command to get general help or inforamtion about a command or system.'
}
],
components: undefined,
username: undefined,
avatar_url: undefined,
allowed_mentions: undefined,
flags: 64,
message_reference: undefined,
attachments: undefined,
sticker_ids: undefined
}
}
}
}
D:\Yara Bot\node_modules\@discordjs\rest\dist\lib\handlers\SequentialHandler.cjs:293
throw new DiscordAPIError.DiscordAPIError(data, "code" in data ? data.code : data.error, status, method, url, requestData);
^

DiscordAPIError[10062]: Unknown interaction
at SequentialHandler.runRequest (D:\Yara Bot\node_modules\@discordjs\rest\dist\lib\handlers\SequentialHandler.cjs:293:15)
at processTicksAndRejections (node:internal/process/task_queues:96:5)
at async SequentialHandler.queueRequest (D:\Yara Bot\node_modules\@discordjs\rest\dist\lib\handlers\SequentialHandler.cjs:99:14)
at async REST.request (D:\Yara Bot\node_modules\@discordjs\rest\dist\lib\REST.cjs:52:22)
at async ChatInputCommandInteraction.reply (D:\Yara Bot\node_modules\discord.js\src\structures\interfaces\InteractionResponses.js:110:5) {
rawError: { message: 'Unknown interaction', code: 10062 },
code: 10062,
status: 404,
method: 'POST',
url: 'https://discord.com/api/v10/interactions/1019658523531030688/aW50ZXJhY3Rpb246MTAxOTY1ODUyMzUzMTAzMDY4ODo2d0Z1N2VDcTBndTNXQW9iYU1oWU01RHVlNENQRkJQVVlWU1FxMTFqSGQ5VmZIRUlVcUtrRHNaM0dEdFU0bG5VN1cwUE1xV0xYbkloZ2tLZzNJME9NZ0JIWkM2TEN6eDR0YldTUFFZbzFQZTRsR3Z2QzU4Qnp1aGFGdDZFcHdVYg/callback',
requestBody: {
files: [],
json: {
type: 4,
data: {
content: undefined,
tts: false,
nonce: undefined,
embeds: [
{
color: 15548997,
title: 'Help',
description: '`/help <option [command | system | overview]> <name>` - Use the command to get general help or inforamtion about a command or system.'
}
],
components: undefined,
username: undefined,
avatar_url: undefined,
allowed_mentions: undefined,
flags: 64,
message_reference: undefined,
attachments: undefined,
sticker_ids: undefined
}
}
}
}
doesnt work either ^ same error message not same code ? wdym i have the same error and i did what you suggested? https://srcb.in/szUlUJHSu5 gtg for 30min-1h ^ #updatedCode nvm it suddently sarted to work now thanks for the help anyway
Want results from more Discord servers?
Add your server