群发图文接口报clientmsgid已经存在?
clientmsgid 的值使用了时间戳 或 uniqid,把 openid 分成多组,保证数量在 1 万以内,循环来发,但是首次发成功后,第二次就报错clientmsgid exist
请求接口的参数是这样的:
{ "touser" :[ "oO-sX1GYvqVAXaeiA6wvf8kfz_OE" , "oqeyVwqAyieD06UWjN8y79dTjOfI" ], "msgtype" : "mpnews" , "mpnews" :{ "media_id" : "VmuCOhkqjAeYPpIxLYSjwq4BlENjq7Idqb9xrBL1bPQ" }, "clientmsgid" : "5dcbefb5a74a0" } |
appid 是 wx6e543ad0fc5b5718
1 回复
开发者提交了重复的clientmsgid导致的,参考文档自查下https://developers.weixin.qq.com/doc/offiaccount/Message_Management/Batch_Sends_and_Originality_Checks.html