背景: 企业微信第三方应用 测试环境报 40029 invalid code
详细报错信息:
{"errcode":40029,"errmsg":"invalid code, hint: [1620669743_173_99d5fc55ddb77c49578aa02b567d5d75], from ip: *******, more info at https:\/\/open.work.weixin.qq.com\/devtool\/query?e=40029","parents":[]}
补充说明:
微信开发者工具下切换到相应企业,以及真机切换到相应企业扫描二维码都是一样结果
你好,看日志使用的auth_code QYYHVsR4hweOX7xSbPzoYcqjeUKpa35UaNgWtEhx4yk 是不存在的,没有查到产生途径,请确认下code的获取来源
请求地址 https://qyapi.weixin.qq.com/cgi-bin/gettoken
返回状态
status: HTTP/1.1 200 OK
date: Fri, 10 Feb 2023 09:00:39 GMT
content-type: application/json; charset=UTF-8
content-length: 174
connection: close
error-code: 40001
error-msg: invalid credential, hint: [1676019639347283636740445], from ip: xx:xx:xx:xx, more info at https://open.work.weixin.qq.com/devtool/query?e=40001
返回结果 {"errcode":40001,"errmsg":"invalid credential, hint: [1676019639347283636740445], from ip: xx:xx:xx:xx, more info at https://open.work.weixin.qq.com/devtool/query?e=40001"}
可以帮我看看么
已解决了, 我们是模板小程序 有多个小程序appid,切换错误导致 多谢