Twilio Error 30007: Message Filtered and How to Fix It
Updated
Short answer: Error 30007 means Twilio or a wireless carrier filtered (blocked) your message. Twilio filters messages that break its Messaging Policy or Acceptable Use Policy, such as spam, phishing and fraud, and carriers block messages that break their rules. Find and fix the cause, and if you believe the block was a mistake, send Twilio Support three or more Message SIDs that failed with 30007.
What error 30007 means
Twilio's title for this code is "30007: Message filtered". Its error page says:
"Your message was filtered (blocked) by Twilio or by the carrier. This may be done by Twilio for violating Twilio's Messaging Policy or Acceptable Use Policy, or by a wireless carrier for violating carrier rules or regulations."
Twilio adds that "Examples of messaging that would be blocked by Twilio are spam, phishing, and fraud." Affected messages have the status "undelivered" with error 30007.
The code also appears on toll-free numbers. Twilio's toll-free help article says blocked messages return "Error 30007 (if spam/unwanted on a verified TFPN)" and that blocked messages "are subject to messaging fees."
Common causes
Twilio's error page gives two causes:
- "Your message was identified as spam or unwanted messaging by Twilio's message filtering system"
- "Your message was flagged as objectionable and blocked by a wireless carrier"
Other Twilio pages name specific triggers:
- Public link shorteners. Twilio says links made with shared public shorteners, such as free TinyURL or Bitly links, "will result in higher risk of filtering, with no recourse if filtering does occur."
- Hidden link destinations. "Obfuscated URLs are common in spoofing/phishing attempts, and will be filtered."
- Non-standard opt-out wording. Twilio warns that alternative phrases such as "text 2 to opt out" will result in filtering.
- Unregistered 10DLC numbers. "Registering for A2P 10DLC results in lower message filtering and higher messaging throughput."
- Forbidden categories. Some messaging is not allowed at all, and Twilio notes that "these forbidden use cases are not only related to the content of the message but the business type itself."
How to fix error 30007
- Check your use case against Twilio's policies. Twilio's first suggested fix is: "Ensure your messaging use case complies with Twilio's Messaging Policy and Acceptable Use Policy". Check the forbidden categories as well, since they cover the type of business, not only the words.
- Check consent. Twilio's Messaging Policy says: "Sending messages that market or promote a specific product or service requires prior express written consent from the recipient."
- Name the sender and include opt-out wording. The same policy says every message must clearly identify you as the sender, except follow-ups in an ongoing conversation, and that the first message to a recipient must include "Reply STOP to unsubscribe" or another standard opt-out keyword. Twilio adds that US and Canadian carriers "expect to see opt-out language in every third message or at least once per month if sending fewer than 3 messages per month."
- Fix your links. For shortened links sent to US numbers, Twilio says to "use a dedicated, branded short domain that belongs to your business."
- Ask Twilio to review a block you think is wrong. Twilio asks you to "collect 3 or more examples of Message SIDs that have the 'undelivered' status with error 30007, and then contact our Support team." It says it can "help review your messaging and determine if an error was made, and put you in touch with our Compliance team if needed."
Do not try to get around the filter
Do not change spellings or spread a message across many numbers to get past filtering. Twilio's Messaging Policy prohibits "Intentionally misspelling words or non-standard opt-out phrases created to evade detection and prevention mechanisms". It also prohibits snowshoeing, which it describes as "Spreading similar or identical messages across multiple phone numbers with the intent or effect of evading unwanted messaging detection and prevention mechanisms".
Twilio's US SMS guidelines also list T-Mobile pass-through fees. One is $1,000 if a program or campaign is found using techniques such as snowshoeing. Another, after prior warning, is a $10,000 fee that may be imposed for each unique instance of content that violates the T-Mobile Code of Conduct. Twilio says these content violations include SHAFT (sex, hate, alcohol, firearms, tobacco) content, spam and phishing.
If you send through HighLevel
HighLevel counts 30007 failures against a sub-account under two sets of rules. On November 10, 2026, it announced new rules that are "currently available to a selected group of sub-accounts as part of a phased evaluation". Other sub-accounts keep the old ones.
- Old rules. Filtered messages count toward the delivery error rate. HighLevel lists "High delivery error rate (including carrier filtering such as Error 30007)" among the causes of warnings and restrictions, and says: "Once the error rate hits 10%, the sub-account will be locked for sending text messages for 24 hours."
- New rules. HighLevel tracks the Error 30007 rate on its own, over a rolling 7-day window and only once the sub-account has sent at least 500 SMS in it. "Only messages flagged by downstream providers with error 30007 count toward the carrier filtering rate."
Under the new rules, the Error 30007 rate leads to a warning or a restriction at these levels:
| Sub-account | Warning at | Restriction at |
|---|---|---|
| Young: fewer than 7 days of SMS history | 10% | 50% |
| Mature: 7 days or more | 15% | 25% |
| Mature, within 72 hours after a restriction ends | 15% | 40% |
A restriction pauses Bulk Actions, workflow "Send SMS" actions and Campaigns, for 12 hours the first time. One-to-one messages in Conversations keep working. For the opt-out limits, how long each restriction lasts and how to lift one early, see why GoHighLevel paused your SMS.
How to avoid it next time
- Register your 10DLC numbers and link them to an approved campaign. See Twilio error 30034.
- Text only people who opted in, and keep proof. Twilio's policy requires you "to retain proof of all consents obtained from recipients for as long as needed to meet your legal requirements and at least until a recipient withdraws their consent."
- Put your brand name and STOP wording in your messages, and use links on a domain you own.
- Before you send, paste your messages into Precheckly's free A2P 10DLC sample checker. It flags public link shorteners and messages that do not name the brand, and checks that at least one has an opt-out instruction.
For other failures, see delivery errors 30003, 30005, 30006 and 30008, toll-free verification and error 30032, and the list of A2P 10DLC error codes.
Sources
- 30007: Message filtered, Twilio
- Twilio Messaging Policy, Twilio
- How do I prevent my Twilio messages from being filtered (blocked)?, Twilio
- Sending Shortened Links in Your Messages, Twilio
- Forbidden Message Categories in the US and Canada, Twilio
- Programmable Messaging and A2P 10DLC, Twilio
- Toll-Free Message Verification for US/Canada, Twilio
- SMS guidelines, United States, Twilio
- Track SMS Restriction History, HighLevel
- LC - Phone Messaging Quality Monitoring, HighLevel
- Fewer SMS Restrictions, More Confidence in Messaging, HighLevel changelog
Not legal advice. Carrier rules and provider documentation change, so check the linked sources before you rely on them.