Python Twilio 消息被阻止(错误 - 30004) [英] Python Twilio Message blocked (Error - 30004)

查看:31
本文介绍了Python Twilio 消息被阻止(错误 - 30004)的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我尝试创建一个使用 twilio 发送短信通知的 python 应用程序.当我尝试使用 twilio 客户端发送消息时,我得到(在 Twilio 调试器中):

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

进入印度的短信被归类为交易"或促销",可能会导致错误 - 30004".

SMS messages entering into India are categorized as "Transactional" or "Promotional" and may result as an "Error - 30004".

默认情况下,从 Twilio 电话号码发送的所有 SMS 消息都归类为促销",并受到以下限制:

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

如果您在向印度号码发送 SMS 消息时遇到问题,请查看该号码是否已在 国家不呼叫登记处.

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.

如果电话号码的所有者希望开始接收来自 Twilio 的 SMS 消息,他们可以按照说明更新 DNC 设置 在本网站.

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.

更多详情:https://support.twilio.com/hc/en-us/articles/223134167-Limitations-sending-SMS-messages-to-Indian-mobile-devices

这篇关于Python Twilio 消息被阻止(错误 - 30004)的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆