1.先通过第三方授权:获取/刷新接口调用令牌 得到的authorizer_access_token
https://api.weixin.qq.com/cgi-bin/component/api_authorizer_token?component_access_token=COMPONENT_ACCESS_TOKEN
2.再去调数据分析接口(用得到的authorizer_access_token替换ACCESS_TOKEN)
https://api.weixin.qq.com/datacube/getusersummary?access_token=ACCESS_TOKEN
3.报错{"errcode":48001,"errmsg":"api unauthorized rid: 621dd7b0-42a1b517-66417ad1"}
你好,wx41bd6fc0001260f4未认证订阅号,https://developers.weixin.qq.com/doc/offiaccount/Analytics/User_Analysis_Data_Interface.html因此第三方平台也不会有相关权限操作的哈
后续遇到此类问题参考https://developers.weixin.qq.com/doc/oplatform/Third-party_Platforms/2.0/troubleshooting/third_party_authority_instructions_troubleshooting.html自助排查下
看文档中公众号没有这个权限集:https://developers.weixin.qq.com/doc/oplatform/Third-party_Platforms/2.0/product/offical_account_authority.html
权限不足造成的