deepakjeena/jsmpp

Negative response 00000062 found

Opened this issue · 2 comments

Hi I'm getting error Negative response 00000062 found for 
session.submitShortMessage.

The error logs as below:

org.jsmpp.extra.NegativeResponseException: Negative response 00000062 found at 
org.jsmpp.session.AbstractSession.validateResponse(AbstractSession.java:215)
        at org.jsmpp.session.AbstractSession.executeSendCommand(AbstractSession.java:271)
        at org.jsmpp.session.SMPPSession.submitShortMessage(SMPPSession.java:320)

The setting is as below:

session.submitShortMessage("", TypeOfNumber.INTERNATIONAL, 
NumberingPlanIndicator.UNKNOWN, "1616", TypeOfNumber.INTERNATIONAL, 
NumberingPlanIndicator.UNKNOWN, msisdn, new ESMClass(), (byte)0, (byte)1,  
timeFormatter.format(new Date()), null, new 
RegisteredDelivery(SMSCDeliveryReceipt.DEFAULT), (byte)0, new 
GeneralDataCoding(false, true, MessageClass.CLASS1, Alphabet.ALPHA_DEFAULT), 
(byte)0, text.getBytes());

May I know what does the error means and how may I overcome this?

Thanks in advance. 


Original issue reported on code.google.com by waniey...@gmail.com on 8 Mar 2012 at 11:37

It tells that validity period incorrect.
In the code you pass the schedule delivery time, but not the validity period.
I think you need to consult this with the telco provider (SMSC Owner).

Original comment by uuda...@gmail.com on 9 Mar 2012 at 6:42

  • Changed state: Accepted
It tells that validity period incorrect.
In the code you pass the schedule delivery time, but not the validity period.
I think you need to consult this with the telco provider (SMSC Owner).

Original comment by uuda...@gmail.com on 9 Mar 2012 at 6:42