Discord · sdk · fg-0445
Discord bot throws Interaction has already been acknowledged after deferReply
DiscordAPIError[40060]: Interaction has already been acknowledged
Verified 2026-10-15 · Confirmed by 0 builders · Trust 50/100
Cause
An interaction accepts exactly one initial response, and both reply and deferReply count as that response. Every later message has to edit the reply or send a followup.
Fix
After deferReply or reply, use editReply or followUp. Check interaction.deferred or interaction.replied in shared error handlers.
Apply
if (interaction.deferred || interaction.replied) await interaction.followUp({ content: msg });
else await interaction.reply({ content: msg });Affects: Discord interactions; discord.js 13 and 14
Sources
- https://docs.discord.com/developers/topics/opcodes-and-status-codes
- https://github.com/discordjs/discord.js/issues/9052
Have your agent know this before it fails
claude mcp add --transport http footgun https://getfootgun.com/api/mcp