ESME_RBCASTCANCELFAIL in SMPP

What is ESME_RBCASTCANCELFAIL?

ESME_RBCASTCANCELFAIL (Error Code: 0x0000010E) indicates that the cancellation of a broadcast message has failed. This may be due to an invalid message ID, lack of permissions, or an internal SMSC issue.

Possible Causes

  • The provided broadcast message ID is invalid or does not exist.
  • The broadcast message has already been delivered and cannot be canceled.
  • The ESME does not have permission to cancel broadcast messages.
  • An internal SMSC error occurred during the cancellation process.

When Does It Happen?

This error occurs when an ESME sends a cancel_broadcast_sm request to the SMSC, but the SMSC is unable to process the cancellation.

Example SMPP PDU Transaction

Request PDU (cancel_broadcast_sm) Sent by ESME

0000001E (Length)
00000113 (Command ID for cancel_broadcast_sm)
00000000 (Command Status)
00000009 (Sequence Number)
00 (Message ID - Empty)
31323334 00 (Source Address: "1234")

Response PDU (cancel_broadcast_sm_resp) Indicating ESME_RBCASTCANCELFAIL

00000010 (Length)
80000113 (Command ID for cancel_broadcast_sm_resp)
0000010E (Command Status - ESME_RBCASTCANCELFAIL)
00000009 (Sequence Number)

How to Solve It?

  • Ensure the broadcast message ID is correct and exists in the SMSC.
  • Verify that the broadcast message has not already been delivered.
  • Check that your ESME account has the necessary permissions to cancel broadcast messages.
  • Review SMSC logs for any internal errors that may have caused the failure.
  • Retry the request with the correct parameters after resolving any issues.

To fix this issue, confirm the validity of the message ID and check for any SMSC restrictions on message cancellation.

More information