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