错误码

最近更新时间:2019-07-10 10:15:51

错误码

1、AK、SK不匹配

{
    "RequestId": "1c5565fc-2b06-4a3f-92d2-594e73aa18e8",
    "Error": {
        "Type": "Sender",
        "Code": "SignatureNotMatch",
        "Message": "The Signature is not matched"
    }
}

2、Namespace 不正确

{
    "error": {
        "type": "sender",
        "code": "InvalidParameterValue",
        "message": "No such namesapce, namesapce: [KEC, KS3, KRDS, EIP, SLB, LISTENER, NAT, BWS, KTS, KCS, KAD, MONDB, PEER, EPC, VPNTU, CDN, MEMCACHED, KCE, KDC, DCGW]"
    },
    "requestId": "4b70205a-759e-45d6-b3ad-3391bb713469"
}

3、子账号没有权限,需要主账号在控制台对子账号配置monitor权限

{
    "RequestId": "ca361ee2-4e9f-4c4f-ab53-ca7a939383da",
    "Error": {
        "Type": "Sender",
        "Code": "InvalidAuthenticationCode",
        "Message": "lack of policy to [monitor:getmetricstatistics] the resources[]"
    }
}

4、InstanceID、namespace 和账号不匹配 或者 AWS Region 不存在

{
    "error": {
        "type": "server",
        "code": "403",
        "message": "[xxx(namespace)]产品不属于该用户"
    },
    "requestId": "522b96f1-86b7-4706-bc35-af6b85fdf951"
}

5、MetricName和AWS Region 不匹配或该监控项没有数据

{
    "error": {
        "type": "server",
        "code": "404",
        "message": "No such name for 'metrics': 'cpu.utilizition.total1.dab25452-9426-4e4e-870d-4491f638a598'"
    },
    "requestId": "fda75755-b3d2-4f39-b1cc-a2b1e0e80f21"
}

注:

AWS Region 不存在:传的AWS Region 为空或者控制台没有的region

AWS Region 不匹配:传的AWS Region控制台有,但InstanceID不属于该区域

控制台支持的region:

cn-beijing-6:可查询全部北京实例(包括cn-beijing-1-new)

cn-shanghai-2:可查询全部上海实例

cn-hongkong-2:可查询全部香港实例

cn-guangzhou-1:可查询全部广州实例

cn-taipei-1:可查询全部台湾实例

ap-singapore-1:可查询全部新加坡实例

eu-east-1:可查询全部俄罗斯实例

6、单次拉取数据太多,可减少end-start的差值,或减少Aggregate的采样方式,或增大降采样周期period。

{
"error": {
"type": "sender",
"code": "InvalidParameterValue",
"message": "Request information is too large"
},
"requestId": "3431"
}

金山云,开启您的云计算之旅

注册有礼