Discord · api · fg-0452

Discord webhook call returns 204 with no body so the message ID is never available

If you see 204 No Content from POST /webhooks/{id}/{token}, the cause and the fix for Discord are below, last verified 2026-10-15.

Verified Oct 2026trust 50/100
Symptom
204 No Content from POST /webhooks/{id}/{token}Response body is empty and there is no message ID to edit laterA failed save returns success with nothing posted
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"}'
Affected
Discord API v10 Execute Webhook, 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