Discord · api · fg-0451
Discord slash command shows The application did not respond and the bot logs Unknown interaction
The application did not respond
Verified 2026-10-15 · Confirmed by 0 builders · Trust 50/100
Cause
The first response to an interaction must reach Discord within 3 seconds or the interaction token stops working. Any database or HTTP call before replying can push it past the window.
Fix
Defer as the very first awaited call, do the work, then edit the reply. The token stays valid for 15 minutes for edits and followups.
Apply
await interaction.deferReply(); const result = await slowWork(); await interaction.editReply(result);
Affects: Discord interactions, all libraries, as of 2026-10
Sources
- https://docs.discord.com/developers/interactions/receiving-and-responding
- https://docs.discord.com/developers/topics/opcodes-and-status-codes
- https://github.com/discordjs/discord.js/issues/7005
- https://github.com/Rapptz/discord.py/issues/9331
Have your agent know this before it fails
claude mcp add --transport http footgun https://getfootgun.com/api/mcp