通过curl推送消息,发现推送变量,变量内容不能多行,多行会报错,单行可以成功,希望能给你们思路
企业微信机器人自动发送消息报错{"errcode":40008,"errmsg":"Warning: wrong json format. invalid message type, hint: [1629170565_236_b1943522c6053ca68943089ae0b4b9fd], from ip: 39.98.117.192, more info at https://open.work.weixin.qq.com/devtool/query?e=40008"}
2021-08-17通过curl推送消息,发现推送变量,变量内容不能多行,多行会报错,单行可以成功,希望能给你们思路
企业微信群机器人发送markdown报错40008昨天还是正常的,今早上过来就不行了. hint:1629170565_236_b1943522c6053ca68943089ae0b4b9fd 1629170565_236_b1943522c6053ca68943089ae0b4b9fd hint: [1629170565_236_b1943522c6053ca68943089ae0b4b9fd] 20210817 11:22:45[IN[图片]FO]企微推送结果: {"errcode":40008,"errmsg":"Warning: wrong json format. invalid message type, hint: [1629170565_236_b1943522c6053ca68943089ae0b4b9fd], from ip: 39.98.117.192, more info at https://open.work.weixin.qq.com/devtool/query?e=40008"} 220210817 1120210817 11:22:45[INFO]企微推送结果: {"errcode":40008,"errmsg":"Warning: wrong json format. invalid message type, hint: [1629170565_236_b1943522c6053ca68943089ae0b4b9fd], from ip: 39.98.117.192, more info at https://open.work.weixin.qq.com/devtool/query?e=40008"}:22:45[INFO]企微推送结果: {"errcode":40008,"errmsg":"Warning: wrong json format. invalid message type, hint: [1629170565_236_b1943522c6053ca68943089ae0b4b9fd], from ip: 39.98.117.192, more info at https://open.work.weixin.qq.com/devtool/query?e=40008"}0210817 11:22:45[INFO]企微推送结果: {"errcode":40008,"errmsg":"Warning: wrong json format. invalid message type, hint: [1629170565_236_b1943522c6053ca68943089ae0b4b9fd], from ip: 39.98.117.192, more info at https://open.work.weixin.qq.com/devtool/query?e=40008"}
2021-08-17通过curl推送消息,发现推送变量,变量内容不能多行,多行会报错,单行可以成功,希望能给你们思路
请问8月17日开始机器人推送的消息内换行符升级了吗?机器人在推送消息的时候,消息内部存在\n换行符,例如:实时新增\n用户反馈。在8月16日的时候消息还能推送成功,在17日就无法推送了。 今早在调试的时候发现换行符需要增加转义字符,将推送内容更改为:实时新增\\n用户反馈,才能正常推送。 请问企业微信后端是对此进行了升级吗?
2021-08-17我也是昨天下午开始报错的,我是curl传递变量,发现变量不能是多行,单行可以成功。
企业微信机器人接口突然全部返回400088月16日21点02分使用企业微信机器人推送消息还是正常的,22点再使用相同格式进行调用企业微信机器人接口,返回40008。 请求参数: { "msgtype": "markdown", "markdown": { "content": "小龙组2021-08-16_22 七台河 白 桦南1 海0" } } 请求头: POST /cgi-bin/webhook/send?key=1e89883c-2821-4344-97de-7ebd125a2438&debug=1 HTTP/1.1 X-Forwarded-For: 120.27.225.205 PROXY_FORWARDED_FOR: CDE11B78,0000,0,0,0,0,0,0,0 WEWORK_PROXY_FORWARDED_FOR: 120.27.225.205 Connection: Keep-Alive Pragma: no-cache X-InnerReqId: 160626308.51550.1629125885.79625 Host: qyapi.weixin.qq.com User-Agent: curl/7.19.7 (x86_64-redhat-linux-gnu) libcurl/7.19.7 NSS/3.44 zlib/1.2.3 libidn/1.18 libssh2/1.4.2 Content-Type: application/json Accept: */* Content-Length: 129
2021-08-17