微信网页授权获取用户信息时经常返回msg:48001:api unauthorized?

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

微信公众平台微信网页授权接口获取用户信息接口https://api.weixin.qq.com/sns/userinfo?access_token=ACCESS_TOKEN&openid=OPENID&lang=zh_CN经常返回48001,appid:wx9aab26cd54d87318,报错历史:{“errcode”:48001,“errmsg”:“api unauthorized, hints: [ req_id: NHgcRkNre-WiyrBa ]”};{“errcode”:48001,“errmsg”:“api unauthorized, hints: [ req_id: oHgcbQ.Ce-phRima ]”};{“errcode”:48001,“errmsg”:“api unauthorized, hints: [ req_id: xHgcCj4FE-OPzr6a ]”};但接口实际是有权限的,请问是什么原因呢

1 回复
jie92
jie921 楼4 年前

你好,确认已获得网页授权获取用户信息接口权限了吗?