HTTP Status Code

HTTP Status Code SearchSearch

SMS & MMS Technical Forum » NowSMS Support - SMS Issues (Product Support Only) » Archive through April 16, 2015 » HTTP Status Code « Previous || Next »
Author Message
Mathew Mathachan
New member
Username: Mathewm

Post Number: 48
Registered: 04-2011
Posted on Tuesday, October 14, 2014 - 07:18 am:   

Hi

ver 2013.11.15

HTTP Status code returned when PreAuth=Deny is 503.
HTTP Status code returned for Throttling response is 503.

Is there a way to differentiate these errors as we need (submitting application) to RETRY submission for some error conditions and NOT RETRY for some error conditions.

Is there a documentation on the HTTP status code returned for different error conditions and recommendations on the follow up action for them.

Mathew
Des - NowSMS Support
Board Administrator
Username: Desosms

Post Number: 5080
Registered: 08-2008
Posted on Tuesday, October 14, 2014 - 06:59 pm:   

Hi Mathew,

At present, the only way to differentiate is by parsing the text of the response. The accounting callback can use RejectMessage= in the accounting response to specify this text.

Unfortunately it is not possible to set the HTTP status code like it is the SMPP response code.

I discussed this briefly with one of our engineers and he indicated it could be possible to add this, but it would be easiest to add a setting that mapped SMPP code ESME_RTHROTTLED to a specific HTTP status code. That would take some development effort, but maybe RejectMessage= would work for now?

--
Des
NowSMS Support
Mathew Mathachan
New member
Username: Mathewm

Post Number: 50
Registered: 04-2011
Posted on Wednesday, October 15, 2014 - 09:33 am:   

Thanks Des

Login Login / Register Logout Logout Search Last 30 Days Topics Topics