ESME_RBCASTQUERYFAIL in SMPP

What is ESME_RBCASTQUERYFAIL?

ESME_RBCASTQUERYFAIL (Error Code: 0x0000010D) indicates that the query for a broadcast message has failed. This could be due to an invalid broadcast message ID, the message not existing, or an internal SMSC issue.

Possible Causes

  • The provided broadcast message ID is invalid or does not exist.
  • The broadcast message has expired or has already been removed from the SMSC.
  • An internal SMSC error occurred while processing the query.
  • The ESME does not have permission to query the broadcast message.

When Does It Happen?

This error occurs when an ESME sends a query_broadcast_sm request to the SMSC and the SMSC fails to retrieve the requested broadcast message details.

Example SMPP PDU Transaction

Request PDU (query_broadcast_sm) Sent by ESME

0000001E (Length)
00000112 (Command ID for query_broadcast_sm)
00000000 (Command Status)
00000008 (Sequence Number)
00 (Message ID - Empty)
31323334 00 (Source Address: "1234")

Response PDU (query_broadcast_sm_resp) Indicating ESME_RBCASTQUERYFAIL

00000010 (Length)
80000112 (Command ID for query_broadcast_sm_resp)
0000010D (Command Status - ESME_RBCASTQUERYFAIL)
00000008 (Sequence Number)

How to Solve It?

  • Ensure the broadcast message ID provided in the query is correct.
  • Verify that the broadcast message still exists in the SMSC.
  • Confirm that your ESME account has the necessary permissions to query broadcast messages.
  • Check SMSC logs for more details on why the query failed.
  • Retry the request with the correct parameters after resolving the issue.

To fix this issue, verify the query parameters and check with the SMSC for any internal issues.

More information