Error Codes

Last updated: 2020-10-22 16:53:34

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
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.

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.
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.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.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.Duplicate The input parameter already exists.
InvalidParameterValue.Empty Missing parameters.
InvalidParameterValue.LimitExceeded The parameter value exceeds the limit.
InvalidParameterValue.Malformed Invalid input parameter format.
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.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.
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.
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.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.PrimaryIp The operation is not allowed for a primary IP.
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.ClassicInstanceIdAlreadyExists The instance has already been bound to the VPC.
UnsupportedOperation.ConflictWithDockerRoute The IP range overlaps with that of the TKE container under the VPC.
UnsupportedOperation.DirectConnectGatewayIsUpdatingCommunity Direct connect gateway is updating the BGP Community attribute.
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.MutexOperationTaskRunning The resource mutual exclusion operation is being executed.
UnsupportedOperation.NotPendingCcnInstance
UnsupportedOperation.NotPostpaidCcnOperation
UnsupportedOperation.PrepaidCcnOnlySupportInterRegionLimit
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.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.UserAndCcnChargeTypeNotMatch
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.
VpcLimitExceeded The maximum number of VPC resource requests for the specified region has been reached.

Was this page helpful?

Was this page helpful?

  • Not at all
  • Not very helpful
  • Somewhat helpful
  • Very helpful
  • Extremely helpful
Send Feedback
Help