授权接入后,调用开放平台获取模板消息接口,返回:{"errcode":61007,"errmsg":"api is unauthorized to component rid: 6361330b-4a201f07-1b6d0146"}
已经检查了,相关权限都已经授权了,并且没有权限冲突;
https://api.weixin.qq.com/cgi-bin/message/wxopen/template/uniform_send?access_token=
公众号appid:wxa61a9e306a68cc86
你好,根据rid {"errcode":61007,"errmsg":"api is unauthorized to component rid: 6361330b-4a201f07-1b6d0146"}核实,第三方平台是代 wx516f07180299e593 小程序 惠巴巴 调用“/cgi-bin/message/wxopen/template/uniform_send”接口,并不是公众号appid:wxa61a9e306a68cc86。
请检查是否使用错token了哈~开发者可自查rid信息https://developers.weixin.qq.com/doc/oplatform/openApi/OpenApiDoc/openapi/getRidInfo.html
[18] 小程序开发与数据分析 权限集授予该第三方wx0c62fb79ed9b39d5
。请完成授权后再进行调用。此外,可以通过该接口https://developers.weixin.qq.com/doc/oplatform/openApi/OpenApiDoc/authorization-management/getAuthorizerInfo.html查询对应的公众号或者小程序是否将权限授给第三方哈。权限集对应的文档请参考https://developers.weixin.qq.com/doc/oplatform/Third-party_Platforms/2.0/product/third_party_authority_instructions.html。以及,后续遇到61007的问题建议可以先按照指引https://developers.weixin.qq.com/doc/oplatform/Third-party_Platforms/2.0/troubleshooting/third_party_authority_instructions_troubleshooting.html进行自助排查