ErrorCode

Last Updated At: 2026-08-02 00:06: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 codes Description
AuthFailure.InvalidSecretId Invalid key (not a Cloud 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 does not have CAM authorization.
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.
LimitExceeded Quota limit exceeded.
MissingParameter A parameter is missing.
NoSuchVersion The API version does not exist.
RequestLimitExceeded The number of requests exceeds the frequency limit.
ResourceInUse Resource is in use.
ResourceInsufficient Insufficient resource.
ResourceNotFound The resource does not exist.
ResourceUnavailable Resource is unavailable.
UnauthorizedOperation Unauthorized operation.
UnknownParameter Unknown parameter.
UnsupportedOperation Unsupported operation.
UnsupportedProtocol HTTPS request method error. Only GET and POST requests are supported.
UnsupportedRegion API does not support the requested region.

Service Error Codes

Error codes Description
UnsupportedOperation.VpcPeerInvalidStateChange The peering connection status is abnormal.
LimitExceeded.JNSRulesExceeded
InvalidParameterValue.CcnAttachBmvpcLimitExceeded The number of BM VPCs associated with the specified CCN has reached the upper limit.
InvalidParameterValue.Reserved The parameter value is a reserved object of the system.
UnsupportedOperation.Ecmp ECMP is not supported.
InvalidParameterValue.TooLong Invalid input: Excessive length of the parameter.
InvalidParameterValue.NetDetectSameIp The probe destination IP is the same as that of another network probe within the same VPC and subnet.
InvalidParameterValue.Duplicate Input Parameters are repetitive.
InvalidParameterValue The parameter value is invalid.
LimitExceeded.Address The number of IP addresses allocated has reached the upper limit.
InvalidVpnGatewayId.Malformed Invalid VPN gateway. VPN instance ID is invalid.
MissingParameter Missing parameters. The request did not carry the required parameter.
InvalidVpcId.NotFound Invalid VPC. The VPC resource does not exist.
InvalidParameterValue.AclRuleNotExists The Direct Connect gateway ACL rule does not exist.
ResourceInUse.Address The specified IP address is already in use.
InvalidAddressId.NotFound The specified EIP does not exist.
UnsupportedOperation.RecordNotExists
ResourceInsufficient Insufficient resources
InvalidSecurityGroupID.NotFound Invalid security group. The security group instance ID does not exist.
MissingResourceId Missing bound entity. Either InstanceId, NetworkInterfaceId, or PrivateIpAddress must be specified.
InvalidParameterValue.MirrorLackTargetResource The private network bandwidth for the traffic mirror target is insufficient.
UnknownParameter.WithGuess This parameter cannot be recognized. Similar parameters can be used for replacement.
InvalidParameterValue.SubnetRange Invalid subnet CIDR.
UnsupportedOperation.NotMatchTargetService
FailedOperation.NetDetectTimeOut
UnsupportedOperation.DirectConnectGatewayIsUpdatingCommunity The Direct Connect gateway is updating the BGP Community attribute.
UnknownParameter Unknown parameter error
ResourceInsufficient.CidrBlock The IP range resources are insufficient.
UnsupportedOperation.UinNotFound The account ID does not exist.
LimitExceeded.NatGatewayPerVpcLimitExceeded The number of NAT gateways created by VPC has exceeded the upper limit.
InvalidParameter.Coexist The parameters must not be specified simultaneously.
AddressQuotaLimitExceeded Insufficient account quota. Each account can create up to 20 EIPs in each region.
UnsupportedOperation.InsufficientFunds Insufficient account balance
InvalidNetworkInterfaceId.NotFound The specified NetworkInterfaceId does not exist or the specified PrivateIpAddress is not on the NetworkInterfaceId.
UnsupportedOperation.VpcPeerAlreadyExist The peering connection already exists.
InvalidPrivateIpAddress.AlreadyBindEip The specified private IP of the specified ENI has already been bound to an EIP. It cannot be bound again.
InvalidParameterValue.CidrNotInPeerVpc The destination IP range is not within the CIDR range of the peer VPC.
InvalidParameterValue.Malformed Invalid input format.
UnsupportedOperation.SystemRoute System route. The operation is prohibited.
UnsupportedOperation.MutexOperationTaskRunning Exclusive operation task of resources is in progress.
InvalidInstance.NotSupported The instance is not supported.
UnsupportedOperation.VpcMismatch The resources do not belong to the same VPC.
VpcLimitExceeded The application number of VPC resources in the specified region has reached the upper limit.
InvalidInstanceId.AlreadyBindEip The specified instance has already been bound with an EIP. The current EIP must be unbound before another binding operation can be performed.
UnsupportedOperation.ZoneMismatch
UnsupportedOperation.PublicIpAddressDisassociate A NAT gateway must have at least one elastic IP, which cannot be unbound.
InvalidParameterValue.IpNotExists It does not exist within the rules.
InvalidParameterValue.AclRuleExists The Direct Connect gateway ACL rule already exists.
InvalidParameterValue.NotInVpcCidr It must be within the VPC CIDR range.
AddressQuotaLimitExceeded.DailyAllocate Insufficient purchase attempts. The number of daily subscriptions for each account in each region is twice the quota.
UnauthorizedOperation.PrimaryIp The primary IP does not support the specified operation.
UnsupportedOperation.ClassicInstanceIdAlreadyExists The instance is already bound to the VPC.
InvalidParameter.InvalidPortType Port Type Error
InternalServerError Internal operation error.
UnsupportedOperation.AppIdMismatch
InvalidAddressIdState.InArrears The specified EIP is in arrears state.
InvalidAddressState The current status of the specified EIP does not allow this operation.
UnsupportedOperation.InvalidState The resource status is invalid.
InvalidParameterValue.ObjectUseInTrafficMirror The traffic mirror collection object has already been used.
InvalidParameterValue.VpgVpcNotMatch The Direct Connect gateway does not exist or is not associated with the VPC.
InvalidParameter.NextHopMismatch The next hop type does not match it's gateway.
LimitExceeded.PublicIpAddressPerNatGatewayLimitExceeded The number of elastic IPs bound to the NAT gateway has exceeded the upper limit.
UnsupportedOperation.DuplicatePolicy Duplicate security group rules.
InvalidParameterValue.NotNatVpg It's not a NAT type Direct Connect gateway.
UnsupportedOperation.PublicIpAddressIsNotBGPIp The elastic IP address bound to NAT gateway is not an IP of BGP attribute.
UnsupportedOperation.BindEIP An EIP is already bound.
InvalidParameterConflict The specified two parameters conflict with each other and can not coexist. An EIP can only be bound to an instance or a specified private network IP of a designated network interface.
UnsupportedOperation.UnableCrossFinance The current CCN cannot be associated with Finance Cloud instances.
UnsupportedOperation.SubnetNotExists
InvalidSecurityGroupID.Malformed Invalid security group. Invalid security group instance ID.
InvalidProjectId.NotFound The project ID is invalid.
ResourceNotFound The resource does not exist
InvalidParameterValue.IpExists It already exists in the rules.
InvalidParameterValue.VpnConnCidrConflict The destination IP range conflicts with the CIDR of current VPN tunnel.
ResourceInUse Resources occupied
UnsupportedOperation.CcnAttached The instance is already associated with a CCN.
InvalidInstanceId.NotFound Invalid instance ID. The specified instance ID does not exist.
InvalidAccount.NotSupported This account is not supported.
UnsupportedOperation.ActionNotFound The API does not exist.
UnsupportedOperation.AttachmentAlreadyExists
InvalidVpcId.Malformed Invalid VPC. The VPC instance ID is invalid.
UnsupportedOperation.VersionMismatch The specified security group rule version number is inconsistent with the latest version.
InvalidParameterValue.InVpcCidr It cannot be within the VPC CIDR range.
UnsupportedOperation.UnbindEIP No EIP is bound.
InvalidParameter Invalid input parameters.
InvalidParameterValue.NatRuleExists Existed
UnsupportedOperation.UnsupportedInstanceFamily
UnsupportedOperation.PublicIpAddressNotBilledByTraffic The elastic IP bound to the NAT gateway is not charged by traffic.
InvalidAddressIdStatus.NotPermit The current status of the designated EIP does not allow for binding operation. Binding operation can only be performed when the EIP's status is UNBIND.
InvalidParameterValue.VpcCidrConflict The destination IP range conflicts with the current VPC's CIDR.
InvalidParameter.FilterValuesNotList
UnsupportedOperation.EcmpWithCcnRoute An ECMP is formed with the route to CCN.
InternalError
InternalError.ModuleError
LimitExceeded.ActionLimited
ResourceUnavailable Resource unavailable
LimitExceeded.SubnetCidrBlock The number of sub-IP range allocated to the sub-net has reached the upper limit.
UnsupportedOperation.PublicIpAddressIsNotExisted The elastic IP bound to the NAT gateway does not exist.
UnsupportedOperation.UnableCrossBorder Cross-border is not supported.
UnsupportedOperation.UnassignCidrBlock The IPv6 IP range is not allocated.
LimitExceeded.CidrBlock The number of IP ranges allocated to the VPC has reached the upper limit.
UnsupportedOperation.EniHasSubEni
LimitExceeded Exceeded the limit
UnsupportedOperation.ResourceMismatch
InvalidParameterValue.Empty Missing parameter
InvalidParameterValue.SubnetConflict There's a subnet CIDR conflict.
InvalidVpnGatewayId.NotFound Invalid VPN gateway. The VPN instance does not exist. Verify whether the resource information you entered is correct.
UnsupportedOperation.AttachmentNotFound The binding relationship does not exist.
InvalidParameterValue.NatRuleNotExists The Direct Connect gateway NAT rule does not exist.
UnsupportedOperation.ConflictWithDockerRoute Overlaps with the IP range of a TKE container under this VPC.
InvalidParameter.FilterInvalidKey
UnauthorizedOperation Unauthorized operation
UnauthorizedOperation.AttachmentNotFound The binding relationship does not exist.
UnsupportedOperation.CcnNotAttached The instance is not associated with a CCN.
InvalidAddressId.Blocked The designated EIP is in a blocked state. Binding operation cannot be performed while the EIP is blocked. Unbinding is required first.
UnsupportedOperation.EcmpWithUserRoute An ECMP is formed with the user-defined route.
InvalidParameterValue.ObjectVpcNotCurrentVpc The VPC collected by the traffic mirror is not the current VPCID.
UnsupportedOperation Operation unsupported.
InvalidParameterValue.ParameterMismatch
UnsupportedOperation.CIDRUnSupportedClassicLink The specified VPC CIDR range does not support interconnection between the VPC and basic network devices.
InvalidParameterValue.Range The parameter value is not within the specified range.
InvalidParameterValue.LimitExceeded The parameter value exceeds the limit.
InvalidParameterValue.SubnetOverlapAssistCidr
UnsupportedOperation.LocalGatewayAlreadyExists The specified CDC instance already has a local gateway.