1.4.1 百度商业账号

优质
小牛编辑
133浏览
2023-12-01

没有传递基础用户信息

  • 没有传递token
{
    "header": {
        "desc": "system failure",
        "failures": [
            {
                "code": 8401,
                "message": "Token is not set in request header.please check the request json.sn:8000000000011",
                "position": "_user",
                "content": "id:1729958695803217792"
            }
        ],
        "status": 3
    }
}
  • 没有传递用户名
{
    "header": {
        "desc": "system failure",
        "failures": [
            {
                "code": 8101,
                "message": "Username is not set in request header. sn:8000000000006",
                "position": "_user",
                "content": "id:1152934993558650368"
            }
        ],
        "status": 3
    }
}

传递的基础用户信息不正确

{
    "header": {
        "desc": "system failure",
        "failures": [
            {
                "code": 8402,
                "message": "The token is invalid, please contact administrator. sn:1730240170806668544",
                "position": "_user"
            }
        ],
        "status": 3
    }
}

或者

{
    "header": {
        "desc": "system failure",
        "failures": [
            {
                "code": 8414,
                "message": "The token is invalid, please contact administrator. sn:1153920156013435392",
                "position": "_user"
            }
        ],
        "status": 3
    }
}

没有传递站点id或没有权限

{
    "header": {
        "desc": "failure",
        "failures": [
            {
                "code": 9101,
                "message": "Invalid Site Or No Permission"
            }
        ],
        "oprs": 1,
        "succ": 0,
        "oprtime": 0,
        "quota": 0,
        "rquota": 49915,
        "status": 2
    },
    "body": {}
}