小程序模板消息后台接口获取不到。

发布于 7 年前作者 ping70395 次浏览最后编辑 7 年前来自 ask

小程序模板消息后台接口获取不到。

getTemplateList

https://api.weixin.qq.com/cgi-bin/wxopen/template/list?access_token=ACCESS_TOKEN

这个接口一直返回的是空 ,{ errcode: 0, errmsg: ‘ok’, list: [] }。

这种的我该怎么处理?

getTemplateLibraryById

https://api.weixin.qq.com/cgi-bin/wxopen/template/library/get?access_token=ACCESS_TOKE

{ errcode: 40037,

  errmsg: ‘invalid template_id hint: [N5US7a06541891]’ }

根据id查也查不到。

2 回复
byang
byang1 楼6 年前

麻烦检查一下template_id是否有误

rcheng
rcheng2 楼5 年前

是否忘记post json参数了?