微信开放平台 小程序基本信息管理48001?

发布于 4 年前作者 zcao2309 次浏览最后编辑 4 年前来自 issues

微信开放平台 获取小程序基本信息

请求地址  GET https://api.weixin.qq.com/cgi-bin/account/getaccountbasicinfo?access_token=ACCESS_TOKEN

我的第三方平台 绑定的小程序有这个权限集,为什么返回48001,不能获取小程序基本信息?

第三方平台APPID wxfcd89f6645566653

接口返回的响应是string(77) “{“errcode”:48001,“errmsg”:“api unauthorized rid: 61d7a50d-126d2510-6c9ad821”}”

明明小程序是有这个权限集的,为什么返回这个呢?

2 回复
weihu
weihu1 楼4 年前

你好,使用的token有误,这边使用的是component_access_token调用接口,因此报错48001。参考接口https://developers.weixin.qq.com/doc/oplatform/Third-party_Platforms/2.0/api/Mini_Program_Basic_Info/modifysignature.html文档填写正确的token信息

后续遇到接口类文档可参考https://developers.weixin.qq.com/doc/oplatform/Third-party_Platforms/2.0/troubleshooting/TroubleShooting.html自助排查下哈

lxia
lxia2 楼1 个月前

为什么搜不到验证码信息