Return codes 

The SMPP protocol supports the following high level error codes to cover all carriers.

 

 

The SMS Server software maps the above generic return codes as follows :

  1. Expired, Deleted, Undeliverable, Unknown, Rejected to a return code 2 Undeliverable.
  2. Delivered to return code 3 Delivered.
  3. Enroute is dropped.
  4. Some additional return codes are also returned by the sms platform when validation of outbound messages fail like return code 11 Recipient Number invalid. See that list below :

 

0='Network Error not available';

1='Message Failed Email Protective Marking Tests.';

2='Invalid Recipient Mobile Number.';

3='No SMS Recipients found in message.';

4='Message failed Business Logic.';

5='Message length is determined as %1 which is greater than the configured maximum of %2 for this application.';

6='Message & Potential Disclaimer will not fit into two SMS Messages.';

7='Sender Domain Defaults restricts Users in this Domain %1 from Sending.';

8='Sender Domain Defaults restricts Contacts in this Domain %1 from Sending.';

9='Domain %1 not authorised to send SMS messages.';

10='Check the donotsendbefore and donotsendafter details in Business Application table or User Keyword pair,minimum window is one hour.';

11='Recipient SMS Number is invalid.';

12='SMS Message is empty.';

13='SMS Message failed to send because it was attempted in the last 24 hour window. No further duplicate warnings will be sent regarding this message.';

14='SMS Message contains un-supported characters : %1';

15='An identitical message to the same recipient was queued in the last 24 hour window at %1.It is being processed by the gateway.No further duplicate warnings will be sent.';

16='The translated SMS Email Protective Marking Classification is greater than 30 characters. Please refer to Administrator to reconfigure.';

17='The translated SMS Email Protective Marking Classification is blank or not configured. Please refer to Administrator to reconfigure.';

18='Recipient SMS Number length is not within defined limits, Please refer to Administrator to reconfigure.';

19='SMPP Timeout to Carrier.';

20='The Main_App_Sender_Email value %1 is not defined in the Business Application Table.Please refer to Administrator to reconfigure.';

21='The Main_App_Receiver_Destination value %1 is not in the required format for this message type, expecting cell number.';

22='Unable to determine an SMS Server from the Main_App_Receiver_Destination value %1 to assign this message.Please check the value or contact Administrator.';

23='Requested High priority is not allowed because the application configured with a maximum priority of %1.';

24='Main_DoNotSendBefore: %1 and Main_DoNotSendAfter: %2 values in Business Application table or request need checking, minimum window is one hour';

25='Main_App_Protective_Marking: %1 value has not passed EPM verification.';

26='Main_App_Message_Type: %1 is not a supported application.';

 

BNS Enterprise SMS Server software version 2.x returns extended network error information via the SQL and smtp interfaces. 

 

Contact BNS Support for the latest supported error codes information for each supported SMS Service Provider. 

Create your own Knowledge Base