Verify that message has been sent

Modified on Mon, 02 Aug 2021 09:48 by CM — Categorized as: Uncategorized

Step 1: Make sure that message has been sent

Make sure that the server received your request by checking that xml response has < STATUS >OK< /STATUS >.
<?xml version="1.0"?>
<SESSION>
  <LOGON>OK</LOGON>
  <REASON></REASON>
  <MSGLST>
    <MSG>
      <ID>1</ID>
      <STATUS>OK</STATUS>
      <INFO></INFO>
    </MSG>
    <MSG>
      <ID>2</ID>
      <STATUS>OK</STATUS>
      <INFO></INFO>
    </MSG>
  </MSGLST>
</SESSION>


Step 2: Retry the message?

If you receive FAIL, then the message was rejected for some reason. The < INFO > tag contains the reason why your message was rejected.

Typical reasons are:

MessageDescriptionRetry within a few minutes?
Excessive usage detectedThis means that that phonenumber has received too many similar messages in a short time period No
Quota exceeded!Too many messages sent during the last hour/day/month. Contact support to increase it if neccesaryNo
Client not allowed to send messages on CPA enabled network.You attempt to send a payment message (tariff > 0) without having an account with the correct permissions.No
A valid tariff must be specified.Invalid tariff. Must be between 0 and 500No
Client not allowed to send GAS SMS messages.You attempt to send a payment message (tariff > 0) without having an account with the correct permissions.No
Invalid ServiceCode.Service code does not match spesification for service codesNo
Total monthly premium charge limit to this subscriber has been exceededReceiver has exceeded allowed SMS payment amount per monthNo
Billing platform is unavailableInternal errorYes