第三方授权令牌得到的authorizer_access_token再调用数据分析接口报错48001?

小程序 文章 2022-03-01 17:20 1634 0 全屏看文

AI助手支持GPT4.0

第三方授权令牌得到的authorizer_access_token再调用数据分析接口报错48001?The authorizer_access_token obtained from the third-party authorization token then calls the data analysis interface and reports an error of 48001?

第三方授权令牌得到的authorizer_access_token再调用数据分析接口报错48001?

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"}


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自助排查下

peng:小程序是有
 :公众号好像没有那个数据分析的权限集,那是不是就不能用 第三方authorizer_access_token去调用接口了
崔丛丛:

权限不足造成的

 :第三方授权了这些权限,还要什么权限么
崔丛丛:看私信

-EOF-

AI助手支持GPT4.0


国内超级便宜服务器

摸鱼人热门新闻聚合

钻级赞助商 我要加入

开发者在线工具

第三方支付技术请加QQ群

相关文章
页面使用wx:for 循环加载页面列表内容,集合长度1000以上导致页面直接卡死,有什么解决办法?
为什么设置封面图片显示系统繁忙?
uniapp中web-view调用h5异常?
如何修改?
微信开发工具的基础库怎么也改不掉,怎么办?
随便看看
微信支付银行卡交易的限额是多少? 2542
从技术角度优化网站加载过多从而导致网站速度打开过慢的问题 2579
阿里云com、cn域名续费优惠码(2020年2月可用) 2312
将爱某艺的qsv转成flv格式放到老人点播机里 2479
和平精英战术随机应变、城区刚枪、野点发育、找车转移 是什么意思 8491
老爷子收到了057128256416的电话号码 3113
阿里云com、cn域名续费优惠码(2020年3月可用) 2863
线上防疫题库正确答案 2932
线上防疫题库正确答案(多选题) 4826
微信设置不可以使用小程序(游戏小程序) 5636