Discord · api · fg-0438

Creating a Discord webhook named after the product fails because the name contains discord

If you see DiscordAPIError[50035]: Invalid Form Body on create webhook, the cause and the fix for Discord are below, last verified 2026-10-15.

Verified Oct 2026trust 50/100
Symptom
DiscordAPIError[50035]: Invalid Form Body on create webhookWebhook named Discord Alerts or Clyde Bot is rejectedSame request works with a different name
Cause
Webhook names may not contain the substrings discord or clyde in any letter case. The rule is listed under Create Webhook, not under the username override on Execute Webhook.
Fix
Pick a name without those substrings and validate user-supplied names before calling the API.
Apply
if (/discord|clyde/i.test(name)) name = name.replace(/discord|clyde/gi, "").trim() || "Alerts";
Affected
Discord API v10 Create 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