总结:经常遇到的微信模版消息推送返回失败情况!
1、{“errcode”:40037,“errmsg”:“invalid template_id hint: [2ZVwjA0418ge29]”}原因:template_id不存在
排查步骤:
1.1 检查template_id是否正确
1.2 是否是对应环境的公众号下配置的消息模版
原因:access_token 过期或不存在
排查步骤:
2.1 去Redis 查看token是否存在,是否过期
原因:openid在此公众号无绑定
修复:重新获取一下openid
转载于:https://www.cnblogs.com/be-thinking/p/9299038.html