华为云短信提示api错误代码 E000510 E200028 如下:
应该为${1} 是花括号不是括号。
其他错误参考下这个文档 https://support.huaweicloud.com/msgsms_faq/sms_faq_0156.html
Array ( [http] => Array ( [method] => POST [header] => Array ( [0] => Content-Type: application/json [1] => Authorization: WSSE realm="SDP",profile="UsernameToken",type="Appkey" [2] => X-WSSE: UsernameToken Username="07yxhC5lKPrxllq4l3dRSynURlUQ", PasswordDigest="MzA4MjZhZjc4NTZjMjYxN2JiY2ZhMzY1YjdjZWEwZWNlOTU3Y2RiNWNmZTFmNzVjZWY2MDcxYjUwOTRjMTk4NA==", Nonce="5ffba3c224812",Created="2021-01-11T09:02:58Z" ) [content] => {"from":"8820123126602","statusCallback":"" ,"smsContent":[{"to":["+8613681478888"],"templateId":"d09f081eeaa44cc89fc4f51cc9dd8973","templateParas":["345678"], "signature":"\u534e\u79d1\u5b75\u5316"}]} [ignore_errors] => 1 ) [ssl] => Array ( [verify_peer] => [verify_peer_name] => ) ) {"result":[{"originTo":"+8613681478888","createTime":"2021-01-11T01:03:13Z" ,"from":"8820123126602","smsMsgId":"23b071fe-0143-448d-9293-dbce6501f97d_144150954", "status":"E200028"}],"code":"E000510","description":"The SMS fails to be sent. For details, see status."}
应该为${1} 是花括号不是括号。
其他错误参考下这个文档 https://support.huaweicloud.com/msgsms_faq/sms_faq_0156.html
继续阅读与本文标签相同的文章
上一篇 :
华为云短信发送短信状态回调php代码
-
阿里云Linux服务器动态扩容(阿里云服务器扩容后磁盘空间无变化解决方法)
2020-11-30栏目: 建站教程
-
6个SEM实战技巧,大神手把手教你做推广!
2020-07-20栏目: SEM
-
苏州美食推荐,持续更新
2020-06-17栏目: 生活笔记
-
企业如何玩转视频号
2020-05-12栏目: 运营杂谈
-
SEO关键词排名该掌握的核心优化技巧
2020-05-12栏目: SEO
打印
分享
发表评论 已发布 0 条