数据服务错误代码表

  • 文档创建者:Roxy
  • 历史版本:4
  • 最近更新:Wendy123456 于 2024-09-06
  • 1. 概述

    FineDataLink 数据服务接收到调用 API 的请求后,会将请求结果信息返回给请求端,其中包含各类错误码。

    通过解读错误码,您可以快速定位问题并自助排错。

    本文为您介绍常见数据服务错误码及相应含义。

    2. 调用状态-成功

    错误分类响应内容调用记录

    errcode

    message调用状态报错详情
    -

    0

    Success.成功-

    3. 调用状态-服务端失败

    错误分类响应内容调用记录

    errcode

    message调用状态报错详情
    服务器错误

    50000

    Internal server error, please check the error details in platform.服务端失败错误详细堆栈信息。

    4. 调用状态-客户端失败

    错误分类具体错误说明响应内容调用记录

    errcode

    message调用状态报错详情
    路径无效路径无效40400

    Request URL not exist, please check the APPID and API path.

    无调用记录
    请求方法错误请求方法错误40500

    Bad request method - expected request method: POST, actual request method: GET.

    请求体格式错误请求体格式错误40000Bad content type - expected content-type: application/json, actual content-type: x-www-form-urlencoded.客户端失败

    请求体格式错误 - 期望请求体格式:application/json;实际请求体格式:x-www-form-urlencoded。

    请求参数错误请求参数未传40001

    Missing parameter - expected parameter: [ name1: type1, name2: type2 ].

    缺少参数 - 期望传入的参数为:[ 名称1:类型1, 名称2:类型2]。

    请求参数格式不正确40002Invalid parameter - expected parameter: [ name1: type1, name2: type2 ].错误参数 - 期望传入的参数为:[ 名称1:类型1, 名称2:类型2]。
    认证错误认证信息未传40100

    Missing Authorization request header.

    缺少Authorization请求头。

    AppCode不正确40101

    AppCode authentication failed, please check the code and try again.

    AppCode认证失败。

    摘要认证信息不正确40102

    Digest authentication failed, please check the code and try again.

    摘要认证失败。

    应用授权错误应用没绑定对应的API40300Permission denied for this API.
    应用无权访问此API。
    应用绑定的API超过有效期40301Authorization expired for this API.

    应用访问此API的授权已过期。

    应用绑定的API超过访问频率40302Access per unit time exceeds the limit for this API.

    应用访问此API的频率超限。

    超时错误请求超时40800Request timeout.接口请求超时。



    附件列表


    主题: 数据服务
    • 有帮助
    • 没帮助
    • 只是浏览
    • 评价文档,奖励 1 ~ 100 随机 F 豆!