Skip to contentSkip to navigationSkip to topbar
Page tools
Useful for sharing or LLM
Accelerate development with AI

On this pageProducts used
Looking for more inspiration?Visit the
Error
Application error

21619: A Message Body, Media URL or Content SID is required

Twilio Messaging DocumentationMessaging

Description

description page anchor

This error occurs when you create a Message with a Messaging Service and do not provide any message content. Include content in Body, MediaUrl, or ContentSid.

Possible causes

possible-causes page anchor
  • Your request includes MessagingServiceSid but omits Body, MediaUrl, and ContentSid.
  • Your application sends an empty or undefined Body and does not provide MediaUrl or ContentSid.
  • You are trying to send a content template without including ContentSid.
  • Include at least one content parameter in your request: Body, MediaUrl, or ContentSid.
  • If you are sending plain text, pass the text in Body.
  • If you are sending media, include one or more MediaUrl values.
  • If you are sending a template created with the Content Template Builder, include ContentSid. Include ContentVariables when your template contains placeholders.
  • Review your request builder or helper library code to make sure it is not stripping all content fields before the API request is sent.

Additional resources

additional-resources page anchor