授权地址:https:\/\/open.weixin.qq.com\/connect\/oauth2\/authorize?appid=wx5fbff8050633fdae&redirect_uri=https%3A%2F%2Fteststable-scrm-stg.wanlitong.com%2Flinkwechat%2Findex-wx.html%23%2Fidentity%3Fid%3D1813455100367212544%26corpId%3Dww6b82f72c62ef747d&response_type=code&scope=snsapi_userinfo&state=linkwechat&component_appid=wx33e2cc9ec674bddf#wechat_redirect
拿到code后立马根据code=021kz2200LsayS1uXi400me0oP3kz22M 请求微信获取用户信息报错:
https://qyapi.weixin.qq.com/cgi-bin/auth/getuserinfo
响应:
"errcode":40029,"errmsg":"invalid code, hint: [1721878493107080687690886], from ip: 101.227.100.96, more info at https://open.work.weixin.qq.com/devtool/query?e=40029"}
该问题多次出现
权限和链接都没啥问题,不知为何返回40029异常
你好,该报错请开发者仔细排查:1:code过期
2:code重复使用
3:code错误
4:code和appid不匹配,code不是对应appid生成的