当前位置 博文首页 > 渊渟无迹静涛君的博客:浙政钉-宜搭调用参数错误说明

    渊渟无迹静涛君的博客:浙政钉-宜搭调用参数错误说明

    作者:[db:作者] 时间:2021-08-16 12:47

    首先看下错误

    Result(success=true, message=操作成功!, code=0, result={"_RequestId":"0aa00ab616263450688454124d0010","Message":"The specified parameter 'Missing required HTTP header: apiKey' is not valid","success":false,"errorCode":"100","Code":"InvalidParameter","bizErrorCode":"OPF-B001-05-15-0001","errorMsg":"The specified parameter 'Missing required HTTP header: apiKey' is not valid","errorLevel":"error"}, timestamp=1626345068830, onlTable=null)

    我这是调用宜搭流程表单发起流程接口的时候报错的

    ?文档链接:https://www.yuque.com/yida-old/help/kk3t56#f4w6ou

    描述:我在调用发起流程接口的时候,里面附带了附件的信息,但是由于信息过多,导致这个错误

    The specified parameter 'Missing required HTTP header: apiKey' is not valid

    原因是我这边用的是get去请求的,导致参数过多丢失了参数,宜搭那边解析失败返回的

    代码如下:

    ?将请求换成post就可以了.记录下错误

    cs