Discord · sdk · fg-0445

Discord bot throws Interaction has already been acknowledged after deferReply

If you see DiscordAPIError[40060]: Interaction has already been acknowledged, the cause and the fix for Discord are below, last verified 2026-10-15.

Verified Oct 2026trust 50/100
Symptom
DiscordAPIError[40060]: Interaction has already been acknowledgedInteractionAlreadyReplied error from a second interaction.reply()Command handler works alone but fails when a global handler also defers
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 });
Affected
Discord interactions; discord.js 13 and 14
Sources

Last verified 2026-10-15 · Confirmed by 0 builders

Related traps

Have your agent know this before it fails

$ /plugin marketplace add getfootgun/footgun
$ /plugin install footgun@footgun