Error Codes

Last updated: 2020-06-15 09:58:20

    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.
    EniNotAllowedChangeSubnet ENIs do not support changing subnets.
    FailedOperation.PlacementSetNotEmpty The specified placement group is not empty.
    ImageQuotaLimitExceeded The image quota has been exceeded.
    InstancesQuotaLimitExceeded You are trying to create more instances than your remaining quota allows.
    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.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.
    InvalidParameterValue.CoreCountValue Illegal core count.
    InvalidParameterValue.InvalidParameterValueLimit Invalid parameter value.
    InvalidParameterValue.LimitExceeded The number of parameter values exceeds the limit.
    InvalidParameterValue.Range Invalid parameter value: invalid parameter value range.
    InvalidParameterValue.ThreadPerCoreValue Invalid thread count per core.
    InvalidParameterValue.TooLong Invalid parameter value: parameter value is too long.
    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.
    MutexOperation.TaskRunning An identical job is running.
    OverQuota The number of shared images exceeds the quota.
    RegionAbilityLimit.UnsupportedToImportImage This region does not support importing images.
    ResourceInsufficient.SpecifiedInstanceType The specified instance type is out of stock.
    ResourceNotFound.InvalidPlacementSet The specified placement group does not exist.
    ResourcesSoldOut.SpecifiedInstanceType The specified instance type has already been sold out.
    SecGroupActionFailure A general error occurred during the security group service API call.
    UnsupportedOperation.InvalidPermissionNonInternationalAccount The current operation is only supported for Tencent Cloud International users.
    UnsupportedOperation.ReservedInstanceInvisibleForUser Purchasing reserved instances is not supported for the current user.
    UnsupportedOperation.ReservedInstanceOutofQuata You have purchased too many Reserved Instances.
    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