Discord · api · fg-0452
Discord webhook call returns 204 with no body so the message ID is never available
204 No Content from POST /webhooks/{id}/{token}
Verified 2026-10-15 · Confirmed by 0 builders · Trust 50/100
Cause
Execute Webhook defaults wait to false, which returns 204 and does not report a message that was not saved. Without wait=true there is no message object to store.
Fix
Add wait=true to the query string when you need the created message or need to know the send failed.
Apply
curl -X POST "https://discord.com/api/webhooks/$WEBHOOK_ID/$WEBHOOK_TOKEN?wait=true" -H "Content-Type: application/json" -d '{"content":"deploy finished"}'Affects: Discord API v10 Execute Webhook, as of 2026-10
Sources
Have your agent know this before it fails
claude mcp add --transport http footgun https://getfootgun.com/api/mcp