SMS Gateway error reporting

gavo4 months ago

Hi all,

I have a prepay SIM in my phone and I forgot to top it up, so SMS messages stopped being sent. I didn't initially notice however, as the API still seemed to be returning response status 200 OK when I connected to it and instructed it to send a SMS. I notice this is also the behavior if I put the phone into flight mode but turn the WiFi back on (so I can connect to the API, but the phone itself is unable to send a SMS).

I was just wondering if it were possible to get a failed status back from the API if it is not able to send the SMS?

Cheers,

Anton Tananaev4 months ago

I'm not actually sure if the system tells us this information. Because sending is asynchronous. You don't get an immediate result.

By the way, it's the wrong forum.

gavo4 months ago

Thanks for the reply - all good, I'll just have to pay closer attention to my prepay account haha