SMS Provider Nightmare
A few months ago I was building an app. And of course, the Google Play Store had a 14-day testing policy.
One reviewer reached out in the middle of the night to tell me they couldn't create an account.
I asked for a screenshot.
I saw that the SMS provider was not sending out messages. I got on my laptop and logged into their portal. And, surprise surprise, they had changed the base URL for their API endpoints.
I searched and tried to figure out if they had sent us any message about this. Found none. Not even a single word about this change on their blog or announcement page. I updated the base URL and went to sleep.
The next day I contacted another SMS provider and got a better quote. They have been super reliable since day one.
So, did I just change the SMS provider and call it a day? No. Because I know someday one might fail. Maybe they will inform us. Good for them.
But I don't want to get up in the middle of the night to fix an SMS provider's endpoint.
I simply built a failover system. Whenever a provider fails to send an SMS, the message is handed over to the next provider.
I regularly see a few messages hitting the failover mechanism. Now at least I know I don't have to worry about messages not being delivered.