- Symptom
- 400 Bad Request with DiscordAPIError[50035]: Invalid Form Body on a multi-embed messageSame embeds send fine one per messageReport embed with 25 long fields fails while short ones work
- 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 */ }- Affected
- Discord API v10 messages and webhooks, as of 2026-10
- Sources
Last verified 2026-10-15 · Confirmed by 0 builders