收藏
回答

获取授权用户信息,提示“api unauthorized”?

AppID
wxb5a2a0d069f567f7

{"access_token":"81_qutIzp7xfs3awXFKWEmk2EXeW5YSMQR6pqRqd6ekRfzUNlgJUP-9YRNR44BYxi4BOqrzPnfIVoh1YfIlYzDaIehB7jQUO9vT7lyO6R1pRMw","refresh_token":"81_Z0GwXJDhoc9mchA-74eh_h29h4BH0XH8s17wCixjwwCFufFU6d3-Rv0Q_sY2471JeoFid0u3Av8lHc3kSn8fCV-jAFMShAAf_s0gcX_rEgo","openid":"oLwui6WRsH5RlYH8zpRqhF-YhK4s","scope":"snsapi_base","expires_in":7200}

{"errcode":48001,"errmsg":"api unauthorized, rid: 6667ea1f-5106ab10-66b8c7e2"}

回答关注问题邀请回答
收藏

1 个回答

  • Y.dt
    Y.dt
    06-12

    1.检查你的应用是否已经审核通过,并且API的权限也已经开启

    2.确认是否是正确的AppID和AppSecret,这是调用API必须的凭证

    3.如果是第三方调用API,确保已经获取到用户的授权,并且授权没有过期

    06-12
    有用
    回复
登录 后发表内容
问题标签