Skip to contentSkip to navigationSkip to topbar
Page toolsOn this pageProducts used
Looking for more inspiration?Visit the

21658: Parameter exceeded character limit


ERROR: 21658

error-21658 page anchor
MESSAGING, CONTENT
ERROR

You receive this error when a Messaging API request includes a parameter value that is longer than the allowed limit. In a Message request, Body can be up to 1,600 characters. When you send a Content template, each variable value can be up to 1,600 characters, though some template fields enforce a lower limit and the variable limit follows that field limit.

Possible causes

possible-causes page anchor
  • Your Body value is longer than 1,600 characters.
  • A value in ContentVariables is longer than the allowed limit for the template field where it is used. Variable values can be up to 1,600 characters, and some fields have lower maximums.
  • Another Messaging request parameter exceeded its maximum character limit.
  • Shorten the parameter that caused the request to fail, then send the request again.
  • If you are sending text in Body, keep it at 1,600 characters or fewer.
  • If you are using ContentSid and ContentVariables, shorten each variable value so it fits the limit for the template field where you use it.

Additional resources

additional-resources page anchor