临时素材接口支持png格式图片,这边上传的图片格式也是png格式,接口却返回错误代码:40123, 错误信息:invalid image format。没明白具体原因。求大佬解答
hint值(1644221143277973028278188)查询信息如下:
请求参数:
--q7I8p27Ojj9al2eXFP5Mi7wzSJItqL-BcOPFm71
Content-Disposition: form-data; name="media"; filename="123_24700f5f-2ec1-47fc-939f-70c3492f71451443390571017882261png"
Content-Type: application/octet-stream
Content-Transfer-Encoding: binary
RIFF R
请求头:
POST /cgi-bin/media/upload?debug=1&type=image&access_token=Wsg9j5VqDR7xfZfuhXaLjhJ4HoQMK737svTBuprJ6XvmgkiO2IgfIPMUBKjzyjB9FY9xcmTfhnkvyjgORo8uBkPGnAzQQn_fAgSpkX34sv1tVtPeFHfsNFI5wLH_GkckwSMtw2VsLpc71uLFgsNuMW1T28i0rblSALQvBELun5c2FerTz5cXYCmyIWnZguwauOKDhVhcN9R2DwUtadflEg HTTP/1.1
X-Forwarded-For: 106.75.23.50
PROXY_FORWARDED_FOR: 32174B6A,0000,0,0,0,0,0,0,0
WEWORK_PROXY_FORWARDED_FOR: 106.75.23.50
Connection: Keep-Alive
Pragma: no-cache
X-InnerReqId: 196187500.1449.1644221143.53243
Wxwork-Api-Transfer: ChkxNjQ0MjIxMTQzMjc3OTczMDI4Mjc4MTg4
Host: qyapi.weixin.qq.com
User-Agent: Apache-HttpClient/4.5 (Java/1.8.0_301)
Content-Type: multipart/form-data; boundary=q7I8p27Ojj9al2eXFP5Mi7wzSJItqL-BcOPFm71
Content-Length: 21298
你的filename png前面为啥没点