Error Codes

Last updated: 2021-11-16 10:35:54

Feature Description

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 List

Common Error Codes

Error Code Description
ActionOffline This API has been deprecated.
AuthFailure.InvalidAuthorization Authorization in the request header is invalid.
AuthFailure.InvalidSecretId Invalid key (not a TencentCloud API key type).
AuthFailure.MFAFailure MFA failed.
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.
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.
AuthFailure.SignatureFailure Invalid signature. Signature calculation error. Please ensure you’ve followed the signature calculation process described in the Signature API documentation.
AuthFailure.TokenFailure Token error.
AuthFailure.UnauthorizedOperation The request is not authorized. For more information, see the CAM documentation.
DryRunOperation DryRun Operation. It means that the request would have succeeded, but the DryRun parameter was used.
FailedOperation Operation failed.
InternalError Internal error.
InvalidAction The API does not exist.
InvalidParameter Incorrect parameter.
InvalidParameterValue Invalid parameter value.
InvalidRequest The multipart format of the request body is incorrect.
IpInBlacklist Your IP is in uin IP blacklist.
IpNotInWhitelist Your IP is not in uin IP whitelist.
LimitExceeded Quota limit exceeded.
MissingParameter A parameter is missing.
NoSuchProduct The product does not exist.
NoSuchVersion The API version does not exist.
RequestLimitExceeded The number of requests exceeds the frequency limit.
RequestLimitExceeded.GlobalRegionUinLimitExceeded Uin exceeds the frequency limit.
RequestLimitExceeded.IPLimitExceeded The number of ip requests exceeds the frequency limit.
RequestLimitExceeded.UinLimitExceeded The number of uin requests exceeds the frequency limit.
RequestSizeLimitExceeded The request size exceeds the upper limit.
ResourceInUse Resource is in use.
ResourceInsufficient Insufficient resource.
ResourceNotFound The resource does not exist.
ResourceUnavailable Resource is unavailable.
ResponseSizeLimitExceeded The response size exceeds the upper limit.
ServiceUnavailable Service is unavailable now.
UnauthorizedOperation Unauthorized operation.
UnknownParameter Unknown parameter.
UnsupportedOperation Unsupported operation.
UnsupportedProtocol HTTP(S) request protocol error; only GET and POST requests are supported.
UnsupportedRegion API does not support the requested region.

Service Error Codes

Error Code Description
InternalError.AccountCommon Failed to obtain the user authentication information
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.ClusterUpgradeNodeVersion The version of the cluster node is outdated.
InternalError.ComponentClientHttp Internal HTTP client error
InternalError.ComponentClinetHttp Error while requesting (HTTP) other Tencent Cloud services
InternalError.CreateMasterFailed Failed to create cluster.
InternalError.CvmCommon Error in node creation.
InternalError.CvmNotFound CVM does not exist.
InternalError.CvmNumberNotMatch Some of the CVMs cannot be found
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.KubeClientConnection Failed to connect to the user’s Kubernetes cluster.
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.KubernetesGetOperationError Failed to obtain the kubernetes resources
InternalError.KubernetesInternal Unknown Kubernetes error
InternalError.LbCommon An error occurs while calling the underlying CLB
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.VPCUnexpectedError Unknown VPC error
InternalError.VpcCommon VPC error
InternalError.VpcPeerNotFound Peering connection does not exist
InternalError.VpcRecodrNotFound VPC record not found
InternalError.WhitelistUnexpectedError Unknown allowlist error
InvalidParameter.AsCommonError Auto scaling group creation parameter error.
InvalidParameter.CidrConflictWithOtherCluster The CIDR block conflicts with the CIDR blocks of other clusters.
InvalidParameter.CidrConflictWithOtherRoute The route to create conflicts with existing routes.
InvalidParameter.CidrConflictWithVpcCidr The CIDR block conflicts with the VPC’s CIDR block.
InvalidParameter.CidrConflictWithVpcGlobalRoute The created route conflicts with the existing global route under the VPC.
InvalidParameter.CidrInvalid Parameter error. The CIDR block does not meet the specification.
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.PromInstanceNotFound The PROM instance does not exist.
InvalidParameter.RouteTableNotEmpty Route table is not empty.
OperationDenied Operation denied.
OperationDenied.ClusterInDeletionProtection The cluster is under deletion protection and cannot be deleted.
ResourceNotFound.AsAsgNotExist The scaling group does not exist.
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.