前言
微信图文标签发送
{"errcode":40152,"errmsg":"invalid group id rid: 603772b6-3f26b8a7-66d9caa6"}
原因
发送的分组ID为空
filter
缺少关键参数 tag_id
以前都是CURL发的不缺少 这次使用代码发送没有注入进去参数,网上文档都是2016的实在看不懂 哈哈 检查参数发现的 变笨了
{"clientmsgid":178,"filter":{"is_to_all":false},"mpnews":{"media_id":"49iI-eVgGUrtimjhK2hsYT3HGTB129cRh7JJrVmT8Cg"},"msgtype":"mpnews","send_ignore_reprint":0}
解决
{"clientmsgid":178,"filter":{"is_to_all":false,"tag_id":178},"mpnews":{"media_id":"49iI-eVgGUrtimjhK2hsYT3HGTB129cRh7JJrVmT8Cg"},"msgtype":"mpnews","send_ignore_reprint":0}
{"errcode":0,"errmsg":"send job submission success","msg_id":3147494822,"msg_data_id":2652655819}