APEX Messaging
  • Home
  • About
  • Channels
    • SMS
    • WhatsApp
  • Contact
  • Developer Hub
    • Developer Introduction
    • Developer SMS API
    • Developer WhatsApp API
    • Developers Webhooks
    • Developer Error
  • Legal hub
    • Terms & Policies
    • Website Privacy Policy
    • DPA Messaging
    • WhatsApp Service Terms of Use
Login
Get Started

Developer

  • Developer Introduction
  • Developer SMS API
  • Developer WhatsApp API
  • Developers Webhooks
  • Developer Error
  • Contact

Error Codes – All Channels

A consolidated list of error codes returned by APEX Messaging APIs, grouped by channel for consistency and ease of integration.

  • SMS
  • WhatsApp
  • Telegram

Standard SMPP Error Codes

The following table details SMPP command status error codes returned in SMS API responses and delivery receipts, allowing developers to quickly diagnose submission, connectivity, and delivery failures.

Status NameHex ValueDec ValueDescription
ESME_ROK0x000000000No error
ESME_RINVMSGLEN0x000000011Message length is invalid
ESME_RINVCMDLEN0x000000022Command length (PDU length) is invalid
ESME_RINVCMDID0x000000033Invalid command ID
ESME_RINVBNDSTS0x000000044Incorrect bind status for given command
ESME_RALYBND0x000000055ESME already bound
ESME_RINVPRTFLG0x000000066Invalid priority flag
ESME_RINVREGDLVFLG0x000000077Invalid registered delivery flag
ESME_RSYSERR0x000000088MC system error
ESME_RINVSRCADR0x0000000A10Invalid source address
ESME_RINVDSTADR0x0000000B11Invalid destination address
ESME_RINVMSGID0x0000000C12Invalid message ID
ESME_RBINDFAIL0x0000000D13Bind failed
ESME_RINVPASWD0x0000000E14Invalid password field
ESME_RINVSYSID0x0000000F15Invalid system ID
ESME_RCANCELFAIL0x0000001117Cancel SM failed
ESME_RREPLACEFAIL0x0000001319Replace SM failed
ESME_RMSGQFUL0x0000001420Message queue full
ESME_RINVSERTYP0x0000001521Invalid service type
ESME_RINVNUMDESTS0x0000003351Invalid number of destinations
ESME_RINVDLNAME0x0000003452Invalid distribution list name
ESME_RINVDESTFLAG0x0000004064Invalid destination flag
ESME_RINVSUBREP0x0000004266Submit with replace not supported or denied
ESME_RINVESMCLASS0x0000004367Invalid esm_class value
ESME_RCNTSUBDL0x0000004468Cannot submit to distribution list
ESME_RSUBMITFAIL0x0000004569Message submission failed
ESME_RINVSRCTON0x0000004872Invalid source TON
ESME_RINVSRCNPI0x0000004973Invalid source NPI
ESME_RINVDSTTON0x0000005080Invalid destination TON
ESME_RINVDSTNPI0x0000005181Invalid destination NPI
ESME_RINVSYSTYP0x0000005383Invalid system_type
ESME_RINVREPFLAG0x0000005484Invalid replace_if_present flag
ESME_RINVNUMMSGS0x0000005585Invalid number of messages
ESME_RTHROTTLED0x0000005888Throttled (send limit exceeded)
ESME_RINVSCHED0x0000006197Invalid scheduled delivery time
ESME_RINVEXPIRY0x0000006298Invalid message expiry
ESME_RINVDFTMSGID0x0000006399Invalid predefined message ID
ESME_RX_T_APPN0x00000064100Receiver temporary application error
ESME_RX_P_APPN0x00000065101Receiver permanent application error
ESME_RX_R_APPN0x00000066102Receiver rejected message
ESME_RQUERYFAIL0x00000067103Query request failed
ESME_RINVTLVSTREAM0x000000C0192Invalid TLV stream
ESME_RTLVNOTALLWD0x000000C1193TLV not allowed
ESME_RINVTLVLEN0x000000C2194Invalid TLV length
ESME_RMISSINGTLV0x000000C3195Mandatory TLV missing
ESME_RINVTLVVAL0x000000C4196Invalid TLV value
ESME_RDELIVERYFAILURE0x000000FE254Transaction delivery failure
ESME_RUNKNOWNERR0x000000FF255Unknown error
ESME_RSERTYPUNAUTH0x00000100256Service type not authorised
ESME_RPROHIBITED0x00000101257Operation prohibited
ESME_RSERTYPUNAVAIL0x00000102258Service type unavailable
ESME_RSERTYPDENIED0x00000103259Service type denied
ESME_RINVDCS0x00000104260Invalid data coding scheme
ESME_RINVSRCADDRSUBUNIT0x00000105261Invalid source address subunit
ESME_RINVDSTADDRSUBUNIT0x00000106262Invalid destination address subunit
ESME_RINVBCASTFREQINT0x00000107263Invalid broadcast frequency interval
ESME_RINVBCASTALIAS_NAME0x00000108264Invalid broadcast alias name
ESME_RINVBCASTAREAFMT0x00000109265Invalid broadcast area format
ESME_RINVNUMBCAST_AREAS0x0000010A266Invalid number of broadcast areas
ESME_RINVBCASTCNTTYPE0x0000010B267Invalid broadcast content type
ESME_RINVBCASTMSGCLASS0x0000010C268Invalid broadcast message class
ESME_RBCASTFAIL0x0000010D269Broadcast operation failed
ESME_RBCASTQUERYFAIL0x0000010E270Broadcast query failed
ESME_RBCASTCANCELFAIL0x0000010F271Broadcast cancel failed
ESME_RINVBCAST_REP0x00000110272Invalid number of repeated broadcasts
ESME_RINVBCASTSRVGRP0x00000111273Invalid broadcast service group
ESME_RINVBCASTCHANIND0x00000112274Invalid broadcast channel indicator
Reserved0x00000400–0x000004FF1024–1279Reserved for vendor-specific errors

WhatsApp Error Codes

The WhatsApp error codes below are those returned by the WhatsApp Business/Cloud API (via Meta). These numeric codes indicate issues such as invalid parameters, rate limits, message delivery problems, template issues, account status restrictions, and other conditions that affect message submission or delivery. Proper handling of these codes in your integration allows for clearer diagnostics and better automated retry or fallback logic.

You’re viewing the first release of our new website.
Further updates and enhancements will be rolling out soon. Feel free to share your feedback via the contact page.

APEX Messaging

© 2025 MCJ GROUP FZCO T/A APEX Messaging. All rights reserved.

  • LinkedIn
  • WhatsApp
  • Facebook
  • Instagram

Products

  • SMS
  • WhatsApp
  • Telegram
  • OTP

Company

  • About
  • Policy

Support

  • Contact
  • Get Started

Dashboard

  • Sign In
  • Get Started