{"id":1157,"date":"2026-03-17T06:18:44","date_gmt":"2026-03-17T06:18:44","guid":{"rendered":"https:\/\/onesystemcrm.com\/help\/?post_type=docs&#038;p=1157"},"modified":"2026-03-17T06:18:44","modified_gmt":"2026-03-17T06:18:44","password":"","slug":"workflow-trigger-messaging-error-code-sms","status":"publish","type":"docs","link":"https:\/\/onesystemcrm.com\/help\/Supports\/workflow-trigger-messaging-error-code-sms\/","title":{"rendered":"Workflow Trigger &#8211; Messaging Error Code &#8211; SMS"},"content":{"rendered":"<h2 id=\"Overview\" dir=\"ltr\"><strong>Overview<\/strong><\/h2>\n<p dir=\"ltr\">The &#8220;Messaging Error &#8211; SMS&#8221; trigger allows you to initiate workflows automatically whenever a SMS has resulted in undelivered state and returned one of the below-mentioned error code.<\/p>\n<h2 id=\"Trigger-Name\" dir=\"ltr\"><strong dir=\"ltr\">Trigger Name<\/strong><\/h2>\n<p dir=\"ltr\"><span dir=\"ltr\">Messaging Error &#8211; SMS<\/span><\/p>\n<h2 id=\"Trigger-Description\" dir=\"ltr\"><strong>Trigger Description<\/strong><\/h2>\n<p dir=\"ltr\">This trigger activates a WorkFlow based on the error received for an undelivered message. This can be used for taking relevant measures to clean the contact list eventually improving the delivery rate.<\/p>\n<h2 dir=\"ltr\"><\/h2>\n<h2 id=\"How-to-Configure\" dir=\"ltr\"><strong>How to Configure<\/strong><\/h2>\n<ol>\n<li><strong>Choose a Workflow Trigger:<\/strong>\n<ul>\n<li dir=\"ltr\"><strong>Select &#8220;<span dir=\"ltr\">Messaging Error &#8211; SMS<\/span>&#8221; from the dropdown list.<\/strong><\/li>\n<\/ul>\n<\/li>\n<li><strong>Workflow Trigger Name:<\/strong>\n<ul>\n<li><strong>Provide a descriptive name for the trigger to identify it within your workflow easily.<\/strong><\/li>\n<\/ul>\n<\/li>\n<li>\n<p dir=\"ltr\"><strong>Filters:<\/strong><\/p>\n<ul>\n<li dir=\"ltr\"><strong dir=\"ltr\">You can add filters to narrow down the trigger to specific error codes mentioned below:<\/strong><\/li>\n<\/ul>\n<\/li>\n<\/ol>\n<table class=\"fr-dashed-borders fr-alternate-rows\" dir=\"ltr\" border=\"1\" cellspacing=\"0\" cellpadding=\"0\" data-sheets-baot=\"1\" data-sheets-root=\"1\">\n<colgroup>\n<col width=\"100\" \/>\n<col width=\"100\" \/><\/colgroup>\n<tbody>\n<tr>\n<td class=\"fr-highlighted fr-thick\">Code<\/td>\n<td class=\"fr-highlighted fr-thick\" dir=\"ltr\" colspan=\"2\">Description<\/td>\n<\/tr>\n<tr>\n<td class=\"fr-highlighted fr-thick\">30007<\/td>\n<td class=\"fr-highlighted fr-thick\" colspan=\"2\">Carrier Violation<\/td>\n<\/tr>\n<tr>\n<td class=\"fr-highlighted fr-thick\">30034<\/td>\n<td class=\"fr-highlighted fr-thick\">\n<div>\n<div>A2P Registration Pending on Number<\/div>\n<\/div>\n<\/td>\n<td class=\"fr-highlighted fr-thick\"><\/td>\n<\/tr>\n<tr>\n<td class=\"fr-highlighted fr-thick\">30032<\/td>\n<td class=\"fr-highlighted fr-thick\" colspan=\"2\">\n<div>\n<div>Toll Free Number not Verified<\/div>\n<\/div>\n<\/td>\n<\/tr>\n<tr>\n<td class=\"fr-highlighted fr-thick\">30005<\/td>\n<td class=\"fr-highlighted fr-thick\" colspan=\"2\">\n<div>\n<div>User Inactive\/Number does not exist<\/div>\n<\/div>\n<\/td>\n<\/tr>\n<tr>\n<td class=\"fr-highlighted fr-thick\">30003<\/td>\n<td class=\"fr-highlighted fr-thick\" colspan=\"2\">\n<div>\n<div>Unreachable\/Out of Service Number<\/div>\n<\/div>\n<\/td>\n<\/tr>\n<tr>\n<td class=\"fr-highlighted fr-thick\">30004<\/td>\n<td class=\"fr-highlighted fr-thick\" colspan=\"2\">\n<div>\n<div>Do not want SMS\/DND enabled<\/div>\n<\/div>\n<\/td>\n<\/tr>\n<tr>\n<td class=\"fr-highlighted fr-thick\">30006<\/td>\n<td class=\"fr-highlighted fr-thick\" colspan=\"2\">\n<div>\n<div>Landline\/Incapable to receive SMS<\/div>\n<\/div>\n<\/td>\n<\/tr>\n<tr>\n<td class=\"fr-highlighted fr-thick\">30023<\/td>\n<td class=\"fr-highlighted fr-thick\" colspan=\"2\">\n<div>\n<div>US A2P 10DLC &#8211; Daily Message Cap Reached<\/div>\n<\/div>\n<\/td>\n<\/tr>\n<tr>\n<td class=\"fr-highlighted fr-thick\">21408<\/td>\n<td class=\"fr-highlighted fr-thick\" colspan=\"2\">\n<div>\n<div>Permission to Send SMS Not Enabled for Region<\/div>\n<\/div>\n<\/td>\n<\/tr>\n<tr>\n<td class=\"fr-highlighted fr-thick\">30008<\/td>\n<td class=\"fr-highlighted fr-thick\" colspan=\"2\">Unknown Error<\/td>\n<\/tr>\n<tr>\n<td class=\"fr-highlighted fr-thick\">21606<\/td>\n<td class=\"fr-highlighted fr-thick\" colspan=\"2\">\n<div>\n<div>Invalid &#8216;From&#8217; Phone Number<\/div>\n<\/div>\n<\/td>\n<\/tr>\n<tr>\n<td class=\"fr-highlighted fr-thick\">21211<\/td>\n<td class=\"fr-highlighted fr-thick\" colspan=\"2\">\n<div>\n<div>Invalid &#8216;To&#8217; Phone Number<\/div>\n<\/div>\n<\/td>\n<\/tr>\n<tr>\n<td class=\"fr-highlighted fr-thick\">21614<\/td>\n<td class=\"fr-highlighted fr-thick\" colspan=\"2\">\n<div>\n<div>To&#8217; Number Is Not a Valid Mobile Number<\/div>\n<\/div>\n<\/td>\n<\/tr>\n<tr>\n<td class=\"fr-highlighted fr-thick\">21610<\/td>\n<td class=\"fr-highlighted fr-thick\" colspan=\"2\">\n<div>\n<div>User Replied with STOP (Opted Out)<\/div>\n<\/div>\n<\/td>\n<\/tr>\n<tr>\n<td class=\"fr-highlighted fr-thick\">30011<\/td>\n<td class=\"fr-highlighted fr-thick\" colspan=\"2\">\n<div>\n<div>MMS Not Supported by Recipient Number or Region<\/div>\n<\/div>\n<\/td>\n<\/tr>\n<tr>\n<td class=\"fr-highlighted fr-thick\">30033<\/td>\n<td class=\"fr-highlighted fr-thick\" colspan=\"2\">\n<div>\n<div>A2P Campaign Suspended or Deleted<\/div>\n<\/div>\n<\/td>\n<\/tr>\n<tr>\n<td class=\"fr-highlighted fr-thick\">21661<\/td>\n<td class=\"fr-highlighted fr-thick\" colspan=\"2\">\n<div>\n<div>From&#8217; Number Is Not SMS-Capable<\/div>\n<\/div>\n<\/td>\n<\/tr>\n<tr>\n<td class=\"fr-highlighted fr-thick\">21635<\/td>\n<td class=\"fr-highlighted fr-thick\" colspan=\"2\">\n<div>\n<div>To&#8217; Number Cannot Be a Landline<\/div>\n<\/div>\n<\/td>\n<\/tr>\n<tr>\n<td class=\"fr-highlighted fr-thick\">30037<\/td>\n<td class=\"fr-highlighted fr-thick\" colspan=\"2\">\n<div>\n<div>Outbound Messaging Disabled<\/div>\n<\/div>\n<\/td>\n<\/tr>\n<tr>\n<td class=\"fr-highlighted fr-thick\">30002<\/td>\n<td class=\"fr-highlighted fr-thick\" colspan=\"2\">\n<div>\n<div>Sub-Account Suspended<\/div>\n<\/div>\n<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<h2 dir=\"ltr\"><\/h2>\n<h2 id=\"Example\" dir=\"ltr\"><strong>Example<\/strong><\/h2>\n<p dir=\"ltr\"><strong dir=\"ltr\">Let\u2019s say you are running an SMS campaign to promote a new product, and you want to automatically remove contacts who have a high chance on not getting the messages next time or want to add a tag to re trigger them an SMS after sometime.some time<\/strong><\/p>\n<ol>\n<li><strong>Choose a Workflow Trigger:<\/strong>\n<ul>\n<li><strong>Trigger:\u00a0<span dir=\"ltr\">Messaging Error &#8211; SMS<\/span><\/strong><\/li>\n<\/ul>\n<\/li>\n<li><strong>Workflow Trigger Name:<\/strong>\n<ul>\n<li><strong>Name:\u00a0<span dir=\"ltr\">Messaging Error &#8211; SMS<\/span><\/strong><\/li>\n<\/ul>\n<\/li>\n<li>\n<p dir=\"ltr\"><strong>Filters:<\/strong><\/p>\n<ul>\n<li dir=\"ltr\"><strong>Filter Type: Error Code is\u00a0<\/strong><\/li>\n<li dir=\"ltr\"><strong>Error Name: 30007 &#8211; Carrier Violation<\/strong><br \/>\n<strong dir=\"ltr\"><img decoding=\"async\" class=\"fr-fic fr-dii fw-lightbox-img\" src=\"https:\/\/s3.amazonaws.com\/cdn.freshdesk.com\/data\/helpdesk\/attachments\/production\/155033086504\/original\/iv8aR4ZsYOgRmu7gfYc1HJCccorQpor0dQ.jpeg?1726659711\" width=\"521px;\" height=\"313px;\" data-id=\"155033086504\" data-attachment=\"[object Object]\" data-index=\"0\" \/><\/strong><\/li>\n<\/ul>\n<\/li>\n<li><strong dir=\"ltr\">Further, this can be created into if else if different actions is needed as shown below:<\/strong><br \/>\n<strong dir=\"ltr\">\u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0\u00a0<img decoding=\"async\" class=\"fr-fic fr-dii fw-lightbox-img\" src=\"https:\/\/s3.amazonaws.com\/cdn.freshdesk.com\/data\/helpdesk\/attachments\/production\/155033086528\/original\/vGMb8HREi0nL0poEZYc-KF4Qw_uRJHKyBQ.jpeg?1726659731\" width=\"511px;\" height=\"307px;\" data-id=\"155033086528\" data-attachment=\"[object Object]\" data-index=\"1\" \/><\/strong><\/li>\n<\/ol>\n","protected":false},"excerpt":{"rendered":"<p>Overview The &#8220;Messaging Error &#8211; SMS&#8221; trigger allows you to initiate workflows automatically whenever a SMS has resulted in undelivered [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"closed","template":"","meta":{"site-sidebar-layout":"default","site-content-layout":"","ast-site-content-layout":"default","site-content-style":"default","site-sidebar-style":"default","ast-global-header-display":"","ast-banner-title-visibility":"","ast-main-header-display":"","ast-hfb-above-header-display":"","ast-hfb-below-header-display":"","ast-hfb-mobile-header-display":"","site-post-title":"","ast-breadcrumbs-content":"","ast-featured-img":"","footer-sml-layout":"","ast-disable-related-posts":"","theme-transparent-header-meta":"default","adv-header-id-meta":"","stick-header-meta":"","header-above-stick-meta":"","header-main-stick-meta":"","header-below-stick-meta":"","astra-migrate-meta-layouts":"set","ast-page-background-enabled":"default","ast-page-background-meta":{"desktop":{"background-color":"var(--ast-global-color-5)","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""},"tablet":{"background-color":"","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""},"mobile":{"background-color":"","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""}},"ast-content-background-meta":{"desktop":{"background-color":"var(--ast-global-color-4)","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""},"tablet":{"background-color":"var(--ast-global-color-4)","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""},"mobile":{"background-color":"var(--ast-global-color-4)","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""}},"footnotes":""},"doc_category":[47],"doc_tag":[],"class_list":["post-1157","docs","type-docs","status-publish","hentry","doc_category-workflow-triggers"],"year_month":"2026-07","word_count":320,"total_views":"10","reactions":{"happy":"0","normal":"0","sad":"0"},"author_info":{"name":"usamasaeed219","author_nicename":"usamasaeed219","author_url":"https:\/\/onesystemcrm.com\/help\/author\/usamasaeed219\/"},"doc_category_info":[{"term_name":"Workflow Triggers","term_url":"https:\/\/onesystemcrm.com\/help\/Supports-category\/workflow-triggers\/"}],"doc_tag_info":[],"knowledge_base_info":[],"knowledge_base_slug":[],"_links":{"self":[{"href":"https:\/\/onesystemcrm.com\/help\/wp-json\/wp\/v2\/docs\/1157","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/onesystemcrm.com\/help\/wp-json\/wp\/v2\/docs"}],"about":[{"href":"https:\/\/onesystemcrm.com\/help\/wp-json\/wp\/v2\/types\/docs"}],"author":[{"embeddable":true,"href":"https:\/\/onesystemcrm.com\/help\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/onesystemcrm.com\/help\/wp-json\/wp\/v2\/comments?post=1157"}],"version-history":[{"count":1,"href":"https:\/\/onesystemcrm.com\/help\/wp-json\/wp\/v2\/docs\/1157\/revisions"}],"predecessor-version":[{"id":1158,"href":"https:\/\/onesystemcrm.com\/help\/wp-json\/wp\/v2\/docs\/1157\/revisions\/1158"}],"wp:attachment":[{"href":"https:\/\/onesystemcrm.com\/help\/wp-json\/wp\/v2\/media?parent=1157"}],"wp:term":[{"taxonomy":"doc_category","embeddable":true,"href":"https:\/\/onesystemcrm.com\/help\/wp-json\/wp\/v2\/doc_category?post=1157"},{"taxonomy":"doc_tag","embeddable":true,"href":"https:\/\/onesystemcrm.com\/help\/wp-json\/wp\/v2\/doc_tag?post=1157"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}