收藏
回答

关于自建审批应用调用提交审批申请接口报301055问题?

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

1 个回答

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

    您好,看报错信息是提示审批权限,请确认下自建应用有是否配置到审批应用获取数据权限内,有配置的话还报错可以贴下hint信息看下

    2020-07-27
    有用
    回复 11
    • 毫
      2020-07-27
      { "errcode": 301055, "errmsg": "no approval auth, hint: [1595841970_60_9f946ff1ed0299e889ba24ed8d82f271], from ip: 9.95.1.184, more info at https://open.work.weixin.qq.com/devtool/query?e=301055"' target='_blank'>https://open.work.weixin.qq.com/devtool/query?e=301055" }
      2020-07-27
      回复
    • 毫
      2020-07-27
      2020-07-27
      回复
    • 企业微信运营专员-千夜
      企业微信运营专员-千夜
      2020-07-27回复
      "creator_userid":"WangXiaoMing","template_id":"3Tka1eD6v6JfzhDMqPd3aMkFdxqtJMc2ZRioeFXk","approver":[{"userid":["WuJunJie","WangXiaoMing"],"attr":2},{"userid":["LiuXiaoGang"],"attr":1}],"notifyer":["WuJunJie","WangXiaoMing"],"notify_type":1,"apply_data":{"contents":[{"control":"Text","id":"Text-1569573760849","title":[{"text":"文本控件","lang":"zh_CN"}],"value":{"text":"文本填写的内容"}}]},"summary_list":[{"summary_info":[{"text":"摘要第1行","lang":"zh_CN"}]},{"summary_info":[{"text":"摘要第2行","lang":"zh_CN"}]},{"summary_info":[{"text":"摘要第3行","lang":"zh_CN"}]}],"use_template_approver":0  提交审批详情,这里创建的userid不是你这个企业的成员,所以报错了,这里creatuserid必须要已激活且在可见范围内的
      2020-07-27
      1
      回复
    • 毫
      2020-07-28回复企业微信运营专员-千夜
      error-msg: get approval param error, hint: [1595905880_60_70476f18b0ddbe243f328cbc878a6ff5], from ip: 100.66.97.245, more info at https://open.work.weixin.qq.com/devtool/query?e=301025
      content-type: application/json; charset=UTF-8


      这次我查询的是参数错误  但是我跟官网的比较了下 没有感觉到格式哪里有问题啊
      2020-07-28
      回复
    • 企业微信运营专员-千夜
      企业微信运营专员-千夜
      2020-07-28回复
      看下是不是附件没填,这个模板 附件是必填的,"property":{"control":"File","id":"File-1595577442080","title":[{"text":"附件","lang":"zh_CN"}],"placeholder":[{"text":"","lang":"zh_CN"}],"require":1,"un_print":0},"config":{"file":{"is_only_photo":0}}}
      2020-07-28
      1
      回复
    查看更多(6)
登录 后发表内容
问题标签