收藏
回答

通过在线调试工具调试OA 提交审批接口,结果总是返回 301025



调用接口提交审批申请请求地址https://qyapi.weixin.qq.com/cgi-bin/oa/applyevent返回状态status: HTTP/1.1 200 OK

connection: close

error-code: 301025

error-msg: get approval param error, hint: [1595987734_59_e5cc4d0741c4f502026a0a975cdeddc4], from ip: 9.84.250.5, more info at https://open.work.weixin.qq.com/devtool/query?e=301025

content-type: application/json; charset=UTF-8

content-length: 200

返回结果{ "errcode": 301025, "errmsg": "get approval param error, hint: [1595987734_59_e5cc4d0741c4f502026a0a975cdeddc4], from ip: 9.84.250.5, more info at https://open.work.weixin.qq.com/devtool/query?e=301025" }

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

3 个回答

  • 企业微信运营专员-千夜
    企业微信运营专员-千夜
    2020-07-29

    您好,看日志你这个控件id不对,麻烦再检查下

    2020-07-29
    有用
    回复 4
    • 姚宁元
      姚宁元
      2020-07-30
      同样接口报错,帮忙看下日志       {"errcode":301025,"errmsg":"get approval param error, hint: [1596072404_60_24d321eb875bbcf3db81ce32f960f9f7], from ip: 117.186.229.30, more info at https://open.work.weixin.qq.com/devtool/query?e=301025"}
      2020-07-30
      回复
    • 企业微信运营专员-千夜
      企业微信运营专员-千夜
      2020-07-30回复姚宁元
      {"property":{"control":"Vacation","id":"vacation-1563793073898","title":[{"text":"请假类型","lang":"zh_CN"},{"text":"Leave Type","lang":"en"}],"placeholder":[{"text":"","lang":"zh_CN"}],"require":1,"un_print":0}}  缺少这个控件,并且也是需要传值的
      2020-07-30
      回复
    • 姚宁元
      姚宁元
      2020-07-30
      控件添加后还是报错 {"errcode":301025,"errmsg":"get approval param error, hint: [1596091023_61_8eca28215878877a3f4dee70c9d718a5], from ip: 117.186.229.30, more info at https://open.work.weixin.qq.com/devtool/query?e=301025"}
      2020-07-30
      回复
    • 企业微信运营专员-千夜
      企业微信运营专员-千夜
      2020-07-30回复姚宁元
      请假类型值不合法,请假类型 填个这种值 【文本填写的内容1】,先看看模板设置1
      2020-07-30
      回复
  • Zachary🇨🇳
    Zachary🇨🇳
    2021-01-28

    2021-01-28
    有用
    回复 1
    • Zachary🇨🇳
      Zachary🇨🇳
      2021-01-28
      没有具体返回什么错误,我不知道什么问题
      2021-01-28
      回复
  • 枫灵🍀
    枫灵🍀
    2021-01-25

    {"creator_userid":"15989014282","template_id":"ZLqu2fpsz38MWbHehSmcBtyFyCdxNoVCdU76f7","use_template_approver":1,"approver":[],"notify_type":1,"apply_data":{"contents":[{"control":"Text","id":"item-1494250754014","value":{"text":"\u5408\u540c\u540d\u79f0"}},{"control":"Text","id":"item-1494250768190","value":{"text":"HT-20210120-0001"}},{"control":"Date","id":"item-1494250774238","value":{"date":{"type":"day","s_timestamp":"1611115932"}}},{"control":"Text","id":"item-1494250782854","value":{"text":"\u67d0\u67d0\u516c\u53f81"}},{"control":"Text","id":"item-1494250798972","value":{"text":"\u4eba\u54581"}},{"control":"Text","id":"item-1494250800464","value":{"text":"\u67d0\u67d0\u516c\u53f82"}},{"control":"Text","id":"item-1494250801595","value":{"text":"\u4eba\u54582"}}]},"summary_list":[{"summary_info":{"text":"\u6458\u8981\u7b2c1\u884c","lang":"zh_CN"}}]}

    https://qyapi.weixin.qq.com/cgi-bin/oa/applyevent?access_token=xxxxxxx屏蔽&debug=1

    请问参与哪里有错误,一直返回

    {"errcode":301025,"errmsg":"Warning: wrong json format. get approval param error:"}

    2021-01-25
    有用
    回复
登录 后发表内容
问题标签