收藏
回答

api调用模板消息时报 invalid template_id size,请帮忙看下是什么原因?

请求链接:

https://api.weixin.qq.com/cgi-bin/message/template/send?access_token=

模板参数:

{"time4":{"value":"2023-11-23 14:10:29"},"thing7":{"value":",0352060032243387"},"character_string9":{"value":"2023112317007198141923812"}}

请求参数:

{"touser":"o0dM46txcT3iDm8mmyjcxh_2i6k0","mp_template_msg":{"data":{"time4":{"value":"2023-11-23 14:10:29"},"thing7":{"value":",0352060032243387"},"character_string9":{"value":"2023112317007198141923812"}},"template_id":"6424_1M3MmkBsn6VomNnqrVd_YSbmVHqx4Rw28vpN2Y","miniprogram":{"pagepath":"pages/order/index/orderDetail?type=1&id=1","appid":"wx6368d8eb39bd79f0"},"url":"http://weixin.qq.com/download"}}

返回结果:

{"errcode":40036,"errmsg":"invalid template_id size rid: 655eecd6-086f26a1-0669a54b"}


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

1 个回答

登录 后发表内容
问题标签