Error Codes

Last updated: 2020-10-23 10:05: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
    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
    AccountQualificationRestrictions Your account failed the qualification verification.
    AuthFailure.CamRoleNameAuthenticateFailed Role name authentication failed.
    EniNotAllowedChangeSubnet ENIs do not support changing subnets.
    FailedOperation.AccountAlreadyExists The account already exists.
    FailedOperation.AccountIsYourSelf You cannot share images with yourself.
    FailedOperation.IllegalTagKey The tag key contains invalid characters.
    FailedOperation.InquiryPriceFailed Price query failed.
    FailedOperation.NotFoundEIP This instance does not bind an EIP.
    FailedOperation.NotMasterAccount You’re using a collaborator account. Please enter a root account.
    FailedOperation.PlacementSetNotEmpty The specified placement group is not empty.
    FailedOperation.PromotionalPerioRestriction
    FailedOperation.TagKeyReserved The tag key specified in the request is reserved for the system.
    ImageQuotaLimitExceeded The image quota has been exceeded.
    InstancesQuotaLimitExceeded You are trying to create more instances than your remaining quota allows.
    InternalError.TradeUnknownError Internal error.
    InternalServerError Internal error.
    InvalidAccount.InsufficientBalance Insufficient account balance.
    InvalidAccount.UnpaidOrder The account has unpaid orders.
    InvalidAccountId.NotFound Invalid account ID.
    InvalidAccountIs.YourSelf You cannot share images with yourself.
    InvalidClientToken.TooLong The specified ClientToken exceeds the maximum length of 64 bytes.
    InvalidFilter Invalid filter.
    InvalidFilterValue.LimitExceeded Filter
    InvalidHost.NotSupported The specified operation on this CDH instance is not support .
    InvalidHostId.Malformed Invalid CDH ID. The specified CDH ID has an invalid format. For example, host-1122 has an invalid ID length.
    InvalidHostId.NotFound The specified HostId does not exist, or does not belong to your account.
    InvalidImageId.InShared The image is being shared.
    InvalidImageId.IncorrectState Invalid image status.
    InvalidImageId.Malformed Invalid image ID format.
    InvalidImageId.NotFound The image cannot be found.
    InvalidImageId.TooLarge The image size exceeds the limit.
    InvalidImageName.Duplicate The specified image name already exists.
    InvalidImageOsType.Unsupported The operating system type is not supported.
    InvalidImageOsVersion.Unsupported The operating system version is not supported.
    InvalidInstance.NotSupported This instance is not supported.
    InvalidInstanceId.Malformed Invalid instance ID. The specified instance ID has an invalid format. For example, ins-1122 has an invalid ID length.
    InvalidInstanceId.NotFound No instance found.
    InvalidInstanceName.TooLong The specified InstanceName exceeds the maximum length of 60 bytes.
    InvalidInstanceNotSupportedPrepaidInstance This instance does not meet the Return Policy for prepaid instances.
    InvalidInstanceState This operation cannot be performed due to the current instance status.
    InvalidInstanceType.Malformed The specified InstanceType parameter has an invalid format.
    InvalidKeyPair.LimitExceeded The number of key pairs exceeds the limit.
    InvalidKeyPairId.Malformed Invalid key pair ID. The specified key pair ID has an invalid format. For example, skey-1122 has an invalid ID length.
    InvalidKeyPairId.NotFound Invalid key pair ID. The specified key pair ID does not exist.
    InvalidKeyPairName.Duplicate Key pair name already exists.
    InvalidKeyPairNameEmpty The key name cannot be empty.
    InvalidKeyPairNameIncludeIllegalChar The key name contains invalid characters. Key names can only contain letters, numbers and underscores.
    InvalidKeyPairNameTooLong The key name cannot exceed 25 characters.
    InvalidParameter.DataDiskIdContainsRootDisk RootDisk ID should not be passed to DataDiskIds.
    InvalidParameter.DataDiskNotBelongSpecifiedInstance The specified data disk does not belong to the specified instance.
    InvalidParameter.DuplicateSystemSnapshots Only one system disk snapshot can be included.
    InvalidParameter.HostNameIllegal The specified HostName is invalid.
    InvalidParameter.InstanceImageNotSupport This API does not support instance images.
    InvalidParameter.InvalidDependence Invalid parameter dependency.
    InvalidParameter.InvalidIpFormat Invalid VPC IP address format.
    InvalidParameter.InvalidParameterCoexistImageIdsFilters ImageIds and Filters cannot be specified at the same time.
    InvalidParameter.InvalidParameterUrlError Invalid URL.
    InvalidParameter.LackCoreCountOrThreadPerCore CoreCount and ThreadPerCore must be specified at the same time.
    InvalidParameter.LocalDataDiskNotSupport Local disks cannot be used to create instance images.
    InvalidParameter.SnapshotNotFound The specified snapshot does not exist.
    InvalidParameter.SpecifyOneParameter At least one of the multiple parameters must be passed in.
    InvalidParameter.SwapDiskNotSupport Swap disks are not supported.
    InvalidParameter.SystemSnapshotNotFound The parameter does not contain system disk snapshot.
    InvalidParameter.ValueTooLarge The length of parameter exceeds the limit.
    InvalidParameterCombination The parameter combination is invalid.
    InvalidParameterConflict The two specified parameters conflict. An EIP can only be bound to the instance or the specified private IP of the specified ENI.
    InvalidParameterValue.CloudSsdDataDiskSizeTooSmall The minimum capacity of a SSD data disk is 100 GB.
    InvalidParameterValue.CoreCountValue Illegal core count.
    InvalidParameterValue.IllegalHostName The value of HostName is invalid.
    InvalidParameterValue.InstanceTypeNotFound The specified instance type does not exist.
    InvalidParameterValue.InstanceTypeNotSupportHpcCluster This type of instances cannot be added to the HPC cluster.
    InvalidParameterValue.InstanceTypeRequiredHpcCluster The HPC cluster needs to be specified for the high-performance computing instance.
    InvalidParameterValue.InsufficientOffering The spot instance is out of stock.
    InvalidParameterValue.InsufficientPrice The bid is lower than the market price.
    InvalidParameterValue.InvalidImageId The image does not support this operation.
    InvalidParameterValue.InvalidImageState Invalid image status.
    InvalidParameterValue.InvalidIpFormat Invalid IP address.
    InvalidParameterValue.InvalidParameterValueLimit Invalid parameter value.
    InvalidParameterValue.InvalidUserDataFormat Incorrect UserData format. Use the Base64-encoded format.
    InvalidParameterValue.KeyPairNotSupported The specified key does not support the operation.
    InvalidParameterValue.LimitExceeded The number of parameter values exceeds the limit.
    InvalidParameterValue.MustDhcpEnabledVpc The parameter value must be a DHCP-enabled VPC.
    InvalidParameterValue.NotSupported Unsupported operation.
    InvalidParameterValue.Range Invalid parameter value: invalid parameter value range.
    InvalidParameterValue.SnapshotIdMalformed Invalid snapshot ID. Provide a snapshot ID in the format of snap-xxxxxxxx, where the letter x refers to lowercase letter or number.
    InvalidParameterValue.SubnetIdMalformed Invalid subnet ID. Please provide a subnet ID in the format of subnet-xxxxxxxx, where “x” can be a lowercase letter or number.
    InvalidParameterValue.SubnetNotExist Creation failed: the subnet does not exist. Please specify another subnet.
    InvalidParameterValue.ThreadPerCoreValue Invalid thread count per core.
    InvalidParameterValue.TooLarge The parameter value exceeds the maximum limit.
    InvalidParameterValue.TooLong Invalid parameter value: parameter value is too long.
    InvalidParameterValue.VpcIdZoneIdNotMatch The VPC and instance must be in the same availability zone.
    InvalidParameterValue.ZoneNotSupported The availability zone does not support this operation.
    InvalidParameterValueLimit The number of parameter values exceeds the limit.
    InvalidParameterValueOffset Invalid parameter value: invalid Offset.
    InvalidPassword Invalid password. The specified password does not meet the password requirements. For example, the password length does not meet the requirements.
    InvalidPeriod Invalid period. Valid values: [1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 24, 36]; unit: month.
    InvalidPermission This operation is not supported for the account.
    InvalidProjectId.NotFound Invalid project ID: the specified project ID does not exist.
    InvalidPublicKey.Duplicate Invalid public key: the specified key already exists.
    InvalidPublicKey.Malformed Invalid public key: the specified public key does not meet the OpenSSH RSA format requirements.
    InvalidRegion.NotFound The region cannot be found.
    InvalidRegion.Unavailable Currently this region does not support image synchronization.
    InvalidSecurityGroupId.NotFound The specified security group ID does not exist.
    InvalidSgId.Malformed The specified security group ID is in the wrong format. For example, sg-ide32 has an invalid instance ID length.
    InvalidZone.MismatchRegion The specified zone does not exist.
    LimitExceeded.AssociateUSGLimitExceeded An instance can be bound with up to 5 security groups.
    LimitExceeded.InstanceQuota You are short of the instance quota.
    LimitExceeded.SingleUSGQuota The number of security groups exceeds the quota limit.
    LimitExceeded.SpotQuota The spot instance offerings are out of stock.
    LimitExceeded.UserSpotQuota You are short of the spot instance quota.
    LimitExceeded.VpcSubnetNum Insufficient subnet IPs.
    MissingParameter.DPDKInstanceTypeRequiredVPC The DPDK instance requires a VPC.
    MissingParameter.MonitorService The instance type must have Cloud Monitor enabled.
    MutexOperation.TaskRunning An identical job is running.
    OperationDenied.InstanceOperationInProgress The instance has an operation in progress. Please try again later.
    OverQuota The number of shared images exceeds the quota.
    RegionAbilityLimit.UnsupportedToImportImage This region does not support importing images.
    ResourceInsufficient.AvailabilityZoneSoldOut The availability zone has been sold out.
    ResourceInsufficient.CloudDiskSoldOut The specified cloud disk has been sold out.
    ResourceInsufficient.CloudDiskUnavailable The parameters of cloud disk do not meet the specification.
    ResourceInsufficient.DisasterRecoverGroupCvmQuota
    ResourceInsufficient.SpecifiedInstanceType The specified instance type is out of stock.
    ResourceNotFound.HpcCluster The HPC cluster does not exist.
    ResourceNotFound.InvalidPlacementSet The specified placement group does not exist.
    ResourceNotFound.NoDefaultCbs No default CBS resources are available.
    ResourceNotFound.NoDefaultCbsWithReason No default CBS resources are available.
    ResourceUnavailable.InstanceType This instance type is unavailable in the availability zone.
    ResourcesSoldOut.AvailableZone Resources in this availability zone have been sold out.
    ResourcesSoldOut.EipInsufficient The public IP has been sold out.
    ResourcesSoldOut.SpecifiedInstanceType The specified instance type has already been sold out.
    SecGroupActionFailure A general error occurred during the security group service API call.
    UnauthorizedOperation.MFAExpired Unauthorized operation. Make sure Multi-Factor Authentication (MFA) is valid.
    UnauthorizedOperation.MFANotFound Unauthorized operation. Make sure Multi-Factor Authentication (MFA) exists.
    UnsupportedOperation.BandwidthPackageIdNotSupported The specified instance or network cannot use the bandwidth package.
    UnsupportedOperation.IPv6NotSupportVpcMigrate IPv6 instances cannot be migrated from Classiclink to VPC.
    UnsupportedOperation.InstanceChargeType This instance billing mode does not support the operation.
    UnsupportedOperation.InstanceStateEnterRescueMode Instances are entering the rescue mode, and this operation is not supported.
    UnsupportedOperation.InstanceStateExitRescueMode Instances are exiting from the rescue mode, and this operation is not supported.
    UnsupportedOperation.InstanceStatePending The instances are being created, and this operation is not supported.
    UnsupportedOperation.InstanceStateRebooting The instances are being restarted, and this operation is not supported.
    UnsupportedOperation.InstanceStateRescueMode
    UnsupportedOperation.InstanceStateRunning Running instances do not support this operation.
    UnsupportedOperation.InstanceStateServiceLiveMigrate The instances are being migrated, and this operation is not supported.
    UnsupportedOperation.InstanceStateShutdown Isolated instances do not support this operation.
    UnsupportedOperation.InstanceStateStopped The instance has been shut down, and this operation is not supported.
    UnsupportedOperation.InstanceStateStopping The instance is being shut down, and this operation is not supported.
    UnsupportedOperation.InstanceStateTerminated Terminated instances are not supported.
    UnsupportedOperation.InstanceStateTerminating The instance is being terminated, and the operation is not supported.
    UnsupportedOperation.InvalidDisk The specified disk is not supported.
    UnsupportedOperation.InvalidPermissionNonInternationalAccount The current operation is only supported for Tencent Cloud International users.
    UnsupportedOperation.KeyPairUnsupportedWindows Key-pair login is not available to Windows instances.
    UnsupportedOperation.NoInstanceTypeSupportSpot This instance type does not support spot instances.
    UnsupportedOperation.NotSupportInstanceImage The instance does not support this operation.
    UnsupportedOperation.OnlyForPrepaidAccount Only a prepaid account supports this operation.
    UnsupportedOperation.Region The region is unsupported.
    UnsupportedOperation.ReservedInstanceInvisibleForUser Purchasing reserved instances is not supported for the current user.
    UnsupportedOperation.ReservedInstanceOutofQuata You’ve used up your quota for Reserved Instances.
    UnsupportedOperation.SpecialInstanceType This special instance type does not support the operation.
    UnsupportedOperation.StoppedModeStopCharging The instance does not support the no charges when shut down feature.
    UnsupportedOperation.UnsupportedInternationalUser
    VpcAddrNotInSubNet The VPC IP address is not in the subnet.
    VpcIpIsUsed The VPC IP address is already occupied.

    Was this page helpful?

    Was this page helpful?

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