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

21617: The concatenated message body exceeds the 1600 character limit


ERROR: 21617

error-21617 page anchor
MESSAGING
ERROR

You tried to send or receive a Programmable Messaging message whose body is longer than the supported limit. The Body parameter for an outgoing message can be up to 1,600 characters. For SMS, characters outside GSM-7, such as emoji, smart quotes, or other Unicode characters, can use more space than standard GSM characters and cause the message to exceed the limit sooner than expected.

Possible causes

possible-causes page anchor
  • Shorten the message body so the final payload stays within the supported limit.
  • Validate the fully rendered Body in your application before you send the request. Check the final text after template variables, personalization, or concatenation are applied.
  • Review the message for non-GSM-7 characters such as emoji, smart quotes, long dashes, or non-Latin characters. Replace them where possible to reduce encoded length.
  • If you use a Messaging Service for SMS, enable Smart Encoding to replace certain Unicode punctuation with GSM-compatible characters.
  • For long SMS text, consider whether send_as_mms is appropriate for your use case and destination.
  • Keep SMS content concise. For the best deliverability and user experience, keep SMS messages under 320 characters when possible.

Additional resources

additional-resources page anchor