LanZouCloud-API icon indicating copy to clipboard operation
LanZouCloud-API copied to clipboard

接口报错 json 解析出错

Open 178me opened this issue 2 years ago • 2 comments

今天使用发现一个问题,调用接口返回了 200 状态码 但是 body 为空,然后导致json无法解析报错,

经过重重排查,发现最终的问题是在这里 image 感觉像是被针对了一样,只有这个特定的 User-Agent 才会出错

临时解决办法很简单

image

178me avatar Oct 22 '23 09:10 178me

使用了你的方法,确定解决了问题,感觉被针对了,正在替换

henrycoding avatar Oct 24 '23 02:10 henrycoding

终于解决了,多谢,自己研究了半天😭

super-cookerBH4HZD avatar Jun 10 '24 07:06 super-cookerBH4HZD