I tried to create a python app which sends a sms notification using twilio. When I try to send a message using the twilio client I get (in the Twilio Debugger):
Error - 30004
Message Delivery - Message blocked
Possible Causes
The destination number you are trying to reach is blocked from receiving this message (ex. due to blacklisting).
I did the steps, got number, got token, what should I do to resolve the error?
It depends from number to number. It could be block as promotional message. I faced this issue while sending SMS to Indian number.
Limitations sending SMS messages to Indian mobile devices
SMS messages entering into India are categorized as “Transactional” or “Promotional” and may result as an "Error - 30004".
By default, all SMS messages sent from Twilio phone numbers are categorized as “Promotional” and are subject to the following limitations:
They cannot be sent to any phone number in India’s Do Not Call Registry
If you’ve been having trouble sending SMS messages to an Indian number, see if that number is registered on the National Do Not Call Registry.
If the owner of the phone number wishes to start receiving SMS messages from Twilio, they can update the DNC settings by following the instructions on this website.
More details : https://support.twilio.com/hc/en-us/articles/223134167-Limitations-sending-SMS-messages-to-Indian-mobile-devices
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With