昨天还是正常的,今早上过来就不行了. hint:1629170565_236_b1943522c6053ca68943089ae0b4b9fd
1629170565_236_b1943522c6053ca68943089ae0b4b9fd
hint: [1629170565_236_b1943522c6053ca68943089ae0b4b9fd]
20210817 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"}
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"}
你好,前两天是拦截了非法的json请求,这里昨晚是上线优化了,不过机器人发消息的api接口后续将继续校验请求json的合法性,避免json不合法取错值
官方的例子都是40008,这还怎么玩。。。。。。
碰到同样的问题,请求帮助。推送消息jason格式如下,但报40008错误
{
"touser": "oicjW6MuUyb-fu_NKbgc5TvGg",
"template_id": "IHebBtlPAKwRj3Amc2Ae9LoHSipHwZgf8vVjOzQX",
"data": {
"first": {
"value": "电流异常",
"color": "#173177"
},
"keyword1": {
"value": "车间",
"color": "#173177"
},
"keyword2": {
"value": "警告",
"color": "#173177"
},
"keyword3": {
"value": "能效比异常",
"color": "#173177"
},
"keyword4": {
"value": "2016-11-25",
"color": "#173177"
},
"remark": {
"value": "点击查看详情",
"color": "#173177"
}
}
}
+1
+1
遇到同样的问题.......求官方回复
我也是,询问
我也是
@
企业微信运营专员-千夜