收藏
回答

添加订阅消息模板一直报200014,missing parameter tid?

【请求地址】: https://api.weixin.qq.com/wxaapi/newtmpl/addtemplate?access_token=29_QUofT4CgyURWlWbTboj9OW_KwBk9Kd6ft7Fvf-LuuqEjIbj_JqVEvp855Nw761Zc8LclCpro79u4GRYkZZBaMkoD0cq1CwiwMQupn1pObuMqFmccWiul9VPTweyJdjLUa4Ke2p_0yr4muJJTJSFbAEDYHU

【请求参数】:{"sceneDesc":"作业通知,,,","kidList":[5,11,2,9,7],"tid":"632"}

【错误信息】:{"errmsg":"missing parameter tid","errcode":200014}]

请求时间 2020-01-22 12:04:53

appid: wxeb55733f7a265de7

这个tid,我能查到关键词

【请求地址】: https://api.weixin.qq.com/wxaapi/newtmpl/getpubtemplatekeywords?access_token=29_QUofT4CgyURWlWbTboj9OW_KwBk9Kd6ft7Fvf-LuuqEjIbj_JqVEvp855Nw761Zc8LclCpro79u4GRYkZZBaMkoD0cq1CwiwMQupn1pObuMqFmccWiul9VPTweyJdjLUa4Ke2p_0yr4muJJTJSFbAEDYHU

【请求参数】:tid=632

【响应数据】:{"data":[{"kid":2,"name":"学生姓名","example":"王一","rule":"name"},{"kid":4,"name":"截止时间","example":"2019-11-01 15:00","rule":"date"},{"kid":5,"name":"课程名称","example":"新概念英语第二册","rule":"thing"},{"kid":6,"name":"完成时间","example":"20:00","rule":"time"},{"kid":7,"name":"备注","example":"成绩进步,再接再厉","rule":"thing"},{"kid":8,"name":"班机名称","example":"小二3班","rule":"thing"},{"kid":9,"name":"作业内容","example":"磨耳朵练习","rule":"thing"},{"kid":10,"name":"科目","example":"一级建造师","rule":"name"},{"kid":11,"name":"发布人","example":"教研组","rule":"name"},{"kid":12,"name":"班级名称","example":"班鸽英语初20190219班","rule":"thing"},{"kid":13,"name":"作业时间","example":"今日7:00-18:00","rule":"thing"},{"kid":14,"name":"发布时间","example":"2019年12月24日","rule":"date"}],"errmsg":"ok","errcode":0}]

查询时间:2020-01-22 12:31:39


最后一次编辑于  2020-01-22
回答关注问题邀请回答
收藏

2 个回答

  • Me丶威
    Me丶威
    2020-06-03
    请求头改下 Content-Type:application/json
    刚刚我也是一直提示错误,看到文档需要请求头这个,改成这样就可以了
    
    2020-06-03
    有用
    回复 8
    • _M.E_
      _M.E_
      2020-06-28
      参数传递都正确,请求头也加了,还是报这个错误,请问你有解决吗
      2020-06-28
      回复
    • Me丶威
      Me丶威
      2020-06-28回复_M.E_
      我这边是已经可以的,看下参数有没json_encode
      2020-06-28
      回复
    • _M.E_
      _M.E_
      2020-06-28
      有,也试了,没有,也试了,都不可以
      2020-06-28
      回复
    • Me丶威
      Me丶威
      2020-06-28回复_M.E_
      2020-06-28
      回复
    • _M.E_
      _M.E_
      2020-06-28
      2020-06-28
      回复
    查看更多(3)
  • 2020-04-10

    你好,解决了么,我也是遇到这个问题,参数传递都没问题。。。。

    2020-04-10
    有用
    回复
登录 后发表内容
问题标签