收藏
回答

微信学生认证接口,有的成功返回,有的报40097-“invalid args”?

5.2 快速获取学生身份API

a.请求方式:POST

b.请求地址:https://api.weixin.qq.com/intp/quickcheckstudentidentity?access_token=xxx


调用上面的接口,有的能够正常成功返回,有的报40097错误页,日志如下,请帮忙指导一下,谢谢!

------------成功的-----------

2024-10-12 17:10:40,164 INFO  [http-nio-8080-exec-70-ct-1728724240156] DEFAULT-LOGGING - 【微信】学生认证第0次请求POST URL: https://api.weixin.qq.com/intp/quickcheckstudentidentity?access_token=xxxxxxxxxx 请求体参数: {"openid":"o8s-75HzakW9VznEh_LrIJUw1NEU","wx_studentcheck_code":"9dS4g4pbvl3QJi1MvTrVPvdJgqLSgcMiT5uNqoB1Ly8"}

2024-10-12 17:10:40,442 INFO  [http-nio-8080-exec-70-ct-1728724240156] DEFAULT-LOGGING - 【微信】学生认证第0次响应: {"bind_status":1,"is_student":false,"errcode":0,"errmsg":"ok"}

----------失败的--------

2024-10-12 17:20:09,571 INFO  [http-nio-8080-exec-33-ct-1728724809567] DEFAULT-LOGGING - 【微信】学生认证第0次请求POST URL: https://api.weixin.qq.com/intp/quickcheckstudentidentity?access_token=xxxxxxxx 请求体参数: {"openid":"o2F3k0irjrWawwInOfUyXWR1qO50","wx_studentcheck_code":"vHlgDvZm9vdQY9Ojg0_DUBpzvQUncTVPqdv6UXDX_Tc"}

2024-10-12 17:20:09,829 INFO  [http-nio-8080-exec-33-ct-1728724809567] DEFAULT-LOGGING - 【微信】学生认证第0次响应: {"errcode":40097,"errmsg":"invalid args, ... hint: [rJa2ca08093229][2024-10-12 17:20:09] rid: 670a3f49-66f70db4-0e80d882"}

回答关注问题邀请回答
收藏
登录 后发表内容