# 35127: 'Messages' Body and ContentVariables cannot be provided together

Log Type: APPLICATION

Log Level: ERROR

## Description

This error occurs when your request sends free-form message text in `Body` and template variable substitutions in `ContentVariables` at the same time. To send a content template, use `ContentSid` and optional `ContentVariables`. Do not include `Body` in the same request.

### Possible causes

* Your request included both `Body` and `ContentVariables`.
* You intended to send a content template, but your request still included `Body` instead of using `ContentSid` for the message content.
* Your application mixes a standard Messaging API send with a content template send in the same request.

### Possible solutions

* If you are sending a standard text or MMS message, remove `ContentVariables` and send the request with `Body` and optional `MediaUrl`.
* If you are sending a content template, remove `Body`, include `ContentSid`, and add `ContentVariables` only when you need to substitute template placeholders.
* If your request includes `ContentVariables`, make sure it is part of a template-based send that uses `ContentSid`.

#### Additional resources

* [Send templates created with the Content Template Builder](/docs/content/send-templates-created-with-the-content-template-builder)
* [Messages resource](/docs/messaging/api/message-resource)
* [Content API Quickstart](/docs/content/create-and-send-your-first-content-api-template)
