收藏
回答

发送模板消息提示invalid template_id,但是模板列表有该模板记录?

模板列表结果:

{"template_list":[{"template_id":"AwcQ34H3lvLBKYdqGcYKpnQ3D8IMrN_qPN-VFaMnBIo","title":"订阅模板消息","primary_industry":"","deputy_industry":"","content":"{{content.DATA}}","example":""}]}

发送模板消息请求:

{"touser":"ocEnt6q4aUo2megpgaX-TaE_W0H4","template_id":"AwcQ34H3lvLBKYdqGcYKpnQ3D8IMrN_qPN-VFaMnBIo","url":"www.baidu.com","miniprogram":{"pagepath":"pages/index/index","appid":"wxb39034b721b048f5"},"data":{"content":{"value":"are u ok?"}}}

接口返回:

{"errcode":40037,"errmsg":"invalid template_id rid: 64ba460d-3722f9d8-3fad516d"}

能帮忙看下为啥这个模板id是非法的么?


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

1 个回答

登录 后发表内容
问题标签