收藏
回答

测试公众号向同一用户推送100条模板消息却只能收到60条是为什么?

在测试公众号上向同一用户同时推送100条模板消息却只能接收到60条消息,求解。没有接收到模板消息返回user block(没有设置拒绝接收),平台对同一用户短时间的模板消息推送条数有限制吗?

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

1 个回答

  • Summer✨
    Summer✨
    2021-07-14

    你好,事件推送是否都接收到了,接收到的提示是否都是成功的。https://developers.weixin.qq.com/doc/offiaccount/Message_Management/Template_Message_Interface.html#6

    2021-07-14
    有用
    回复 8
    • Idemonole
      Idemonole
      2021-07-14
      事件推送都可以接收到,但是只有60条是成功送达的,剩下的送达情况是链接中的第二种情况【送达由于用户拒收(用户设置拒绝接收公众号消息)】。但这100条都是推送给同一用户并且没有设置拒绝接收
      2021-07-14
      回复
    • Summer✨
      Summer✨
      2021-07-15回复Idemonole
      提供下账号appid,显示拒收的完整请求,回包和事件推送
      2021-07-15
      回复
    • Idemonole
      Idemonole
      2021-07-15
      appid:wx6a6590162055d8c7     (这样可以吗?直截取了拒收的其中一条)
      2021-07-15
      回复
    • Summer✨
      Summer✨
      2021-07-15回复Idemonole
      贴文本哦
      2021-07-15
      回复
    • Idemonole
      Idemonole
      2021-07-15
      appid:wx6a6590162055d8c7 


      【请求地址】: https://api.weixin.qq.com/cgi-bin/message/template/send?access_token=47_bfrEXcPdCBwhEAyK4kJjx9bfVAF7SQ1u2aN1DAq-5kbGyTLP3C_7jv-ls2XAVoYZtrU6c4yODZde7jegMn7dtEC2MBhTHiZEoEnEpWZ4QpemHctQO5RpysA8YfJr7avUTUhHO7a4r08KP5wRGUEfAEAYMW
      【请求参数】:{"touser":"olX1t6VUlqI1dGRqXcgKPNk6qGpI","template_id":"wFBK4visVav6HBNQ6gRgQ60I4oSwIMjqlsDYeMvWj30","url":"http://xuruixinguang.top/try/wechat/authorize/template?infoId=749___olX1t6VUlqI1dGRqXcgKPNk6qGpI","data":{"first":{"value":"您的COMPANY发生报警","color":"#000000"},"keyword1":{"value":"环境卫生","color":"#000000"},"keyword2":{"value":"YINGSHI","color":"#000000"},"keyword3":{"value":"2021-07-15 16:23:25","color":"#000000"},"remark":{"value":"请及时处理","color":"#000000"}}}
      【响应数据】:{"errcode":0,"errmsg":"ok","msgid":1958658398653038593}


      接收微信请求:[signature=[2684ec45c36712de561e2700f89247d89bca8e09], encType=[null], msgSignature=[null], timestamp=[1626337409], nonce=[1173861239], requestBody=[
      <xml><ToUserName><![CDATA[gh_57d2694b4363]]></ToUserName>
      <FromUserName><![CDATA[olX1t6VUlqI1dGRqXcgKPNk6qGpI]]></FromUserName>
      <CreateTime>1626337409</CreateTime>
      <MsgType><![CDATA[event]]></MsgType>
      <Event><![CDATA[TEMPLATESENDJOBFINISH]]></Event>
      <MsgID>1958658398653038593</MsgID>
      <Status><![CDATA[failed:user block]]></Status>
      </xml>



      2021-07-15 16:23:29 FrameworkServlet.java DEBUG Successfully completed request
      2021-07-15 16:23:29 Wire.java DEBUG http-outgoing-13 << "HTTP/1.1 200 OK[\r][\n]"
      2021-07-15 16:23:29 Wire.java DEBUG http-outgoing-13 << "Connection: keep-alive[\r][\n]"
      2021-07-15 16:23:29 Wire.java DEBUG http-outgoing-13 << "Content-Type: application/json; encoding=utf-8[\r][\n]"
      2021-07-15 16:23:29 Wire.java DEBUG http-outgoing-13 << "Date: Thu, 15 Jul 2021 08:23:29 GMT[\r][\n]"
      2021-07-15 16:23:29 Wire.java DEBUG http-outgoing-13 << "Content-Length: 55[\r][\n]"
      2021-07-15 16:23:29 Wire.java DEBUG http-outgoing-13 << "[\r][\n]"
      2021-07-15 16:23:29 Wire.java DEBUG http-outgoing-13 << "{"errcode":0,"errmsg":"ok","msgid":1958658398653038593}"
      2021-07-15 16:23:29 LoggingManagedHttpClientConnection.java DEBUG http-outgoing-13 << HTTP/1.1 200 OK
      2021-07-15
      回复
    查看更多(3)
登录 后发表内容