If there is an Error field in the response, it means that the API call failed. For example:
{
"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"
}
}
Code in Error indicates the error code, and Message indicates the specific information of the error.
Error Code | Description |
---|---|
UnsupportedOperation | Unsupported operation. |
ResourceInUse | Resource is in use. |
InternalError | Internal error. |
RequestLimitExceeded | The number of requests exceeds the frequency limit. |
AuthFailure.SecretIdNotFound | Key does not exist. Check if the key has been deleted or disabled in the console, and if not, check if the key is correctly entered. Note that whitespaces should not exist before or after the key. |
LimitExceeded | Quota limit exceeded. |
NoSuchVersion | The API version does not exist. |
ResourceNotFound | The resource does not exist. |
AuthFailure.SignatureFailure | Invalid signature. Signature calculation error. Please ensure you’ve followed the signature calculation process described in the Signature API documentation. |
AuthFailure.SignatureExpire | Signature expired. Timestamp and server time cannot differ by more than five minutes. Please ensure your current local time matches the standard time. |
UnsupportedRegion | API does not support the requested region. |
UnauthorizedOperation | Unauthorized operation. |
InvalidParameter | Incorrect parameter. |
ResourceUnavailable | Resource is unavailable. |
AuthFailure.MFAFailure | MFA failed. |
AuthFailure.UnauthorizedOperation | The request is not authorized. For more information, see the CAM documentation. |
AuthFailure.InvalidSecretId | Invalid key (not a TencentCloud API key type). |
AuthFailure.TokenFailure | Token error. |
DryRunOperation | DryRun Operation. It means that the request would have succeeded, but the DryRun parameter was used. |
FailedOperation | Operation failed. |
UnknownParameter | Unknown parameter. |
UnsupportedProtocol | HTTP(S) request protocol error; only GET and POST requests are supported. |
InvalidParameterValue | Invalid parameter value. |
InvalidAction | The API does not exist. |
MissingParameter | A parameter is missing. |
ResourceInsufficient | Insufficient resource. |
Error Code | Description |
---|---|
InternalError.AccountUserNotAuthenticated | Account not verified. |
InternalError.AsCommon | Error creating scaling group resource. |
InternalError.CamNoAuth | You do not have permissions. |
InternalError.CidrConflictWithOtherCluster | CIDR conflicts with the CIDR of another cluster. |
InternalError.CidrConflictWithOtherRoute | CIDR conflicts with another route. |
InternalError.CidrConflictWithVpcCidr | CIDR conflicts with VPC. |
InternalError.CidrConflictWithVpcGlobalRoute | CIDR conflicts with global route. |
InternalError.CidrInvali | Invalid CIDR. |
InternalError.CidrMaskSizeOutOfRange | Invalid CIDR mask. |
InternalError.ClusterNotFound | Cluster not found. |
InternalError.ClusterState | Cluster status error. |
InternalError.CreateMasterFailed | Failed to create cluster. |
InternalError.CvmCommon | Error in node creation. |
InternalError.CvmNotFound | CVM does not exist. |
InternalError.Db | DB error. |
InternalError.DbAffectivedRows | Database error. |
InternalError.DbRecordNotFound | Record not found. |
InternalError.DfwGetUSGCount | Failed to obtain total number of current security groups. |
InternalError.DfwGetUSGQuota | Failed to obtain security group quota. |
InternalError.EmptyClusterNotSupport | Empty clusters are not supported. |
InternalError.ImageIdNotFound | Image not found. |
InternalError.InitMasterFailed | Failed to initialize Master. |
InternalError.InvalidPrivateNetworkCidr | Invalid CIDR. |
InternalError.KubeCommon | Kubernetes API error. |
InternalError.KubernetesClientBuildError | Failed to create the kubernetes client. |
InternalError.KubernetesCreateOperationError | Failed to create the kubernetes resource. |
InternalError.KubernetesDeleteOperationError | Failed to delete the kubernetes resource. |
InternalError.OsNotSupport | Image OS not supported. |
InternalError.Param | Parameter error. |
InternalError.PodNotFound | Pod not found |
InternalError.PublicClusterOpNotSupport | Cluster does not support the current operation. |
InternalError.QuotaMaxClsLimit | Quota limit exceeded. |
InternalError.QuotaMaxNodLimit | Quota limit exceeded. |
InternalError.QuotaMaxRtLimit | Quota limit exceeded. |
InternalError.QuotaUSGLimit | Insufficient security group quota. |
InternalError.ResourceExistAlready | Resource already exists. |
InternalError.RouteTableNotEmpty | Route table is not empty. |
InternalError.RouteTableNotFound | Route table does not exist. |
InternalError.TaskCreateFailed | Failed to create the task. |
InternalError.TaskLifeStateError | The task in the current state does not support this operation. |
InternalError.TaskNotFound | No task found |
InternalError.UnexceptedInternal | Internal error. |
InternalError.UnexpectedInternal | Unknown internal error. |
InternalError.VpcCommon | VPC error |
InternalError.VpcPeerNotFound | Peering connection does not exist |
InternalError.VpcRecodrNotFound | VPC record not found |
InvalidParameter.AsCommonError | Auto scaling group creation parameter error. |
InvalidParameter.CidrOutOfRouteTable | The CIDR block is not in the route table. |
InvalidParameter.ClusterNotFound | The cluster ID does not exist. |
InvalidParameter.GatewayAlreadyAssociatedCidr | Next hop address is already associated with a CIDR block. |
InvalidParameter.Param | Invalid parameter. |
InvalidParameter.RouteTableNotEmpty | Route table is not empty. |
OperationDenied.ClusterInDeletionProtection | The cluster is under deletion protection and cannot be deleted. |
ResourceNotFound.ClusterNotFound | The cluster does not exist. |
ResourceNotFound.KubeResourceNotFound | The specified resource is not found in the Kubernetes cluster. |
ResourceNotFound.KubernetesResourceNotFound | The kubernetes resource does not exist. |
ResourceUnavailable.ClusterState | The cluster’s status does support this operation. |
UnauthorizedOperation.CamNoAuth | The API has no CAM permissions. |
UnsupportedOperation.CaEnableFailed | Failed to enable CA because AS is disabled. |
UnsupportedOperation.NotInWhitelist | The user is not in the allowlist. |
Was this page helpful?