Python Twilio Message blocked (Error - 30004)

给你一囗甜甜゛ 提交于 2019-12-10 14:58:11

问题


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?


回答1:


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



来源:https://stackoverflow.com/questions/46255734/python-twilio-message-blocked-error-30004

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!