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

92006: The Content Sid is Invalid

Twilio Messaging DocumentationMessaging
Twilio Content DocumentationContent

Description

description page anchor

This error occurs when you send a Message request with a ContentSid value that is not recognized as a valid Content Template SID. Use a valid 34-character SID with an HX prefix, and retrieve it from the Content Template Builder in Console or from the response when you create or fetch a template with the Content API.

Possible causes

possible-causes page anchor
  • The ContentSid value does not match the required SID format and does not start with HX.
  • The ContentSid contains a typo or refers to a template SID that does not exist.
  • The template was deleted from your account.
  • The template belongs to a different Twilio account than the account sending the message.
  • You used an identifier from a WhatsApp template workflow that is not a Content Template SID. Only Content Templates can be sent with ContentSid and ContentVariables.
  • Copy the ContentSid directly from the Content Template Builder in Console or from the Content API response instead of entering it manually.
  • Verify that the SID is 34 characters long and matches the ^HX[0-9a-fA-F]{32}$ pattern.
  • Fetch or list your content templates to confirm that the template exists, has not been deleted, and belongs to the same account that is sending the message.
  • Replace the invalid or deleted template SID with an active Content Template SID and send the request again.
  • If you are sending WhatsApp templates, use a Content Template SID with ContentSid instead of a template identifier from the WhatsApp Templates console flow.

Additional resources

additional-resources page anchor