Information on how NowSMS handles different SMPP errors can be found at the following link: http://www.nowsms.com/smpp-error-code-handling-in-nowsms
This article is a reference for SMPP error codes.
|
ESME_RINVMSGLEN |
1 |
Invalid Message Length (sm_length parameter) |
|
ESME_RINVCMDLEN |
2 |
Invalid Command Length (command_length in SMPP PDU) |
|
ESME_RINVCMDID |
3 |
Invalid Command ID (command_id in SMPP PDU) |
|
ESME_RINVBNDSTS |
4 |
Incorrect BIND status for given command (example: trying to submit a message when bound only as a receiver) |
|
ESME_RALYBND |
5 |
ESME already in bound state (example: sending a second bind command during an existing SMPP session) |
|
ESME_RINVPRTFLG |
6 |
Invalid Priority Flag (priority_flag parameter) |
|
ESME_RINVREGDLVFLG |
7 |
Invalid Regstered Delivery Flag (registered_delivery parameter) |
|
ESME_RSYSERR |
8 |
System Error (indicates server problems on the SMPP host) |
|
ESME_RINVSRCADR |
0x0A |
Invalid source address (sender/source address is not valid) |
|
ESME_RINVDSTADR |
0x0B |
Invalid desintation address (recipient/destination phone number is not valid) |
|
ESME_RINVMSGID |
0x0C |
Message ID is invalid (error only relevant to query_sm, replace_sm, cancel_sm commands) |
|
ESME_RBINDFAIL |
0x0D |
Bind failed (login/bind failed – invalid login credentials or login restricted by IP address) |
|
ESME_RINVPASWD |
0x0E |
Invalid password (login/bind failed) |
|
ESME_RINVSYSID |
0x0F |
Invalid System ID (login/bind failed – invalid username / system id) |
|
ESME_RCANCELFAIL |
0×11 |
cancel_sm request failed |
|
ESME_RREPLACEFAIL |
0×13 |
replace_sm request failed |
|
ESME_RMSGQFUL |
0×14 |
Message Queue Full (This can indicate that the SMPP server has too many queued messages and temporarily cannot accept any more messages. It can also indicate that the SMPP server has too many messages pending for the specified recipient and will not accept any more messages for this recipient until it is able to deliver messages that are already in the queue to this recipient.) |
|
ESME_RINVSERTYP |
0×15 |
Invalid service_type value |
|
ESME_RINVNUMDESTS |
0×33 |
Invalid number_of_dests value in submit_multi request |
|
ESME_RINVDLNAME |
0×34 |
Invalid distribution list name in submit_multi request |
|
ESME_RINVDESTFLAG |
0×40 |
Invalid dest_flag in submit_multi request |
|
ESME_RINVSUBREP |
0×42 |
Invalid ‘submit with replace’ request (replace_if_present flag set) |
|
ESME_RINVESMCLASS |
0×43 |
Invalid esm_class field data |
|
ESME_RCNTSUBDL |
0×44 |
Cannot submit to distribution list (submit_multi request) |
|
ESME_RSUBMITFAIL |
0×45 |
Submit message failed |
|
ESME_RINVSRCTON |
0×48 |
Invalid Source address TON |
|
ESME_RINVSRCNPI |
0×49 |
Invalid Source address NPI |
|
ESME_RINVDSTTON |
0×50 |
Invalid Destination address TON |
|
ESME_RINVDSTNPI |
0×51 |
Invalid Destination address NPI |
|
ESME_RINVSYSTYP |
0×53 |
Invalid system_type field |
|
ESME_RINVREPFLAG |
0×54 |
Invalid replace_if_present flag |
|
ESME_RINVNUMMSGS |
0×55 |
Invalid number_of_messages parameter |
|
ESME_RTHROTTLED |
0×58 |
Throttling error (This indicates that you are submitting messages at a rate that is faster than the provider allows) |
|
ESME_RINVSCHED |
0×61 |
Invalid schedule_delivery_time parameter |
|
ESME_RINVEXPIRY |
0×62 |
Invalid validity_period parameter / Expiry time |
|
ESME_RINVDFTMSGID |
0×63 |
Invalid sm_default_msg_id parameter (this error can sometimes occur if the “Default Sender Address” field is blank in NowSMS) |
|
ESME_RX_T_APPN |
0×64 |
ESME Receiver Temporary App Error Code |
|
ESME_RX_P_APPN |
0×65 |
ESME Receiver Permanent App Error Code (the SMPP provider is rejecting the message due to a policy decision or message filter) |
|
ESME_RX_R_APPN |
0×66 |
ESME Receiver Reject Message Error Code (the SMPP provider is rejecting the message due to a policy decision or message filter) |
|
ESME_RQUERYFAIL |
0×67 |
query_sm request failed |
|
ESME_RINVOPTPARSTREAM |
0xC0 |
Error in the optional TLV parameter encoding |
|
ESME_ROPTPARNOTALLWD |
0xC1 |
An optional TLV parameter was specified which is not allowed |
|
ESME_RINVPARLEN |
0xC2 |
An optional TLV parameter has an invalid parameter length |
|
ESME_RMISSINGOPTPARAM |
0xC3 |
An expected optional TLV parameter is missing |
|
ESME_RINVOPTPARAMVAL |
0xC4 |
An optional TLV parameter is encoded with an invalid value |
|
ESME_RDELIVERYFAILURE |
0xFE |
Generice Message Delivery failure |
|
ESME_RUNKNOWNERR |
0xFF |
An unknown error occurred (indicates server problems on the SMPP host) |
Error codes between 0×400 and 0x4FF are SMPP provider specific, and it is necessary to consult system documentation for the provider for more details.
For additional information, archived versions of the SMPP specification can be found at the following link: http://www.nowsms.com/smpp-3-4-protocol-specification-archive
Related pages:
- SMPP Error Code Handling in NowSMS This should probably be in a FAQ somewhere, so I share it here … The default SMPP error code handling...
- SMPP Connection Types – Sender, Receiver, Transceiver When making a connection to an SMPP server, there are three different types of connections that can be supported. A...
- TON and NPI Settings for SMPP and UCP/EMI One of the most confusing issues involved in setting up an SMSC connection is when your SMS service provider requires...
- GSM Modem CMS Error Code List When sending and/or receiving SMS messages with a GSM modem, if an error occurs, the modem will report a “+CMS...
- SMPP Information and Resources SMPP (Short Message Peer-to-Peer) Protocol is an industry standard protocol that is used for exchanging SMS messages between peer entities....
- SMPP SMSC The gateway supports the SMPP (Short Message Peer to Peer) protocol, version 3.3 or 3.4, to connect to an SMSC...
- mBlox and NowSMS: Premium Rate SMS and OPPC Here at NowSMS, we make it a point not to endorse any particular SMS service provider. The fact of that...
- SMPP 3.4 Protocol Specification Archive For archive purposes, I’m posting a copy of the SMPP 3.4 Specification here. The SMS standards organization that created the...
- SMS Retry Error Handling with UCP/EMI and CIMD There’s a great post that discusses how NowSMS handles message retries in SMPP environments at the following link: http://www.nowsms.com/smpp-error-code-handling-in-nowsms However,...
- MMSC Routing – EAIF Below is shown the configuration for an “MMSC Routing” using an EAIF connection to another MMSC: “Account name” and “Account...
Topic Category: SMPP, SMPP errors
For comments and further discussion, please click here to visit the NowSMS Technical Forums (Discussion Board)...

Click here to download a free trial version of NowSMS & MMS Gateway, NowSMS Lite or NowWAP Gateway.
Learn more about NowSMS Lite.