# 21654: ContentSid Required

Log Type: APPLICATION

Log Level: ERROR

## Description

Provide `ContentSid` whenever your request includes `ContentVariables`. `ContentSid` identifies the Content Template to send, and `ContentVariables` supplies substitution values for that template's placeholders.

### Possible causes

* Your request included `ContentVariables` but did not include `ContentSid`.
* Your application attempted to send a Content Template and only passed variable values.
* Your request builder or helper library did not include `ContentSid` in the final API request.
* You are trying to use `ContentVariables` with content that is not being sent as a Content Template.

### Possible solutions

* Add `ContentSid` to the send request whenever you include `ContentVariables`.
* Use the `HX` SID for the Content Template you want to send.
* If you are not sending a Content Template, remove `ContentVariables` and send your message with `Body` or `MediaUrl` instead.
* Verify that the template was created with the Content Template Builder or Content API. Only Content Templates can be sent with `ContentSid` and `ContentVariables`.
* If your current helper library does not support `ContentSid`, update it and confirm the parameter is being sent in the request.

#### Additional resources

* [Send templates created with the Content Template Builder](/docs/content/send-templates-created-with-the-content-template-builder)
* [Content API public endpoints](/docs/content/content-api-resources)
* [FAQs and troubleshooting for Content Templates](/docs/content/faqs-and-troubleshooting)
