小程序模板消息后台接口获取不到。
发布于 5 年前 作者 ping70 257 次浏览 来自 问答

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

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 回复

麻烦检查一下template_id是否有误

是否忘记post json参数了?

回到顶部