问题描述:微信开放平台注册移动应用已获得一次性订阅消息权限及模板ID,按照移动应用一次性订阅消息接入指南,调用API推送订阅模板消息给到授权微信用户时,返回错误消息代码48001。
问题时间:2020-10-27 16:41:00
相关请求消息发送:https://api.weixin.qq.com/cgi-bin/message/template/subscribe?access_token=38_tyDgae85eyUqv6coEwcbcYq-746R-mKSvyY4Um3Q5rQB2uKorU6dcsoB7WoKvul******* (敏感信息,提供部分内容)
请求体中相关的一些数据:{"touser":"oI0ees42jw-XD_-lmcwBWE_m7Oz0","template_id":"-2FAq0ByQCov1_w8M5K_xXRu8-lh9KDwHYgTJHZ8XZ0","url":"https://www.test.url","title":"TITLE","scene":"88","data":{"content":{"value":"关注公众号...","color":"#ff0000"}}}
返回信息:body:{"errcode":48001,"errmsg":"api unauthorized rid: 5f97df38-45404a29-57b43b8c"}
模板消息ID:-2FAq0ByQCov1_w8M5K_xXRu8-lh9KDwHYgTJHZ8XZ0
Appid: wxa1309ab9cc53d6e3
使用的access_token有效且正确!
请问如何解决上述问题? 谢谢!
你好,
详情请参考:https://developers.weixin.qq.com/doc/oplatform/Third-party_Platforms/api/pre_auth_code.html#
https://developers.weixin.qq.com/community/develop/doc/0000622e968c48467faa3d6515b400?highLine=%25E7%25A7%25BB%25E5%258A%25A8%25E7%25A7%25BB%25E5%258A%25A8%2520api%2520unauthorized%2520rid%2520%2520%25E4%25B8%2580%25E6%25AC%25A1%25E6%2580%25A7%25E8%25AE%25A2%25E9%2598%2585
@社区技术运营专员 麻烦官方支持解决下问题?非常感谢