收藏
回答

公众号发送模板消息错误 data format error ?

AppID
wx587607474ab92945

请求入参是: {"touser":"o_gDT6gXxeUDZsVvvQ2xa6RsLS5k","template_id":"42F9aW63N0jlqeIJhn_5-RjSD_AImVWivHozBQMK22c","data":{"thing1":{"value":"周日羽毛球约球"},"time2":{"value":"2023-12-03 15:00"},"thing3":{"value":"福田体育公"},"thing4":{"value":"雪狼队"},"thing5":{"value":"张三"}}}

返回 :{"errcode":47001,"errmsg":"data format error rid: 6645aad8-308fb649-162954ce"}


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

1 个回答

  • 社区技术运营专员--许涛
    社区技术运营专员--许涛
    05-16

    你好,日志查看JSON错误,排查下JSON转码问题


    touser=o_gDT6gXxeUDZsVvvQ2xa6RsLS5k&template_id=42F9aW63N0jlqeIJhn_5-RjSD_AImVWivHozBQMK22c&data=thing1%3D%7B%22value%22%3A%22%E5%91%A8%E6%97%A5%E7%BE%BD%E6%AF%9B%E7%90%83%E7%BA%A6%E7%90%83%22%7D%2Ctime2%3D%7B%22value%22%3A%222023-12-03+15%3A00%22%7D%2Cthing3%3D%7B%22value%22%3A%22%E7%A6%8F%E7%94%B0%E4%BD%93%E8%82%B2%E5%85%AC%22%7D%2Cthing4%3D%7B%22value%22%3A%22%E9%9B%AA%E7%8B%BC%E9%98%9F%22%7D%2Cthing5%3D%7B%22value%22%3A%22%E5%BC%A0%E4%B8%89%22%7D

    05-16
    有用
    回复
登录 后发表内容
问题标签