获取用户信息接口返回48001

发布于 5 年前作者 jie5210248 次浏览最后编辑 5 年前来自 ask

网页授权采用如下方式:

https://open.weixin.qq.com/connect/oauth2/authorize?appid=wx08e4a60588896910&redirect_uri=r;scope=snsapi_userinfo&state=0_1#wechat_redirect

后端根据前面返回的code获取access_token和openid,之后调用下面的接口查询用户信息

https://api.weixin.qq.com/sns/userinfo

调用该接口后差不多50%的情况返回 err_code:48001 err_msg:api unauthorized。

这个问题之前未出现过,从2021.6.15. 00:00 开始大量出现

0 回复
暂无回复