小程序订阅消息推送失败,返回40037错误码?
通过java调用订阅消息推送接口返回40037错误码; 已经检查过template_id参数值(直接复制的)和模板变量类型限制,但是仍然无法解决 [图片] 接口: https://api.weixin.qq.com/cgi-bin/message/subscribe/send?access_token=
请求体:
{
"touser": "onqqi66izDcEwsxdIMC1RsvIcYCY",
"template_id": "hJaAPHYQarTCiN2Awi1KhpioEC6L-6gV0WpgIjo7FgA",
"page": "index",
"miniprogram_state": "trial",
"lang": "zh_CN",
"data": {
"amount6": {
"value": "¥1000"
},
"thing9": {
"value": "一居室"
},
"thing2": {
"value": "东湖高新区"
},
"character_string8": {
"value": "25"
},
"thing1": {
"value": "安居小区"
}
}
}
响应:
{"errcode":40037,"errmsg":"invalid template_id rid: 65dffd61-4c21f328-45d36df0"}