invalid template_id rid: 61df8f16-77a151db-2993883

小程序 文章 2022-01-13 11:00 11 0 全屏看文

invalid template_id rid: 61df8f16-77a151db-2993883invalid template_id rid: 61df8f16-77a151db-2993883

invalid template_id rid: 61df8f16-77a151db-2993883

https://developers.weixin.qq.com/miniprogram/dev/api-backend/open-api/subscribe-message/subscribeMessage.send.html

请求打印:

{"data":{"character_string5":{"value":"MCH00000000001"},"date3":{"value":"2022-01-13 10:25:43"},"thing4":{"value":"xxxx"},"thing1":{"value":"测试商户"},"phrase2":{"value":"审核成功"}},"template_id":"dVDeLiKlILw7wCEqw0wXtJT6Pb-z3cHyYagrkfASJ3Q","touser":"oD6S-5b1f3ch59jHxZXVqfRugvqs"}


响应打印:

{"errcode":40037,"errmsg":"invalid template_id rid: 61df8f16-77a151db-29938838"}


模板确定是生效模板 模板Id正确

小程序确定已关联

https://developers.weixin.qq.com/miniprogram/dev/api-backend/open-api/subscribe-message/subscribeMessage.send.html 请求打印: {"data":{"character_string5":{"value":"MCH00000000001"},"date3":{"value":"2022-01-13 10:25:43"},"thing4":{"value":"xxxx"},"thing1":{"value":"测试商户"},"phrase2":{"value":"审核成功"}},"template_id":"dVDeLiKlILw7wCEqw0wXtJT6Pb-z3cHyYagrkfASJ3Q","touser":"oD6S-5b1f3ch59jHxZXVqfRugvqs"} 响应打印: {"errcode":40037,"errmsg":"invalid template_id rid: 61df8f16-77a151db-29938838"} 模板确定是生效模板 模板Id正确 小程序确定已关联

回答:

社区技术运营专员-许涛:

brave:

模板ID错了,直接复制,不要手敲!

微喵网络:

access_token是这个小程序的吗?

那个人。:是的
微喵网络:从报错来看就是模板id和access_token对应的appid不匹配
那个人。:access_token可以确定是该小程序的appId和secret 获取的

-EOF-