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 |
|---|---|
| InvalidImageId.IncorrectState | The image status is illegal. |
| InvalidParameter.ContainsIllegalCharacter | The parameter contains illegal characters. |
| FailedOperation.NoAvailableIpAddressCountInSubnet | The available IPs in the subnet are exhausted. |
| InvalidParameterValue.LimitExceeded | The parameter value is out of range |
| InvalidParameterValue.InvalidHost | Invalid host |
| InvalidClientToken.TooLong | The string length of the specified ClientToken exceeds the limit. It should be less than or equal to 64 bytes. |
| SecGroupActionFailure | General error in security group service API calling. |
| InvalidAccount.InsufficientBalance | Insufficient account balance |
| InvalidKeyPairId.Malformed | Invalid key pair ID. The format of the specified key pair ID is incorrect, for example, an ID length error skey-1122. |
| InternalError.TradeUnknownError | An internal billing error occurred. |
| InvalidAddressState | The current status of the specified EIP does not support this operation. |
| ResourceInsufficient.ZoneSoldOutForSpecifiedInstance | Instances in the specified zone have been sold out. |
| InvalidKeyPairNameEmpty | The key name is empty. |
| InvalidParameterValue.InstanceIdMalformed | The instance ID does not meet the requirements. Provide a standard instance ID, such as ins-xxxxxxxx, where the letter x represents a lowercase character or number. |
| InvalidParameterValue.Range | Invalid parameter value. The range of the parameter value is not legal. |
| InvalidAccountIs.YourSelf | You cannot share an image with yourself. |
| MissingParameter | Parameters are missing. The request did not include mandatory parameters. |
| InvalidAddressIps.NotFound | Invalid IP Address |
| UnauthorizedOperation.ProjectNotFound | This operation is not allowed. Please ensure this account is in the selected project. |
| InvalidParameter.CbsInUse | The provided CBS is in use. |
| ResourceNotFound.HpcCluster | The high-performance computing cluster does not exist. |
| UnsupportedOperation.InvalidZone | The zone is invalid. |
| InvalidKeyPairNameTooLong | The key name exceeds 25 characters. |
| InvalidProjectId.NotFound | Invalid project ID. The specified project ID does not exist. |
| InvalidImageId.NotFound | Image not found |
| InvalidPeriod | Invalid duration. Currently, only the following durations are supported: [1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 24, 36], unit: months. |
| InvalidParameterValue.KeyPairNotSupported | The key is not supported. |
| InvalidParameter.InvalidParameterUrlError | Incorrect URL address. |
| InvalidKeyPairId.NotFound | Invalid key pair ID. The specified key pair ID does not exist. |
| InvalidImageId.TooLarge | The image size exceeds the limit. |
| InvalidInstance.NotSupported | Unsupported instance. |
| InvalidKeyPairNameIncludeIllegalChar | The key name includes illegal characters. The key name only supports letters, digits, and underscores. |
| InvalidPassword | Invalid password. The specified password does not meet password complexity restrictions. For example, the password length does not meet restrictions. |
| InstancesQuotaLimitExceeded | It indicates that the number of instances being created exceeds the remaining quota allowed for purchase by the account. |
| InvalidParameterValue.InvalidParameterValueLimit | Parameter value error. |
| InvalidInstanceType.Malformed | The parameter format of the specified InstanceType is invalid. |
| FailedOperation.PlacementSetNotEmpty | The placement group is not empty. |
| InvalidAccount.UnpaidOrder | The account has unpaid orders. |
| FailedOperation.InquiryPriceFailed | Failed to get the cost |
| InvalidParameterValue.LaunchTemplateNotFound | The instance launch template was not found. |
| InvalidRegion.Unavailable | Currently, this zone does not support synchronizing an image. |
| InvalidImageName.Duplicate | The image name is the same as the existing image. |
| InternalError | Internal error |
| ResourceInsufficient.SpecifiedInstanceType | The inventory of the specified instance type is insufficient. |
| ResourceInUse.HpcCluster | The high-performance computing cluster is in use. |
| FailedOperation.NoAvailablePublicImage | No available public images. |
| InvalidInstanceId.NotFound | No corresponding instance was found. |
| InvalidInstanceState | The specified instance's current status does not allow this operation. |
| InvalidParameter.JobIdNotExist | Invalid task ID. The specified task ID does not exist. |
| InvalidParameterValue.OutOfRange | The parameter value is out of range. |
| InvalidParameterValue.InvalidLaunchTemplateName | The format of the instance launch template name is incorrect. |
| ImageQuotaLimitExceeded | The image quota has exceeded the limit. |
| InvalidSearchWord.Valid | Invalid search keyword |
| VpcAddrNotInSubNet | The VPC IP is not within the subnet. |
| FailedOperation.NoAvailableInstanceFamily | No available instance families. |
| AuthFailure.CamRoleNameAuthenticateFailed | Role name authentication failed. |
| FailedOperation.InstanceMustHaveOneSecurityGroup | An instance should have at least one security group. |
| InvalidAddressId.NotFound | The specified EIP does not exist. |
| InvalidInstanceName.TooLong | The string length of the specified InstanceName exceeds the limit. It should be less than or equal to 60 bytes. |
| InvalidFilterValue.LimitExceeded | The number of Filter parameter values exceeds the limit. |
| ResourceNotFound.InvalidPlacementSet | The specified placement group does not exist. |
| InvalidKeyPairName.Duplicate | The key pair names are duplicate. |
| InvalidZone.MismatchRegion | The specified zone does not exist. |
| InvalidPublicKey.Duplicate | Invalid public key. The specified public key already exists. |
| InvalidParameter.ValueTooLarge | The parameter length exceeds the limit. |
| UnsupportedOperation.InstanceStateRunning | The instance is running. |
| InvalidHostId.Malformed | Invalid CDH ID. The format of the specified CDH ID is incorrect, for example, an ID length error host-1122. |
| FailedOperation.SnapshotSizeLargerThanDataSize | The snapshot capacity exceeds the disk size. Choose a larger disk space. |
| InvalidParameterValueOffset | Invalid parameter value. The specified offset is invalid. |
| ResourceNotFound.SoldPoolNameNotFound | The sales pool name does not exist. |
| FailedOperation.NoAvailableVpc | There are no available VPC resources. |
| FailedOperation.NoAvailableCbs | No available CBS resources. |
| FailedOperation.NoQuotaForUserInstance | Insufficient quota to create an instance. |
| RegionAbilityLimit.UnsupportedToImportImage | This region does not support importing images. |
| InvalidParameterValue.LaunchTemplateVersion | Version number of invalid instance launch template. |
| InvalidHostId.NotFound | The specified HostId does not exist, or does not belong to the requesting account. |
| InvalidAccountId.NotFound | Invalid account ID |
| InvalidParameterCombination | It indicates that the parameter combination is incorrect. |
| ResourceNotFound.InvalidHostIpNotFound | Invalid host IP. The resource does not exist. |
| InvalidRegion.NotFound | The specified zone was not found. |
| VpcIpIsUsed | The VPC IP has already been used. |
| InvalidInstanceNotSupportedPrepaidInstance | The instance does not comply with the return rules for monthly subscription instances. |
| InvalidParameterValue.LaunchTemplateIdVerNotExisted | The combination of the instance launch template and version ID does not exist. |
| InvalidParameterValue | Invalid parameter value. The format of the parameter value is incorrect or not supported, etc. |
| InvalidParameter.InvalidParameterCoexistImageIdsFilters | You should not specify both ImageIds and Filters at the same time. |
| AccountQualificationRestrictions | The requesting account did not pass the qualification audit. |
| InvalidParameterValue.InvalidTaskIdFormat | The taskid is invalid. |
| FailedOperation.DisasterRecoverGroupNotFound | The specified disaster recovery group was not found. |
| InvalidParameter.InvalidIpFormat | The specified VPC IP format is incorrect. |
| InternalServerError | Internal operation error. |
| InvalidInstanceId.Malformed | Invalid Instance ID. The format of the specified instance ID is incorrect, for example, an instance ID length error ins-1122. |
| InvalidSgId.Malformed | The format of the specified security group ID is incorrect, for example, an instance ID length error sg-ide32. |
| InvalidFilter | Invalid filter. |
| InvalidParameterValue.LaunchTemplateIdNotExisted | The instance launch template ID does not exist. |
| InvalidCloudDisk.SoldOut | The cloud disk has been sold out. |
| InvalidParameterValueLimit | The parameter value is out of range |
| InvalidPermission | The account does not support this operation. |
| InvalidParameter | Invalid parameter. The parameter does not meet the requirements, is not supported, or the like. |
| InvalidImageId.Malformed | Invalid image ID |
| InvalidSecurityGroupId.NotFound | The specified security group ID does not exist. |
| InvalidImageId.InShared | The image is being shared. |
| FailedOperation.NoAvailableSubnet | There are no available subnet resources. |
| InvalidImageOsType.Unsupported | Unsupported operating system type. |
| FailedOperation.NoAvailableInstanceType | No available instance types. |
| InvalidParameterValue.LaunchTemplateIdMalformed | The format of the instance launch template ID is incorrect. |
| FailedOperation.NoAvailableSecurityGroup | No available security groups. |
| TradeUnknownError | Billing request error |
| InvalidPublicKey.Malformed | Invalid public key. The format of the specified public key format is incorrect and does not meet the OpenSSH RSA format requirements. |
| InvalidImageOsVersion.Unsupported | Unsupported operating system version. |
| MutexOperation.TaskRunning | The same task is already running. |
| InvalidHost.NotSupported | The specified operation is not supported by this host instance. |
| InvalidParameterValue.TooLong | Invalid input: Excessive length of the parameter. |
| FailedOperation.NoAvailableIpAddressCount | The subnet has no available IP addresses. |
| OverQuota | The maximum number of shared images allowed is reached |
| FailedOperation.NoCVMPermission | No instance operation permissions. |
| InvalidParameter.UrlError | The provided COS link cannot be accessed. |
| InvalidParameterValue.InvalidImageId | The image ID is invalid. |
| UnsupportedOperation.InstanceStateStopped | The request does not support instances that are shut down. |
| InvalidKeyPair.LimitExceeded | The number of key pairs exceeds the limit. |
| InvalidParameter.InvalidFilter | Invalid filter |
| InvalidParameter.InvalidTaskIdFormat | TaskId format error. |