Reputation: 51
I'm using Azure Communication Service to send SMS through a Web API, after the service is called I receive a 202 response, but the message is never received from phone
Upvotes: 2
Views: 980
Reputation: 722
I hit this error and noticed in the Azure portal that my toll-free number had a "Submit verification" link on the SMS column under Phone numbers. Seems there's a whole verification process and it can take up to 5 weeks to approve. I am trying to send SMS notifications from health checks for a single application, not do a commercial SMS campaign, so I am looking into pricing for third party SMS APIs.
From https://learn.microsoft.com/en-us/azure/communication-services/concepts/sms/sms-faq#toll-free-verification: Effective January 31, 2024, the industry’s toll-free aggregator is mandating toll-free verification and will only allow verified numbers to send SMS messages.
Upvotes: 0
Reputation: 3163
Typically, the 202 returned by the service, indicate that your message has been queued to be sent and not delivered. Please review/follow this guide to subscribe to delivery report events and troubleshoot. Once the events are configured, inspect the "deliveryStatus" field of your delivery report to verify delivery success/failure.
Also, please review the limits in sending messages/ref SMS FAQ doc.
Upvotes: 1