服务端访问微信小程序提供的内容安全校验接口,很正常的图片,但是审核不通过。
图片地址:http://image.wayii.com/object_ios_0012_1636711890_0.png
微信返回的信息如下,
【请求地址】: https://api.weixin.qq.com/wxa/img_sec_check?access_token=50_HRcGabpamnxnDcbZjm7kokCJjS3NMoq-uzCljS0LkzfC1JZLM9WfQ-EqMEffUKuhBQA2RJGJGI2Z7nPWAeAHxaph8iIrCvpvamoY54Hhz77SnHTOQApcVFJP-U-_7DF4Tu-CYoD4SFCIMiXtZNHdADAFTN
【请求参数】:/tmp/1636711898272.tmp
【错误信息】:错误代码:40006, 错误信息:invalid media size rid: 618e3ddd-66c0fb3c-32b882ec,微信原始报文:{"errcode":40006,"errmsg":"invalid media size rid: 618e3ddd-66c0fb3c-32b882ec"}
2021-11-12 18:11:43.141 ERROR 8494 --- [ntContainer#1-1] c.w.t.b.d.s.impl.DiscernImageWXImpl : 微信接口异常:{}
me.chanjar.weixin.common.error.WxErrorException: 错误代码:40006, 错误信息:invalid media size rid: 618e3ddd-66c0fb3c-32b882ec,微信原始报文:{"errcode":40006,"errmsg":"invalid media size rid: 618e3ddd-66c0fb3c-32b882ec"}
这个报错跟正常违规没关系,分辨率太大了