# 92006: The Content Sid is Invalid

Log Type: APPLICATION

Log Level: ERROR

## Description

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

* 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`.

### Possible solutions

* 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

* [Messages resource](/docs/messaging/api/message-resource)
* [Content API public endpoints](/docs/content/content-api-resources)
* [FAQs and Troubleshooting](/docs/content/faqs-and-troubleshooting)
