Discord · api · fg-0448
Discord rejects a message with several embeds even though each embed is under its own limits
400 Bad Request with DiscordAPIError[50035]: Invalid Form Body on a multi-embed message
Verified 2026-10-15 · Confirmed by 0 builders · Trust 50/100
Cause
Besides per-field caps (title 256, description 4096, 25 fields, field value 1024), the title, description, field names and values, footer and author text across all embeds in one message must total 6000 characters or less. Up to 10 embeds fit in one message.
Fix
Sum the text of every embed before sending and spill over into another message when the total passes 6000.
Apply
const len = e => (e.title?.length ?? 0) + (e.description?.length ?? 0) + (e.footer?.text?.length ?? 0) + (e.author?.name?.length ?? 0) + (e.fields ?? []).reduce((n, f) => n + f.name.length + f.value.length, 0);
if (embeds.reduce((n, e) => n + len(e), 0) > 6000) { /* split across messages */ }Affects: Discord API v10 messages and webhooks, as of 2026-10
Sources
- https://docs.discord.com/developers/resources/message
- https://github.com/discord/discord-api-docs/issues/1173
Have your agent know this before it fails
claude mcp add --transport http footgun https://getfootgun.com/api/mcp