收藏
回答

{"errcode":47003,"errmsg":"argument invalid! ?

调用微信公众号订阅消息,提示{"errcode":47003,"errmsg":"argument invalid! data.character_string1.value is empty rid: 654dd3b9-721fbdaa-2d1d2cdd"}这个错误。调用接口https://api.weixin.qq.com/cgi-bin/message/template/send?access_token=ACCESS_TOKEN,请求参数:{"template_id":"U_RftxB4j3vIp97B6l1y1CLANe4_OPl1YQ9X85r3Uts","touser":"oLpFr5i1Yf31NVE1qmSt2P6k70x4","data":"{\"character_string1\":{\"value\":\"O2023111017\"},\"thing9\":{\"value\":\"红薯干\"},\"const5\":{\"value\":\"不想要了\"}}","url":"http://t-m-xmall.xiangnongjy.com:7898#/pages/order/orderDetail?delivery=false?sn=O202311101722810283305410561"};消息模板:订单号:{{character_string1.DATA}}

商品名称:{{thing9.DATA}}

取消原因:{{const5.DATA}}

麻烦各位大佬看下这个是啥问题啊

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

2 个回答

  • Mr.Zhao
    Mr.Zhao
    2023-11-10

    data: {} 不是 data: "{}"

    2023-11-10
    有用 1
    回复 1
    • 斌
      2023-11-10
      非常感谢,可以了
      2023-11-10
      回复
  • quietnessAndLightWeight
    quietnessAndLightWeight
    2023-11-11

    好熟悉的错误代码,哈哈哈哈

    2023-11-11
    有用 1
    回复
登录 后发表内容