---
"@context": https://schema.org
"@type": TechArticle
"@id": https://www.twilio.com/docs/api/errors/50541#article
headline: "50541: Content variable value is too long"
url: https://www.twilio.com/docs/api/errors/50541
inLanguage: en
dateModified: 2026-03-11T20:43:38.000Z
author:
  "@type": Organization
  name: Twilio Developer Education Team
publisher:
  "@type": Organization
  name: Twilio
---

# 50541: Content variable value is too long

Log Type: TWILIO

Log Level: ERROR

## Description

Length of value in message content variables is restricted to 256 characters.

### Possible causes

One or many values in key-value pairs of message content variables are hitting limit of allowed 256 characters.

### Possible solutions

Reduce the length of value characters to maximum 256 in message content variables.
