Twilio error 30044: trial message length exceeded
Updated
30044 (Trial Message Length Exceeded) means you sent from a Twilio Trial account and the message split into more SMS segments than Trial accounts allow. Long text or a single emoji or curly quote (which switches the message to UCS-2) can cause it. Shorten the message, swap special characters, turn on Smart Encoding, or upgrade the account.
What Twilio says it means
Twilio's error reference names 30044 Trial Message Length Exceeded, an application error. You get it when you send from a Trial account and the message is longer than the segment limit Twilio enforces on Trial accounts.
SMS messages longer than 160 GSM-7 characters or 70 UCS-2 characters are split into several segments. Trial accounts are allowed a limited number of segments per message. Twilio's error page doesn't say how many.
Not to be confused with the max-price error: that is 30010 Message price exceeds max price, which Twilio now marks obsolete. The MaxPrice parameter on the Message resource has had no effect since 3 June 2024.
Likely causes
- The
Bodyis long enough to be split into several segments. - The message contains a non-GSM-7 character, which forces UCS-2 encoding and cuts each segment to 70 characters. Emoji, curly quotes (“ ” ’), long dashes (—) and invisible Unicode spaces are the usual culprits.
- You're on a Trial account, which has stricter segment limits than an upgraded one.
A worked example
| Message | Encoding | Fits in one segment? |
|---|---|---|
| 125 plain characters | GSM-7 (160 per segment) | Yes |
| The same 125 characters with one curly apostrophe | UCS-2 (70 per segment) | No, it splits |
| The same, with Smart Encoding on | GSM-7 (the apostrophe is replaced) | Yes |
Twilio's own Smart Encoding docs use this case: a smart quote, a long dash or a Unicode space slipping into a 125-character message makes it two segments. More on segments and what they cost on Twilio SMS pricing.
How to fix it
- Shorten the message so it uses fewer segments while you're on Trial.
- Replace non-GSM-7 characters: straight quotes instead of curly ones, a hyphen instead of a long dash, no emoji. Text pasted from a word processor often carries these.
- Turn on Smart Encoding if you send through a Messaging Service (Content Settings in the service). It swaps certain hidden Unicode characters for GSM equivalents. It doesn't change emoji or languages such as Korean.
- Upgrade the account if you need longer messages or want the other Trial restrictions lifted. See how Twilio bills once you leave Trial.
How to prevent it
Check num_segments on the Message resource when you test, and keep templates to one segment where you can. That also matters after upgrading: Twilio bills SMS per segment, so a stray curly quote can double the cost of every message.
Related codes
- 30010 Message price exceeds max price: obsolete; MaxPrice no longer has an effect.
- 30001 Queue overflow: multi-segment messages also use up a sender's throughput faster.
- 30007 Message filtered: carrier or Twilio spam filtering.
How Switchmast helps
Switchmast's message log shows each failed message with its error explained in plain English, including 30044, so you can see from your phone why a test text from a new Trial account didn't go out, and fix the template before you try again.
Questions
What does Twilio error 30044 mean?
Trial Message Length Exceeded: you sent from a Trial account and the message was longer than the segment limit Twilio enforces on Trial accounts. Long bodies and non-GSM-7 characters both add segments.
How long can a message be on a Twilio trial account?
Twilio says Trial accounts are limited to a smaller number of segments per message than upgraded accounts, but its error page doesn't give the number. A single segment holds 160 GSM-7 characters or 70 UCS-2 characters; keep test messages within one segment to be safe.
Is 30044 about the message price or MaxPrice?
No. The old max-price error was 30010, Message price exceeds max price. Twilio marks 30010 obsolete, and the MaxPrice parameter has had no effect since 3 June 2024.
Does upgrading my Twilio account fix 30044?
Yes. Twilio lists upgrading as the fix if you need to send longer messages or remove Trial messaging restrictions. Upgraded accounts have looser segment limits than Trial accounts.
Sources
All read 27 November 2026.
- Twilio docs: Error 30044, Trial Message Length Exceeded (read 27 Nov 2026)
- Twilio docs: Error 30010, Message price exceeds max price (obsolete) (read 27 Nov 2026)
- Twilio docs: Message resource (MaxPrice obsolete as of 2024-06-03) (read 27 Nov 2026)
- Twilio docs: Messaging Services (Smart Encoding) (read 27 Nov 2026)