---
page_type: error
code: 21605
message: "21605: Maximum body length is 160 characters (old API endpoint)"
level: ERROR
product: Programmable SMS
---

## Description

## Error - 21605

### Maximum body length is 160 characters

This error is specific to the deprecated /SMS/Messages API endpoint. When using this endpoint, your message body must be 160 characters or less.

You can send messages up to 1600 characters long by using the [/Messages](/docs/sms/api/message#create-a-message-resource) API endpoint.

For more info, please refer to [our FAQ on message size constraints](https://support.twilio.com/hc/en-us/articles/223133347-Size-limitations-of-combining-text-and-images).

### Possible Causes

The SMS body contains too many characters.

### Possible Solutions

Reduce the number of characters in your message body and review our FAQ on message size constraints.