收藏
回答

公众号发送模板消息,相同的Accesstoken,一会儿有效一会儿无效,报40001

[线程:10]

    URL:https://api.weixin.qq.com/cgi-bin/message/template/send?access_token=39_OWESP0DJl0Qw21dcTgSHgR7RxL7mg7qrT3cA_N8uho4-LpCJz1rRDaV4bMQmYAjNXbixZV4iWOFXuKDF5nFqHaXk0Y-flWqULvmAt6BTlOqeZ5ViwIK_VJRnTaah0OPygW97suxJyiysB1H2WYAfACARTV

    Result:

{"errcode":40001,"errmsg":"invalid credential, access_token is invalid or not latest rid: 5fab67b2-3a52e5ff-0526c6fd"}

===========同一个access_token又是成功的===================

[[[接口调用]]]

[2020/11/11 12:25:23]

[线程:10]

    URL:https://api.weixin.qq.com/cgi-bin/message/template/send?access_token=39_OWESP0DJl0Qw21dcTgSHgR7RxL7mg7qrT3cA_N8uho4-LpCJz1rRDaV4bMQmYAjNXbixZV4iWOFXuKDF5nFqHaXk0Y-flWqULvmAt6BTlOqeZ5ViwIK_VJRnTaah0OPygW97suxJyiysB1H2WYAfACARTV

    Result:

{"errcode":0,"errmsg":"ok","msgid":1601829060484087815}

=======又是失败的==============

[[[接口调用]]]

[2020/11/11 12:25:32]

[线程:35]

    URL:https://api.weixin.qq.com/cgi-bin/message/template/send?access_token=39_OWESP0DJl0Qw21dcTgSHgR7RxL7mg7qrT3cA_N8uho4-LpCJz1rRDaV4bMQmYAjNXbixZV4iWOFXuKDF5nFqHaXk0Y-flWqULvmAt6BTlOqeZ5ViwIK_VJRnTaah0OPygW97suxJyiysB1H2WYAfACARTV

    Result:

{"errcode":40001,"errmsg":"invalid credential, access_token is invalid or not latest rid: 5fab67bc-4d39884d-56971532"}

没有任何规律的反复这样,这几天一直都出现这个问题。

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

1 个回答

登录 后发表内容
问题标签