HTTP Status Code | Search |
NowSMS Support Forums ⬆ NowSMS Support - SMS Issues ⬆ Archive through April 16, 2015 ⬆ |
◄ ► |
Author | Message | |||
Mathew Mathachan New member Username: Mathewm Post Number: 48 Registered: 04-2011 |
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 |
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 |
Thanks Des |