错误码
最近更新时间: 2024-10-18 10:38:33
功能说明
如果返回结果中存在 Error 字段,则表示调用 API 接口失败。例如:
{
"Response": {
"Error": {
"Code": "AuthFailure.SignatureFailure",
"Message": "The provided credentials could not be validated. Please check your signature is correct."
},
"RequestId": "ed93f3cb-f35e-473f-b9f3-0d451b8b79c6"
}
}
Error 中的 Code 表示错误码,Message 表示该错误的具体信息。
错误码列表
公共错误码
错误码 | 说明 |
---|---|
AuthFailure.InvalidSecretId | 密钥非法(不是云 API 密钥类型)。 |
AuthFailure.MFAFailure | MFA 错误。 |
AuthFailure.SecretIdNotFound | 密钥不存在。 请在控制台检查密钥是否已被删除或者禁用,如状态正常,请检查密钥是否填写正确,注意前后不得有空格。 |
AuthFailure.SignatureExpire | 签名过期。Timestamp 和服务器时间相差不得超过五分钟,请检查本地时间是否和标准时间同步。 |
AuthFailure.SignatureFailure | 签名错误。 签名计算错误,请对照调用方式中的接口鉴权文档检查签名计算过程。 |
AuthFailure.TokenFailure | token 错误。 |
AuthFailure.UnauthorizedOperation | 请求未 CAM 授权。 |
DryRunOperation | DryRun 操作,代表请求将会是成功的,只是多传了 DryRun 参数。 |
FailedOperation | 操作失败。 |
InternalError | 内部错误。 |
InvalidAction | 接口不存在。 |
InvalidParameter | 参数错误。 |
InvalidParameterValue | 参数取值错误。 |
LimitExceeded | 超过配额限制。 |
MissingParameter | 缺少参数错误。 |
NoSuchVersion | 接口版本不存在。 |
RequestLimitExceeded | 请求的次数超过了频率限制。 |
ResourceInUse | 资源被占用。 |
ResourceInsufficient | 资源不足。 |
ResourceNotFound | 资源不存在。 |
ResourceUnavailable | 资源不可用。 |
UnauthorizedOperation | 未授权操作。 |
UnknownParameter | 未知参数错误。 |
UnsupportedOperation | 操作不支持。 |
UnsupportedProtocol | http(s)请求协议错误,只支持 GET 和 POST 请求。 |
UnsupportedRegion | 接口不支持所传地域。 |
业务错误码
错误码 | 说明 |
---|---|
FailedOperation.DomainNotBindService | |
FailedOperation.ApiError | |
FailedOperation.GenerateApiDocumentError | |
ResourceInUse | |
InvalidParameterValue.UnsupportedParameter | |
UnsupportedOperation.CrossRegion | |
FailedOperation.DomainAlreadyBindOtherService | |
InvalidParameterValue.InvalidServiceConfig | |
InternalError.ApigwException | |
InvalidParameterValue.InvalidApiIds | |
InvalidParameterValue.InvalidGenLanguage | |
InvalidParameterValue.NothingModifyForOauth | |
UnsupportedOperation.UnsupportedUpdateApiKey | |
UnauthorizedOperation | |
FailedOperation.SubDomainFormatError | |
InvalidParameterValue.InvalidEnv | |
InvalidParameterValue.InvalidEnvStatus | |
InvalidParameterValue.Invalid | |
ResourceNotFound.InvalidService | |
UnsupportedOperation | |
FailedOperation.DomainInBlackList | |
InvalidParameterValue.InvalidApiType | |
UnsupportedOperation.InvalidServiceTrade | |
InternalError.ScfException | |
LimitExceeded.LogRuleCountLimitExceeded | |
InvalidParameterValue.InvalidVpcConfig | |
ResourceNotFound.InvalidApi | |
InvalidParameterValue.InvalidIPAddress | |
InternalError.ReturnableException | |
FailedOperation.ApiBindEnvironmen | |
LimitExceeded.ServiceCountForPluginLimitExceeded | |
InvalidParameterValue.InvalidApiBusinessType | |
InvalidParameterValue.InvalidApiRequestConfig | |
InvalidParameterValue.LimitExceeded | |
InvalidParameterValue.InvalidFilterNotSupportedName | |
FailedOperation | |
UnsupportedOperation.UnsupportedDeleteApi | |
FailedOperation.CertificateIsNull | |
LimitExceeded.ExceededDomainLimit | |
FailedOperation.DescribeServiceSubDomainsError | |
InvalidParameterValue.ParameterNotMatch | |
FailedOperation.ServiceError | |
MissingParameter.BackendSpecificParam | |
FailedOperation.DeletePathMappingSetError | |
InvalidParameterValue.InvalidPort | |
AuthFailure | |
ResourceNotFound.InvalidIPStrategy | |
DryRunOperation | |
FailedOperation.CertificateIdUnknownError | |
InvalidParameterValue.InvalidUrl | |
InvalidParameterValue.InvalidBackendPath | |
UnsupportedOperation.UnsupportedNetType | |
LimitExceeded.ServiceCountLimitExceeded | |
FailedOperation.ScfError | |
UnsupportedOperation.AlreadyBindUsagePlan | |
InvalidParameterValue.InvalidTsfConfig | |
ResourcesSoldOut | |
UnsupportedOperation.InvalidAction | |
InternalError.OssException | |
InvalidParameterValue.InvalidRegion | |
FailedOperation.DefineMappingNotNull | |
InternalError.VpcException | |
InvalidParameterValue.LengthExceeded | |
FailedOperation.ApiBindEnvironment | |
FailedOperation.CodingError | |
UnsupportedOperation.ModifyProtocol | |
InvalidParameterValue.RangeExceeded | |
InvalidParameterValue.InvalidServiceParameters | |
UnsupportedOperation.UnsupportedBindEnvironment | |
OperationDenied | |
ResourceNotFound.InvalidPlugin | |
FailedOperation.DefineMappingParamRepeat | |
LimitExceeded.ApiAppCountLimitExceeded | |
InvalidParameterValue.InvalidPluginConfig | |
UnauthorizedOperation.MFANotFound | |
FailedOperation.InvalidSCF | |
UnsupportedOperation.ResourceAssociated | |
RequestLimitExceeded | |
LimitExceeded.UsagePlanLimitExceeded | |
InvalidParameterValue.InvalidWSMethod | |
FailedOperation.CertificateIdVerifyFail | |
UnsupportedOperation.UsagePlanInUse | |
FailedOperation.PathMappingSetError | |
FailedOperation.IsDefaultMapping | |
UnauthorizedOperation.UnauthCls | |
InvalidParameterValue.InvalidAccessKeyIds | |
UnsupportedOperation.ModifyEIAMAuthApi | |
FailedOperation.ServiceInOperation | |
ResourceNotFound.InvalidAccessKeyId | |
FailedOperation.GetRoleError | |
InvalidParameterValue.InvalidConstantParameters | |
InternalError.CamException | |
UnsupportedOperation.ResourceIsInUse | |
FailedOperation.CertificateIdExpired | |
FailedOperation.NetSubDomainError | |
FailedOperation.DefineMappingPathError | |
FailedOperation.InstanceNotExist | |
ResourceNotFound.InvalidOauthApi | |
FailedOperation.SetCustomPathMappingError | |
ResourceInsufficient | |
UnknownParameter | |
FailedOperation.ApiInOperation | |
FailedOperation.EbError | |
InvalidParameterValue.InvalidProcotol | |
FailedOperation.TagBindServiceError | |
FailedOperation.AccessKeyExist | |
LimitExceeded.RequestLimitExceeded | |
FailedOperation.CertificateIdInfoError | |
FailedOperation.DomainNeedBeian | |
InvalidParameterValue.NotInOptions | |
FailedOperation.DefineMappingEnvironmentError | |
UnauthorizedOperation.UncertifiedUser | |
LimitExceeded | |
InvalidParameter.FormatError | |
ResourceNotFound.InvalidClsTopic | |
UnsupportedOperation.InvalidEndpointType | |
InvalidParameterValue.InvalidDestRegion | |
UnsupportedOperation.ForceHttps | |
UnsupportedOperation.AttachPlugin | |
InvalidParameterValue.InvalidMethod | |
UnsupportedOperation.CloneInService | |
FailedOperation.FormatError | |
FailedOperation.CertificateIdBindError | |
InvalidParameterValue.DuplicatePluginConfig | |
LimitExceeded.ExceededDefineMappingLimit | |
LimitExceeded.APIDocLimitExceeded | |
InvalidParameterValue.ParameterValueLimitExceeded | |
FailedOperation.DomainAlreadyBindService | |
InvalidParameterValue.InvalidServiceMockReturnMessage | |
UnsupportedOperation.NoUsagePlanEnv | |
InvalidParameterValue.InvalidCondition | |
ResourceUnavailable | |
LimitExceeded.ApiCountLimitExceeded | |
FailedOperation.UnknownProtocolTypeError | |
InvalidParameter | |
FailedOperation.ServiceNotExist | |
UnsupportedOperation.UnsupportedUnBindEnvironment | |
ResourceNotFound.InvalidUsagePlan | |
UnauthorizedOperation.AccessResource | |
UnauthorizedOperation.MFAExpired | |
UnsupportedOperation.InvalidStatus | |
UnsupportedOperation.InvalidInstanceState | |
InvalidParameterValue.InvalidTagValues | |
MissingParameter | |
LimitExceeded.TcbEnvironmentCountLimitExceeded | |
InvalidParameterValue.InvalidRunApiPara | |
InvalidParameterValue.InvalidClb | |
FailedOperation.CertificateIdEnterpriseWaitSubmit | |
ResourceNotFound.InvalidApiApp | |
FailedOperation.DomainResolveError | |
UnsupportedOperation.UnsupportedDeleteUpstream | |
InternalError | |
InvalidParameterValue | |
FailedOperation.CertificateIdUnderVerify | |
LimitExceeded.IpStrategyLimitExceeded | |
InvalidParameterValue.InvalidPublicKey | |
UnsupportedOperation.UinNotInWhiteList | |
InvalidParameterValue.InvalidServiceParam | |
LimitExceeded.LogRuleUniqueLimitExceeded | |
LimitExceeded.ApiKeyCountLimitExceeded | |
InternalError.TsfException | |
UnsupportedOperation.UnsupportedBindApiKey | |
UnsupportedOperation.UnsupportedDeleteService | |
ResourceNotFound | |
InvalidParameterValue.InvalidRequestParameters | |
InvalidParameterValue.InvalidScfConfig | |
InternalError.CauthException | |
UnsupportedOperation.ReduceNetTypes | |
FailedOperation.CertificateIdError | |
InvalidParameterValue.InvalidServiceType | |
ResourceNotFound.InvalidApiDoc |