微信小程序点击授权无法登录,报错:getUserProfile:fail api scope is not declared in the privacy agreement

681
0

微信小程序上线一段时间后,点击授权无法登录,报错:{errMsg: “getUserProfile:fail api scope is not declared in the privacy agreement”, errno: 112}

解决办法:

在小程序后台,设置,用户隐私保护指引,更新,添加获取用户头像,昵称权限。

参考链接:https://developers.weixin.qq.com/community/develop/doc/00084c7f9045c054f6a0bc87b61800

發佈留言

發佈留言必須填寫的電子郵件地址不會公開。 必填欄位標示為 *