微信客服推送信息接口报45015错误原因?

微信客服推送信息发送报文:
[html]  view plain  copy
  1. {  
  2.     "touser":"testOpenId",  
  3.     "msgtype":"text",  
  4.     "text":{  
  5.         "content":"你好"  
  6.     }  
  7. }  

正常返回报文如下,表示发送成功
[html]  view plain  copy
  1. {  
  2.     "errcode":0,  
  3.     "errmsg":"ok"  
  4. }  

报45015错误的接收报文:
[html]  view plain  copy
  1. {  
  2.     "errcode":45015,  
  3.     "errmsg":"response out of time limit or subscription is canceled hint: [ZE1Uxa0498age8]"  
  4. }  

原因是当用户微信不活跃时间超过24小时(此时间当前是多少由腾讯定),不会将信息推送到用户微信公众号。

猜你喜欢

转载自blog.csdn.net/qq_33858250/article/details/80022767