Error Codes

Last updated: 2021-05-24 16:20:22

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.
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.
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.
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
AddressQuotaLimitExceeded The account quota is reached. Each Tencent Cloud account can create up to 20 EIPs in each region.
AddressQuotaLimitExceeded.DailyAllocate The maximum number of requests is reached. The maximum number of requests made by a Tencent Cloud account per day in each region equals to two times the quota.
AuthFailure CAM signature or authentication error.
InternalServerError Internal error.
InvalidAccount.NotSupported This account is not supported.
InvalidAddressId.Blocked The specified EIP is in blocked status. When the EIP is in blocked status, it cannot be bound. You must first unblock it.
InvalidAddressId.NotFound The specified EIP does not exist.
InvalidAddressIdState.InArrears The specified EIP is in arrears.
InvalidAddressIdStatus.NotPermit The specified EIP cannot be bound in current status. It can only be bound in UNBIND status.
InvalidAddressState The operation cannot be performed on the specified EIP in current status.
InvalidInstance.NotSupported This instance is not supported.
InvalidInstanceId.AlreadyBindEip The specified instance has already been bound to an EIP. You must unbind the current EIP first before binding another EIP.
InvalidInstanceId.NotFound Invalid instance ID. The specified instance ID does not exist.
InvalidNetworkInterfaceId.NotFound The specified NetworkInterfaceId does not exist or the specified PrivateIpAddress is not on the NetworkInterfaceId.
InvalidParameter.Coexist The parameters cannot be specified at the same time.
InvalidParameter.FilterInvalidKey The specified filter condition does not exist.
InvalidParameter.FilterNotDict The specified filter condition should be a key-value pair.
InvalidParameter.FilterValuesNotList The specified filter value should be a list.
InvalidParameter.NextHopMismatch The next hop type does not match with the next hop gateway.
InvalidParameterConflict The two parameters cannot be specified at the same time, nor exist concurrently. EIP can only be bound to the instances or the specified private IPs of the specified ENIs.
InvalidParameterValue.BandwidthOutOfRange The bandwidth exceeds the limit.
InvalidParameterValue.BandwidthTooSmall The selected bandwidth is smaller than the minimum permissible range.
InvalidParameterValue.CcnAttachBmvpcLimitExceeded The number of BM VPCs associated with the specified CCN has reached the upper limit.
InvalidParameterValue.CidrNotInPeerVpc The destination IP address range is not within the CIDR range of the the customer VPC.
InvalidParameterValue.Combination Invalid input parameters
InvalidParameterValue.Duplicate The input parameter already exists.
InvalidParameterValue.Empty Missing parameters.
InvalidParameterValue.InvalidDedicatedClusterId Invalid DedicatedClusterId.
InvalidParameterValue.LimitExceeded The parameter value exceeds the limit.
InvalidParameterValue.Malformed Invalid input parameter format.
InvalidParameterValue.NatSnatRuleExists The NAT Gateway already has an identical SNAT rule.
InvalidParameterValue.NetDetectSameIp The detection destination IP address is the same as that of another network detection instance under the same subnet in the same VPC.
InvalidParameterValue.OnlySupportedForMasterNetworkCard This operation is only available for primary ENIs.
InvalidParameterValue.Range The parameter value is not in the specified range.
InvalidParameterValue.Reserved The parameter value is retained by the system.
InvalidParameterValue.SubnetConflict Subnet CIDR conflict.
InvalidParameterValue.SubnetRange Invalid subnet CIDR.
InvalidParameterValue.TooLong Invalid parameter value. The parameter value is too long.
InvalidParameterValue.VpcCidrConflict Destination IP address range conflicts with CIDR of the current VPC.
InvalidParameterValue.VpnConnCidrConflict Destination IP address range conflicts with CIDR block of the current VPC tunnel.
InvalidParameterValue.ZoneConflict The Zone parameter value should be the zone where CDC resides.
InvalidPrivateIpAddress.AlreadyBindEip The specified private IP of the specified ENI has already been bound to an EIP. A private IP cannot be bound to more than one EIP.
InvalidRouteId.NotFound Invalid routing policy ID (RouteId).
InvalidRouteTableId.Malformed Invalid route table. The route table ID is invalid.
InvalidRouteTableId.NotFound Invalid route table. The VPC resource does not exist. Please check and enter the correct resource information.
InvalidSecurityGroupID.Malformed Invalid security group. The security group instance ID is invalid.
InvalidSecurityGroupID.NotFound Invalid security group. The security group instance ID does not exist.
InvalidVpcId.Malformed Invalid VPC. The VPC instance ID is invalid.
InvalidVpcId.NotFound Invalid VPC. The VPC resource does not exist.
InvalidVpnGatewayId.Malformed Invalid VPN gateway. The VPN instance ID is invalid.
InvalidVpnGatewayId.NotFound Invalid VPN gateway. The VPN instance does not exist. Verify if you have entered the correct resource information.
LimitExceeded.Address The number of assigned IP addresses has reached the upper limit.
LimitExceeded.AddressQuotaLimitExceeded The number of EIPs applied for exceeds the upper limit.
LimitExceeded.CidrBlock The number of assigned IP ranges of the VPC has reached the upper limit.
LimitExceeded.DailyAllocateAddressQuotaLimitExceeded The number of EIPs applied for exceeds the daily upper limit.
LimitExceeded.NatGatewayPerVpcLimitExceeded The number of NAT gateways created by the VPC has reached the upper limit.
LimitExceeded.PublicIpAddressPerNatGatewayLimitExceeded The number of EIPs bound to the NAT gateway has reached the upper limit.
LimitExceeded.SecurityGroupPolicySet The number of security group rules exceeds the upper limit.
LimitExceeded.SubnetCidrBlock The number of subnet IP ranges assigned in the subnet has reached the upper limit.
MissingResourceId The entity to be bound to is missing. InstanceId, NetworkInterfaceId or PrivateIpAddress must be specified.
ResourceInUse.Address The specified IP address is already in use.
ResourceInsufficient.CidrBlock The IP range resources are insufficient.
UnauthorizedOperation.AttachmentNotFound The binding relationship does not exist.
UnauthorizedOperation.NoRealNameAuthentication Identity verification has not been completed for the account.
UnauthorizedOperation.PrimaryIp The operation is not allowed for a primary IP.
UnknownParameter.WithGuess Unknown parameter. Try similar parameters.
UnsupportedOperation.ActionNotFound The port does not exist.
UnsupportedOperation.AttachmentAlreadyExists The EIP is already bound to a CVM.
UnsupportedOperation.AttachmentNotFound The binding relationship does not exist.
UnsupportedOperation.BandwidthNotExpired Unable to delete the current CCN instance: its monthly-subscribed bandwidth does not expire.
UnsupportedOperation.BindEIP EIP has already been bound.
UnsupportedOperation.CIDRUnSupportedClassicLink The specified VPC CIDR range does not support Classiclink.
UnsupportedOperation.CcnAttached The instance is already associated with a CCN.
UnsupportedOperation.CcnNotAttached The instance is not associated with a CCN.
UnsupportedOperation.CdcSubnetNotSupportUnLocalGateway CDC subnet can only create a route to the local gateway.
UnsupportedOperation.ClassicInstanceIdAlreadyExists The instance has already been bound to the VPC.
UnsupportedOperation.ClbPolicyLimit Public network CLB does not support this policy.
UnsupportedOperation.ConflictWithDockerRoute The IP range overlaps with that of the TKE container under the VPC.
UnsupportedOperation.DcGatewaysNotFoundInVpc No direct connect gateway exists in the specified VPC.
UnsupportedOperation.DirectConnectGatewayIsUpdatingCommunity Direct connect gateway is updating the BGP Community attribute.
UnsupportedOperation.DisabledNotifyCcn The specified routing policy cannot be re-published to CCN. Please first withdraw it from CCN.
UnsupportedOperation.DuplicatePolicy The security group policies are repeated.
UnsupportedOperation.Ecmp ECMP is not supported.
UnsupportedOperation.EcmpWithCcnRoute Form an ECMP with the CCN route.
UnsupportedOperation.EcmpWithUserRoute Form an ECMP with the user’s custom routes.
UnsupportedOperation.InsufficientFunds Insufficient account balance.
UnsupportedOperation.InvalidState Invalid resource status.
UnsupportedOperation.IsNotFinanceAccount The account of the instance associated with the current CCN is not a Financial Cloud account.
UnsupportedOperation.LocalGateWayAlreadyExists The specified CDC instance already has a local gateway.
UnsupportedOperation.MutexOperationTaskRunning The resource mutual exclusion operation is being executed.
UnsupportedOperation.NatGatewayTypeNotSupportSNAT The specified NAT Gateway type does not support configuring a SNAT rule.
UnsupportedOperation.NormalSubnetNotSupportLocalGateway The specified subnet does not support creating a route to the local gateway.
UnsupportedOperation.NotPendingCcnInstance Unsupported operation: the current CCN instance is not in “Applying” status.
UnsupportedOperation.NotPostpaidCcnOperation Unsupported operation: the current CCN instance is not billed on a pay-as-you-go basis.
UnsupportedOperation.NotifyCcn The specified routing policy cannot be published to or withdrawn from CCN.
UnsupportedOperation.PrepaidCcnOnlySupportInterRegionLimit The monthly subscription CCN instance only supports the inter-region bandwidth limit.
UnsupportedOperation.PrimaryIp The specified value is a primary IP.
UnsupportedOperation.PublicIpAddressDisassociate At least one EIP exists on the NAT gateway, and the EIP cannot be unbound.
UnsupportedOperation.PublicIpAddressIsNotBGPIp The EIP bound to the NAT gateway is not a BGP IP.
UnsupportedOperation.PublicIpAddressIsNotExisted The EIP bound to the NAT gateway does not exist.
UnsupportedOperation.PublicIpAddressNotBilledByTraffic The EIP bound to the NAT gateway is not bill-by-traffic.
UnsupportedOperation.SpecialEndPointService The endpoint created by the specified endpoint service cannot be bound to a security group.
UnsupportedOperation.SystemRoute System route. Operation is prohibited.
UnsupportedOperation.UinNotFound The account ID does not exist.
UnsupportedOperation.UnableCrossBorder Cross border is not supported.
UnsupportedOperation.UnableCrossFinance The current CCN cannot be associated with a Financial Cloud instance.
UnsupportedOperation.UnassignCidrBlock IPv6 IP range is not assigned.
UnsupportedOperation.UnbindEIP EIP is not bound.
UnsupportedOperation.UnsupportedInstanceFamily The specified instance type does not support ENIs.
UnsupportedOperation.UserAndCcnChargeTypeNotMatch The selected CCN instance cannot be created because the payment type is not supported.
UnsupportedOperation.VersionMismatch The specified version number of the security group policy is inconsistent with the latest version.
UnsupportedOperation.VpcMismatch The resources are not in the same VPC.
UnsupportedOperation.ZoneMismatch The specified resources are not in the same availability zone.
VpcLimitExceeded The maximum number of VPC resource requests for the specified region has been reached.