在调用https://api.weixin.qq.com/cgi-bin/message/template/send接口时,确定access_token为最新,未过期,但是接口返回:
{"errcode":40001,"errmsg":"invalid credential, access_token is invalid or not latest, could get access_token by getStableAccessToken, more details at https://mmbizurl.cn/s/JtxxFh33r rid: 66ed081c-04145d5d-30008bf5"此现象不是一直出现,偶尔也会成功!
处理不好token的情况下还是老老实实用getStableAccessToken获取吧
大神速来解决!!