Clickatell HTTP API 发送消息失败并出现路由错误(状态 9)

Clickatell HTTP API send message fails with Routing Error (Status 9)

我最近将试用帐户转换为付费入门包,并且由于我分配了一个长号码,我尝试通过 HTTP API 发送消息失败,并在消息报告控制台:

尝试路由邮件时出错

路由错误(状态 9)

我已确认我的用户名、密码和 api id 输入正确,并且长号已与活动 API 匹配。我试过 API 管理控制台提供的 "Valid Sample Code",结果都是一样的。如果这对 Clickatell 团队的任何人都有帮助,下面是一些失败的消息 ID。

6d7868662782cfd7d1708996bca066b1 4f837467ed535521ef39d9d885f121f9 2be08f4663a3d9d7cf2e5b9e9cad2d5f

值得一提的是,我的试用帐户运行良好且符合预期,因此我相当确定这不是我的(明显的)用户错误。我也在几个小时前升级了;我不确定帐户激活和功能服务之间是否有等待期。感谢您对此的任何帮助。

您是否尝试过设置 mo=1 并使用您的长号码作为发件人 ID from=123456789?

无论如何,我遇到了一个与 REST 非常相似的问题 API。它还需要包含未记录的 "mo=1" 和 "from=[your long number]" 字段。

此外,在常见问题解答中,他们有 "MO=1" 但实际上,它必须是小写。

来自 OP:

Clickatell support responded with the following advice that resolved my problem. I also changed the password on my API key during the process which seemed to be part of the issue.

http://api.clickatell.com/http/sendmsg?api_id=xxxx&user=xxxx&from=13055140341&mo=1&password=xxxx&to=xxxx&text=xxxx

"from" is your long number, and because I'm using 2 way messaging , mo=1 needed to be set also. It would have been helpful if this were in the exemplary code provided on the api info and help section, but alas, I had to go through support to get my answer. It took about 2 business days for the response, but they were helpful

确保您没有在短信中添加任何编程符号。我有一个感叹号,它给了我状态 9 错误。

http://api.clickatell.com/http/sendmsg?api_id=xxxx&user=xxxx&from=13055140341&mo=1&password=xxxx&to=xxxx&text=xxxx