Discord API · error code

Discord error 50159: Voice messages do not support additional content

Permanent - do not retryHTTP 400Validation and request shape

Last verified against Discord Developer Docs - Opcodes and status codes

What Discord returns
Voice messages do not support additional content.

What error 50159 means

You sent a message with the voice message flag set and included something besides the audio. A voice message is the audio attachment and nothing else: no text content, no embeds, no extra attachments, no stickers.

Voice messages are created by setting the IS_VOICE_MESSAGE flag (1 << 13) on the message. Bots that build every outgoing message through a shared helper often add a caption, an embed, or a footer automatically, and the voice message flag then turns that otherwise valid message into 50159.

Requirements for the audio itself are separate codes: exactly one audio attachment is 50160, and the attachment's duration and waveform metadata is 50161.

Adding the text afterward does not work either, since voice messages cannot be edited once sent; that refusal is code 50162.

What it looks like

{
  "message": "Voice messages do not support additional content.",
  "code": 50159
}

Why it happens

  • Text content sent alongside the voice message flag
  • Embed or component added by a shared message builder
  • Second attachment (for example a transcript file) in the same message
  • Sticker IDs included with the voice message

How to fix Discord error 50159

  1. 1Send the voice message with only the flag and the single audio attachment
  2. 2Remove content, embeds and sticker_ids from that request
  3. 3Post any caption or transcript as a separate normal message
  4. 4Retry and confirm the message renders as a voice message
  5. 5If your library has a voice-message helper, use it instead of setting the flag by hand

How to stop it recurring

Build voice messages with a dedicated function that cannot add content, rather than routing them through the general message builder. If users need a transcript, send it as a follow-up message or thread reply. Unit-test that the voice path sends no content field.

Official reference: Discord Developer Docs - Opcodes and status codes. See all Discord error codes or the Discord limits and quotas.

Related codes

Error 50159 - quick answers

What does Discord error 50159 mean?

You sent a message with the voice message flag set and included something besides the audio. A voice message is the audio attachment and nothing else: no text content , no embeds, no extra attachments, no stickers. Voice messages are created by setting the IS_VOICE_MESSAGE flag ( 1 << 13 ) on the message.

How do I fix Discord error 50159?

1. Send the voice message with only the flag and the single audio attachment 2. Remove content, embeds and sticker_ids from that request 3. Post any caption or transcript as a separate normal message 4. Retry and confirm the message renders as a voice message 5. If your library has a voice-message helper, use it instead of setting the flag by hand

Should I retry after error 50159?

No. Retrying the same request produces the same error; the condition has to be fixed first. Treat it as a permanent failure for that message and surface it, rather than looping.

Stop debugging Discord by hand

Connect the channel through Conferbot: tokens, webhooks and retries are handled, failures show as readable status.