收藏
回答

Warning: wrong json format. invalid message type?

明明写都都没问题 为什么提示消息类型异常


{"agentid":1000002,"enable_id_trans":0,"file":null,"image":null,"markdown":null,"miniprogram_notice":{"appid":"***","content_item":[{"key":"1","value":"2"}],"description":"12333312121","emphasis_first_item":"","page":"pages/index?userid=zhangsan&orderid=123123123","title":"整改通知"},"mpnews":null,"msgtype":"miniprogram_notice","news":null,"safe":0,"taskcard":null,"text":null,"textcard":null,"toparty":"","totag":"","touser":"userid.","video":null,"voice":null}

Warning: wrong json format. invalid message type, hint: [1608534090_149_f2800995579de5dc68a289946f8366ab], from ip: ****, more info at https://open.work.weixin.qq.com/devtool/query?e=40008

回答关注问题邀请回答
收藏

1 个回答

  • 企业微信运营专员-千夜
    企业微信运营专员-千夜
    2020-12-22

    你好,看日志使用的token是自建应用获取的token,不是小程序应用的token,agentid":1000002,"image":{},"file":{},"miniprogram_notice":{"appid":"wx5cebec31d1135109","description":"12333312121","content_item":[{"key":"1","value":"2"}]},"markdown":{},"enable_id_trans":0 agentid是1000002的应用不是小程序应用

    2020-12-22
    有用
    回复 8
    • 一切随缘
      一切随缘
      发表于移动端
      2020-12-22
      了解。后来我换了secret就能发送了
      2020-12-22
      回复
    • 明明是我
      明明是我
      2021-02-20
      我也遇到同样问题
      2021-02-20
      回复
    • 企业微信运营专员-千夜
      企业微信运营专员-千夜
      2021-02-20回复明明是我
      给下报错的hint信息看下
      2021-02-20
      回复
    • nirv
      nirv
      2021-02-23
      我也遇到这个问题了
      2021-02-23
      回复
    • nirv
      nirv
      2021-02-23
      agentid=1000033&touser=c005b6c29b34473e96f3c46c85951096&textcard=%7Bdescription%3D%3Cdiv+class%3D%22gray%22+%3E+2021%E5%B9%B42%E6%9C%8823%E6%97%A5+%3C+%2Fdiv%3E+%0A++%3Cdiv+class%3D%22normal%22+%3E+%E4%BD%A0%E5%85%B3%E6%B3%A8%E7%9A%84%3Cfont+color%3D%22warning%22%3E1%3C%2Ffont%3E%E4%B8%AA%E8%AF%9D%E9%A2%98%EF%BC%8C%E6%96%B0%E5%A2%9E%3Cfont+color%3D%22warning%22%3E1%3C%2Ffont%3E%E4%B8%AA%E5%8D%A1%E7%89%87+%3C%2Fdiv%3E%0A%3Cdiv+class%3D%22highlight%22+%3E+%E5%AE%9C%E6%A0%BC%E9%B2%81%3Cfont+color%3D%22warning%22%3E1%3C%2Ffont%3E%E4%B8%AA%3C+%2Fdiv+%3E%2C+title%3D%E6%8A%93%E5%A4%A7%E6%94%BE%E5%B0%8F%E6%96%B0%E5%8D%A1%E7%89%87%E6%8F%90%E9%86%92%2C+url%3Dhttps%3A%2F%2Fde.mlamp.cn%2Ftestabrs%2F%23%2Findex%7D&msgtype=textcard
      2021-02-23
      回复
    查看更多(3)
登录 后发表内容
问题标签