- 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