ErrorCode

Last Updated At: 2026-10-28 00:03:59

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
InvalidParameterValue.EndTimeBeforeStartTime The end time of the scheduled task is before the start time.
ResourceUnavailable.AutoScalingGroupInActivity The auto scaling group is active.
ResourceNotFound.LifecycleHookNotFound The specified lifecycle hook was not found.
InvalidParameterValue.GroupNameDuplicated The auto scaling group name already exists.
InvalidParameterValue.UserGroupIdNotFound The user group does not exist.
ResourceInsufficient.AutoScalingGroupBelowMinSize The number of instances in the auto scaling group is below the minimum value.
ResourceUnavailable.InstancesAlreadyInAutoScalingGroup The instance already exists in the auto scaling group.
InvalidLaunchConfiguration Invalid launch configuration.
ResourceInsufficient.AutoScalingGroupAboveMaxSize The maximum number of instances in the auto scaling group is exceeded.
InvalidParameterValue.CronExpressionIllegal The cron expression specified for the scheduled task is invalid.
InvalidParameterValue.ForwardLb The application load balancer is incorrectly specified.
InvalidParameterValue.TimeFormat Wrong time format.
InvalidFilter Invalid filter.
InvalidParameter.MustOneParameter A parameter is missing. One of the two parameters must be specified.
InvalidParameterValue.OnlyVpc The account only supports VPCs.
ResourceNotFound.InstancesNotFound The specified instance does not exist.
LimitExceeded.DesiredCapacityLimitExceeded The desired number of instances exceeds the limit.
ResourceUnavailable.ProjectInconsistent Project inconsistency.
InvalidParameterValue.LaunchConfigurationNameDuplicated The launch configuration name already exists.
ResourceNotFound.AutoScalingGroupIdNotFound The scaling group does not exist.
InvalidParameterValue.TooLong Too many values.
ResourceUnavailable.AutoScalingGroupAbnormalStatus The auto scaling group is exceptional.
InvalidParameter Parameter error.
LimitExceeded The quota limit is exceeded.
InvalidParameterValue.Range The value is outside the specified range.
ResourceNotFound.ScheduledActionNotFound The specified scheduled task does not exist.
InvalidLaunchConfigurationId Invalid launch configuration ID.
MissingParameter Parameter missing.
InvalidLaunchConfigurationId.NotFound The launch configuration was not found.
InvalidParameterValue.Filter Invalid filter.
LimitExceeded.MaxSizeLimitExceeded The maximum number of instances exceeds the limit.
ResourceUnavailable.LaunchConfigurationStatusAbnormal The launch configuration is exceptional.
ResourceNotFound.ScalingPolicyNotFound The alarm policy does not exist.
ResourceUnavailable.LifecycleActionResultHasSet The lifecycle action has already been set.
InvalidParameter.InScenario The parameter is invalid in a specific scenario.
InternalError.CallTDMQError TDMQ interface call failed.
InvalidParameterValue.LbVpcInconsistent The load balancer and the scaling group are in different VPCs.
InvalidParameterValue.InstanceTypeNotSupported Unsupported instance type
LimitExceeded.AutoScalingGroupLimitExceeded The number of auto scaling groups exceeds the limit.
InvalidParameterValue.InvalidScheduledActionNameIncludeIllegalChar The scheduled task name contains invalid characters.
ResourceNotFound.InstancesNotInAutoScalingGroup The target instance is not in the auto scaling group.
AccountQualificationRestrictions The requesting account failed to pass the qualification review.
InvalidParameterValue.LbProjectInconsistent The load balancer is in a different project.
MissingParameter.InScenario A parameter is missing in a specific scenario.
InvalidImageId.NotFound The image cannot be found.
ResourceNotFound.LoadBalancerNotFound The specified load balancer was not found.
ResourceNotFound.LifecycleHookInstanceNotFound The instance corresponding to the lifecycle hook does not exist.
ResourceUnavailable.AutoScalingGroupDisabled The auto scaling group is disabled.
LimitExceeded.MinSizeLimitExceeded The minimum number of instances is below the limit.
ResourceInUse.ActivityInProgress The auto scaling group is performing a scaling activity.
InvalidParameterValue.LimitExceeded The value exceeds the limit.
InvalidParameterValue.CvmConfigurationError Exception with CVM parameter validation.
ResourceInUse.InstanceInGroup There are still normal instances in the auto scaling group.
InvalidParameterValue.ScalingPolicyNameDuplicate The alarm policy name already exists.
ResourceNotFound.ResourceNotFoundTDMQPulsarTopicNotFound TDMQ-Pulsar theme does not exist.
LaunchConfigurationQuotaLimitExceeded The launch configuration quota is exceeded.
InvalidParameterValue.StartTimeBeforeCurrentTime The start time of the scheduled task is before the current time.
InvalidParameterValue.CvmError Exception with CVM parameter validation.
InvalidParameter.Conflict Multiple parameters specified conflict and cannot co-exist.
InvalidParameterValue.LifecycleHookNameDuplicated The lifecycle hook name already exists.
InvalidParameterValue.Size The value of maximum, minimum, or desired number of instances in the auto scaling group is invalid.
InvalidParameterValue.NoResourcePermission No resource permission.
InvalidParameterValue.SubnetIds The subnet information is invalid.
InvalidParameterValue The parameter value is invalid.
InvalidParameterValue.ScheduledActionNameDuplicate The scheduled task name already exists.
ResourceUnavailable.CvmVpcInconsistent The instance and the auto scaling group are in different VPCs.
InvalidLaunchConfigurationId.InUse The launch configuration is being used.
InternalError.RequestError Request error
LimitExceeded.ScheduledActionLimitExceeded The number of scheduled tasks exceeds the limit.
InvalidParameterValue.LaunchConfigurationNotFound The specified launch configuration was not found.
InternalError Internal error.
CallCvmError CVM API call failed.
ResourceNotFound.AutoScalingNotificationNotFound The notification does not exist.
InvalidPermission The account is not authorized to perform this operation.