---
title: "message_too_long: what it means and how to fix it · Hypamoon"
description: "HTTP 422. The text is more than six SMS segments. segments says how many it would be and encoding which character set it needs."
url: https://hypamoon.com/docs/errors/message_too_long
---

**Start for free.** [Sign up](https://app.hypamoon.com/?mode=signup&utm_source=docs&utm_campaign=banner) without a card and connect your chat, or create a test key for the API. Going live with something real asks for a quick check of your company first.

[Errors](https://hypamoon.com/docs/errors)

# message\_too\_long

**Status**\
422

**Type**\
`https://hypamoon.com/docs/errors/message_too_long`

The text is more than six SMS segments. `segments` says how many it would be and `encoding` which character set it needs. In plain text (`gsm7`) a segment holds 153 characters once a message is split; one emoji or other character outside GSM-7 switches the whole message to `ucs2`, where a segment holds 67. Shorten the text, remove the emoji, or send a link to the details.

Hypamoon is the infrastructure your chat or agent builds on for a business. Hypamoon API, version 1.[hypamoon.com](https://hypamoon.com/)
