Discord · api · fg-0451

Discord slash command shows The application did not respond and the bot logs Unknown interaction

If you see The application did not respond, the cause and the fix for Discord are below, last verified 2026-10-15.

Verified Oct 2026trust 50/100
Symptom
The application did not respondDiscordAPIError[10062]: Unknown interaction404 Unknown interaction from discord.py interaction.response.send_message
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);
Affected
Discord interactions, all libraries, as of 2026-10
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