Skip to main content

Command Status Codes

The following Command Status Codes are taken from the SMPP 3.4 specification and may appear in smpp logs or the paniclog.

Error CodeHex ValueDescriptionFailure Type
ESME_ROK0x00000000No ErrorNA
ESME_RINVMSGLEN0x00000001Message Length is invalidPermanent
ESME_RINVCMDLEN0x00000002Command Length is invalidPermanent
ESME_RINVCMDID0x00000003Invalid Command IDPermanent
ESME_RINVBNDSTS0x00000004Incorrect BIND Status for given commandPermanent
ESME_RALYBND0x00000005ESME Already in Bound StatePermanent
ESME_RINVPRTFLG0x00000006Invalid Priority FlagPermanent
ESME_RINVREGDLVFLG0x00000007Invalid Registered Delivery FlagPermanent
ESME_RSYSERR0x00000008System ErrorTemporary
Reserved0x00000009ReservedPermanent
ESME_RINVSRCADR0x0000000AInvalid Source AddressPermanent
ESME_RINVDSTADR0x0000000BInvalid Dest AddrPermanent
ESME_RINVMSGID0x0000000CMessage ID is invalidPermanent
ESME_RBINDFAIL0x0000000DBind FailedPermanent
ESME_RINVPASWD0x0000000EInvalid PasswordPermanent
ESME_RINVSYSID0x0000000FInvalid System IDPermanent
Reserved0x00000010ReservedPermanent
ESME_RCANCELFAIL0x00000011Cancel SM FailedPermanent
Reserved0x00000012ReservedPermanent
ESME_RREPLACEFAIL0x00000013Replace SM FailedPermanent
ESME_RMSGQFUL0x00000014Message Queue FullTemporary
ESME_RINVSERTYP0x00000015Invalid Service TypePermanent
Reserved0x00000016-0x00000032ReservedPermanent
ESME_RINVNUMDESTS0x00000033Invalid number of destinationsPermanent
ESME_RINVDLNAME0x00000034Invalid Distribution List namePermanent
Reserved0x00000035-0x0000003FReservedPermanent
ESME_RINVDESTFLAG0x00000040Destination flag is invalid (submit_multi)Permanent
Reserved0x00000041ReservedPermanent
ESME_RINVSUBREP0x00000042Invalid "submit with replace" request (i.e. submit_sm with replace_if_present_flag set)Permanent
ESME_RINVESMCLASS0x00000043Invalid esm_class field dataPermanent
ESME_RCNTSUBDL0x00000044Cannot Submit to Distribution ListPermanent
ESME_RSUBMITFAIL0x00000045submit_sm or submit_multi failedTemporary
Reserved0x00000046-0x00000047ReservedPermanent
ESME_RINVSRCTON0x00000048Invalid Source address TONPermanent
ESME_RINVSRCNPI0x00000049Invalid Source address NPIPermanent
ESME_RINVDSTTON0x00000050Invalid Destination address TONPermanent
ESME_RINVDSTNPI0x00000051Invalid Destination address NPIPermanent
Reserved0x00000052ReservedPermanent
ESME_RINVSYSTYP0x00000053Invalid system_type fieldPermanent
ESME_RINVREPFLAG0x00000054Invalid replace_if_present flagPermanent
ESME_RINVNUMMSGS0x00000055Invalid number of messagesPermanent
Reserved0x00000056-0x00000057ReservedPermanent
ESME_RTHROTTLED0x00000058Throttling error (ESME has exceeded allowed message limits)Temporary
Reserved0x00000059-0x00000060ReservedPermanent
ESME_RINVSCHED0x00000061Invalid Scheduled Delivery TimePermanent
ESME_RINVEXPIRY0x00000062Invalid message validity period (Expiry time)Permanent
ESME_RINVDFTMSGID0x00000063Predefined Message Invalid or Not FoundPermanent
ESME_RX_T_APPN0x00000064ESME Receiver Temporary App Error CodeTemporary
ESME_RX_P_APPN0x00000065ESME Receiver Permanent App Error CodePermanent
ESME_RX_R_APPN0x00000066ESME Receiver Reject Message Error CodePermanent
ESME_RQUERYFAIL0x00000067query_sm request failedPermanent
Reserved0x00000068-0x000000BFReservedPermanent
ESME_RINVOPTPARSTREAM0x000000C0Error in the optional part of the PDU Body.Permanent
ESME_ROPTPARNOTALLWD0x000000C1Optional Parameter not allowedPermanent
ESME_RINVPARLEN0x000000C2Invalid Parameter Length.Permanent
ESME_RMISSINGOPTPARAM0x000000C3Expected Optional Parameter missingPermanent
ESME_RINVOPTPARAMVAL0x000000C4Invalid Optional Parameter ValuePermanent
Reserved0x000000C5-0x000000FDReservedPermanent
ESME_RDELIVERYFAILURE0x000000FEDelivery Failure (used for data_sm_resp)Permanent
ESME_RUNKNOWNERR0x000000FFUnknown ErrorPermanent
Reserved for SMPP extension0x00000100-0x000003FFReserved for SMPP extensionPermanent
Reserved for SMSC vendor specific errors0x00000400-0x000004FFReserved for SMSC vendor specific errorsPermanent
Reserved0x00000500-0xFFFFFFFFReservedPermanent
Was this page helpful?