(1)我用第三方平台的accesstoken和appid请求,返回{"errcode":61003,"errmsg":"component is not authorized by this account rid: 693104a7-69defcac-529c3a19"} (2)我用服务商平台的accesstoken和appid请求,也返回{"errcode":61003,"errmsg":"component is not authorized by this account rid: 69310513-2e84308d-6e6840dd"}
https://developers.weixin.qq.com/doc/oplatform/openApi/OpenApiDoc/authorization-management/getAuthorizerInfo.html
api_get_authorizer_info是可以获取到的。
(2)我用服务商平台的accesstoken和appid请求,也返回{"errcode":61003,"errmsg":"component is not authorized by this account rid: 69310513-2e84308d-6e6840dd"}
真不知道要怎么办了,智能回答说的 【账号管理权限】相关权限集 我在权限列表也没找到
(这个token是通过第三方平台的api_component_token接口拿到的component_access_token)
body:{
"component_appid": "wx00efff4af91827eb",
"authorizer_appid": "wx69752cb8957a196b"
}component_appid是第三方平台的appid,
authorizer_appid是小店code用登录验证接口login_auth返回的appid,还是提示
{"errcode":61003,"errmsg":"component is not authorized by this account rid: 69310705-213addca-048a74d9"}
看起来是某个权限集没给,但是不知道这个权限集在哪给
这几个没有也没有推送
我在这个文档里面看到
返回示例:{"errcode":61003,"errmsg":"component is not authorized by this account, rid: xxxx"}
如【小程序登录】接口,当appid尚未授权给component_appid,就会出现61003报错。
服务商应该存一份授权账号信息(可通过调用api_get_authorizer_info接口查询),然后就可以知道调用接口传的appid是否在授权账号列表里
我是因为当appid尚未授权给component_appid,就会出现61003报错。
但是小店是购买了服务,并且点击使用之后给我们的code,我们怎么授权给component_appid呢,没有看到文档说怎么授权这个的
1.服务商平台的AppID:wx80a2d44d280111cb
2. 2025-12-04 11:21:18
3.url:https://api.weixin.qq.com/cgi-bin/component/api_get_authorizer_list?access_token=98_1Qe2BrcW4EyQa19_rUxC442c3jpD46l53oN91tvrIk5ZeReE4EkUX27_Jv8r89L9SoHYRZ1X2Gdq3OvP0r4Bbl_FQu3QVXM36OMWZIlfNyMGL_ol85gqM97rIEYAVWfACAVQR
body:{"component_appid": "wx80a2d44d280111cb","offset": 0,"count": 100}
4.{"total_count":0,"list":[]}
(用第三方平台的appid)
1.第三方平台的AppID:wx00efff4af91827eb
2. 2025-12-04 11:21:18
3.url:https://api.weixin.qq.com/cgi-bin/component/api_get_authorizer_list?access_token=98_gMIQHERqWcItiTeletneJUCVHA37LC64Se5XslG27nnqbhcty7VSU8gQ1zUEWfRroMa79PuCkdl3C8pu4gM3hJOrag6nTu4YhDLQPIv_jIXtDvqegqX--8DBKm0QDLcAAAMZH
body:{"total_count":1,"list":[{"authorizer_appid":"wxbec1baa7bf21338b","refresh_token":"refreshtoken@@@H-UV95WnxP_WfYpaFuY3T3fljpGkNSm3FxL8xv5MLXw","auth_time":1760426998}]}
确认项:
1.已完成了
2.配置了
3.【账号管理权限】相关权限集(建议检查权限集ID是否包含账号基础权限) 没找到在哪里开启