Updated on 2022-02-22 GMT+08:00

Error Codes

Description

This section provides the meanings of error codes returned by AS APIs.

Example of Returned Error Information

{"error":{"code":"AS.0001","message":"System error."}}

Error Code Description

HTTP Status Code

Error Code

Description

Error Message

Solution

500

AS.0001

A system error occurs.

System error.

Try again later or contact technical support.

400

AS.0002

The message body is empty.

Request body is null.

Enter a valid message body.

401

AS.0005

The header in the request carries no or an empty token.

The token of the header in the request is null.

Enter a valid token.

401

AS.0006

The header in the request carries an incorrect, invalid, or expired token.

The token of the header in the request is incorrect.

Enter a valid token.

404

AS.0007

The requested resources are not found.

The requested resource [%s] could not be found.

Use the correct URL parameter.

400

AS.0008

The project id value carried in the URL is different from that resolved from the token.

Incorrect ProjectID.

Check whether the parameter in the URL matches that in the token.

403

AS.0011

You do not have the rights to perform the operation.

You do not have the rights to perform the operation.

Check whether te_admin, as_adm, or other required roles exist.

403

AS.0012

Your rights to perform the operation have been frozen.

The user role is suspended.

Check whether your user roles include op_suspended, the frozen one.

403

AS.0013

Your rights to perform the operation are disabled.

Your rights to perform the operation are disabled.

Check whether your user roles include op_restricted, the restricted one.

400

AS.0022

The request is invalid.

Request body error

Check whether the request body is in standard JSON format or whether an unsupported parameter exists.

400

AS.0026

No scaling action is allowed in the cooldown period.

Scaling action is not allowed in the cooling duration.

Try again later.

400

AS.0031

Fine-grained authentication failed because no authentication item is specified.

Policy doesn't allow [%s] to be performed.

Add the required authorization item.

400

AS.0033

Invalid API ID.

The api version is illegal, only v1 and v2.

Enter a correct API ID.

400

AS.0034

Failed to trigger the AS policy because a scaling action in the AS group is in progress.

Failed to execute the policy because the AS group is in active state.

An AS policy can be automatically triggered only when there is no in-progress scaling action in the AS group. Try again later.

400

AS.1001

The start number value is invalid.

The value of parameter Start number is invalid.

Enter a valid start number value.

400

AS.1002

The limit value is invalid.

The value of parameter Limit is invalid.

Enter a valid limit value.

400

AS.1003

The AS configuration ID is empty.

The AS configuration ID is null.

Add an AS configuration ID.

400

AS.1004

The AS configuration does not exist.

The AS configuration does not exist.

Use a correct AS configuration ID.

400

AS.1006

The AS configuration is being used by an AS group and cannot be deleted.

The AS configuration is in use.

Change this AS configuration for the AS group to another one and delete the AS configuration.

400

AS.1007

The AS configuration name is empty.

The AS configuration name is null.

Add an AS configuration name.

400

AS.1008

The AS configuration name is too long.

The AS configuration name is too long.

Use an AS configuration name of proper length.

400

AS.1009

The AS group ID is not specified.

The AS group ID is null.

Add an AS group ID.

400

AS.1011

The instance_config field is not specified.

The instance configuration information is null.

Enter a valid instance_config value.

400

AS.1014

The image ID is not specified.

The image ID in the AS configuration is null.

Add an image ID.

400

AS.1015

The image in the AS configuration does not exist.

The image in the AS configuration does not exist.

Use a correct image ID.

400

AS.1016

The flavor ID is not specified.

The specification ID in the AS configuration cannot be null.

Add a flavor ID.

400

AS.1017

The flavor of the AS configuration does not exist.

The specification [%s] in the AS configuration does not exist.

Use a correct flavor ID.

400

AS.1018

The flavor and image do not match.

The specification [%s] and image is not match.

Check whether the flavor matches the image. If not, modify the configuration.

400

AS.1019

The flavor and disk do not match.

The disk of this type is not applicable to the ECS.

Check whether the flavor matches the disk type. If not, change the resources.

400

AS.1021

The image in the AS configuration is not activated.

The image in the AS configuration is not activated.

Use a correct image ID.

400

AS.1022

The image in the AS configuration is unavailable.

The image in the AS configuration is not available.

Use a correct image ID.

400

AS.1023

The AS configuration name is invalid.

Invalid AS configuration name.

Use a valid AS configuration name.

400

AS.1024

The number of AS configurations exceeds the upper limit.

The number of AS configurations exceeds the upper limit.

Delete idle AS configurations or apply for a higher quota.

400

AS.1025

The user login mode in the AS configuration is not unique.

The user login mode in the AS configuration is not unique.

Use account-and-password or key-pair login mode only.

400

AS.1026

The user login mode in the AS configuration is empty.

The user login mode in the AS configuration is empty.

400

AS.1027

The user AS configuration is invalid.

The scaling config personality is invalid.

Enter a valid personality value.

400

AS.1028

The disk in the AS configuration is empty.

The disk in the AS configuration is null.

Enter a valid disk value.

400

AS.1029

The number of system disks in the AS configuration is invalid.

The number of system disks in the AS configuration is invalid.

Ensure that there is only one system disk.

400

AS.1030

The size of the system disk in the AS configuration is smaller than the requirement.

The size of the system disk in the AS configuration is less than the specification required.

Use a proper system disk size.

400

AS.1031

The size of the disk in the AS configuration is invalid.

The size of the disk in the AS configuration is not correct.

Use a proper disk size.

400

AS.1032

The number of disks in the AS configuration exceeds 24.

The ECS type [%s] in the AS configuration do not support 24 disks.

Ensure that the number of disks does not exceed the limit.

400

AS.1033

The volumeType of the disk in the AS configuration is invalid.

Parameter volumeType in the AS configuration is invalid.

Use a valid volume_type value.

400

AS.1034

The diskType in the AS configuration is invalid.

Parameter diskType in the AS configuration is invalid.

Use a valid disk_type value.

400

AS.1035

The password in the AS configuration fails to meet the complexity requirements.

Parameter adminPass in the AS configuration is invalid.

Use passwords that meet complexity requirements.

400

AS.1036

The memory of 32-bit OS exceeds 4 GB.

32-bit operating system (OS) does not support the specification [%s] with 4G memory.

Change the image or the policy.

400

AS.1038

Deleting AS configurations in batches fails.

Batch deleting the AS configuration failed.

If this error code is returned, use parameter Message to obtain the configuration ID and the failure cause.

400

AS.1039

The number of AS configurations to be deleted in batches exceeds the upper limit.

The number of AS configurations is beyond the maximum limit.

Delete a maximum of 50 AS configurations at a time.

400

AS.1040

The AS configuration list is empty.

The list of AS config to be deleted is null.

Add the IDs of the AS configurations to be deleted in batches.

400

AS.1041

The eip field in the public_ip field is empty.

The eip info of scaling config is null.

Ensure that the eip field is not empty when specifying the public_ip field.

400

AS.1042

The bandwidth size is invalid.

The bandwidth size of eip is invalid.

Enter a valid bandwidth.

400

AS.1043

The EIP type is invalid.

The eip type of scaling config is invalid.

Use a valid EIP type.

400

AS.1044

The bandwidth billing model of the AS configuration is invalid.

The bandwidth charging mode of eip is invalid.

Use a valid bandwidth billing model.

400

AS.1045

The bandwidth type is invalid.

The bandwidth type of eip is invalid.

Use a valid bandwidth.

400

AS.1046

The bandwidth size is not specified.

The bandwidth size of eip is null.

Add the bandwidth value of the AS configuration.

400

AS.1047

The bandwidth billing model is not specified.

The bandwidth charging mode of eip is null.

Specify a proper bandwidth billing model.

400

AS.1048

The shared bandwidth ID of the AS configuration is not specified.

The bandwidth id of eip is null.

Add the shared bandwidth ID.

400

AS.1049

Parameter userdata in the AS configuration is invalid.

Parameter userdata in the AS configuration is invalid.

Use a valid userdata.

400

AS.1050

The user login mode in the AS configuration is invalid.

The user login mode in the AS configuration is illegal.

Use a valid login mode.

400

AS.1052

The metadata in the AS configuration is invalid.

Parameter metadata in the AS configuration is invalid.

Use a valid metadata, whose maximum length is 512 bytes and the key value cannot contain spaces, $, or periods(.).

400

AS.1053

The data image in the AS configuration is unavailable.

The data image is not available.

Use a valid data image.

400

AS.1054

The size of the data disk in the AS configuration is smaller than what the data image requires.

The size of the data disk in the AS configuration is less than the data image required.

Use a proper data disk.

400

AS.1055

A data disk image cannot be used to create a system disk.

The system disk is not support to data image.

Refer to the error code description.

400

AS.1056

The data image in the AS configuration does not exist.

The data image in the AS configuration does not exist.

Use a valid data image ID.

400

AS.1057

The selected DSS device is unavailable.

The DSS of the disk in the AS configuration is not available.

Use a correct DSS device.

400

AS.1058

The selected DSS device does not support the disk type.

The type of dss in the AS configuration is incorrect.

Change the DSS device or disk type.

400

AS.1059

The storage space on the selected DSS device is insufficient.

The capacity of dss in the AS configuration is not enough.

Change the DSS device.

400

AS.1060

You can use either DSS or EVS disks in an AS configuration.

DSS and EVS are used together in the AS configuration.

Refer to the error code description.

400

AS.1061

The selected DSS devices must be in the same AZ.

The DSS does not belong to the same AZ in the AS configuration.

Change DSS devices so that they are in the same AZ.

400

AS.1062

The number of disks with snapshot IDs in the AS configuration is different from that of EVS disks specified in the full-ECS image.

The number of EVS disks with snapshot IDs in the AS configuration is different from that of EVS disks specified in the full-ECS image.

Refer to the error code description.

400

AS.1063

The disk data backup in a full-ECS image is used to restore the disk in DSS.

The disk data backup in a full-ECS image cannot be used to restore the disk in DSS.

Refer to the error code description.

400

AS.1064

Your selected data disk will recover from the disk backup in the full-ECS image, and data mirroring is unavailable now.

The data disk you have selected will be restored using the disk data backup in the full-ECS image. Then, data mirroring will be unavailable.

Refer to the error code description.

400

AS.1065

The VMs in the AS configuration do not belong to the same AZ.

ECS resources specified in the AS configuration belong to different AZs.

Use ECS resources (specifications, images, disk) in the same AZ.

400

AS.1066

The AS configuration contains EVS disks with invalid snapshot IDs.

The AS configuration contains EVS disks with invalid snapshot IDs.

Use a correct snapshot ID.

400

AS.1067

Parameter offset is invalid.

The value of parameter Offset number is invalid.

Use a valid offset value.

400

AS.1068

The ECS group in the AS configuration does not exist.

The server group in the AS configuration does not exist.

Use the ID of an existing ECS group.

400

AS.1069

The maximum number of ECSs has been reached for the ECS group.

The maximum number of ECSs has been reached for the ECS group.

Change to another ECS group ID.

400

AS.1070

The shared bandwidth of the AS configuration does not exist.

The bandwidth id of eip does not exist.

Use an existing shared bandwidth ID.

400

AS.1071

Parameter tenancy in the AS configuration is invalid.

Parameter tenancy in the AS configuration is invalid.

Use a valid tenancy value.

400

AS.1072

The ECS group ID in the AS configuration is invalid.

The server group ID is invalid.

Change to a correct ECS group ID.

400

AS.1073

DeH ID in the AS configuration does not exist.

The dedicated host id does not exist.

Use the ID of an existing DeH.

400

AS.1074

Parameter marker is invalid.

The value of parameter Marker is invalid.

Use a valid marker value.

400

AS.1075

Image ID in the AS configuration is invalid.

The image ID is invalid.

Use a correct image ID.

400

AS.1076

Shared bandwidth ID in the AS configuration is invalid.

The bandwidth id of eip is invalid.

Enter a correct shared bandwidth ID.

400

AS.1077

No DeH available.

No available dedicated host resource.

Create a DeH or restore an existing DeH.

400

AS.1078

The selected DeH does not have sufficient capacity.

The dedicated host has insufficient available capacity for [%s].

Allocate a DeH or use another DeH.

400

AS.1079

No DeH that supports this type of ECSs is available.

No dedicated host resources supporting this type [%s] of ECS.

Change the type of ECSs in the AS configuration.

400

AS.1080

No DeH is available in the AZ.

No dedicated host resources supporting the AZ [%s] you selected.

Change the AZ of the AS group or create a DeH in the AZ.

400

AS.1081

The AS configuration does not support IPv6 addresses.

This specification [%s] does not support IPv6.

Change the AS configuration.

400

AS.1082

The bandwidth is not shared.

Bandwidth type is not shared.

Use a shared bandwidth.

400

AS.1083

The billing model in the AS configuration is invalid.

Instance marketing type is illegal.

Use a valid market_type value.

400

AS.1084

Failed to query the spot pricing or pay-per-use flavor price.

Failed to query the price of specification [%s] from CBC.

Change the flavor in the AS configuration or contact technical support.

400

AS.1085

The priority policy used in multi-flavor AS configuration is invalid.

Invalid multi flavor priority policy.

Use a valid multi_flavor_priority_policy value.

400

AS.1086

The AS configuration is unavailable.

AS configuration is not available for AS group

Replace the AS configuration in the AS group.

400

AS.1087

The number of flavors in the AS configuration reaches the upper limit.

The number of flavors in the AS config exceeds the upper limit.

Ensure that the number of flavors in the AS configuration does not exceed the upper limit.

400

AS.1088

The image in the AS configuration is not available in the AZ of the AS group.

The image in the AS configuration you selected is unavailable for the AZ [%s] in AS group.

Change another AS configuration or AZ for the AS group.

400

AS.1090

The selected flavor is incompatible with the image architecture.

Flavor {0} in the AS configuration is incompatible with the image architecture.

Ensure that the selected flavor is compatible with the image architecture.

400

AS.2002

The AS group name is empty.

The name of the AS group is null.

Add an AS group name.

400

AS.2003

The AS group name is too long.

The AS group name is too long.

Use an AS group name of proper length.

400

AS.2004

The maximum or minimum number of instances is invalid.

Invalid min or max number of instances in the AS group.

Enter correct maximum/minimum number of instances for the AS group.

400

AS.2005

The expected number of instances in the AS group is invalid.

The expected number cannot be less than the minimum number of instances or greater than the maximum number of instances.

Enter a valid number of expected instances for the AS group.

400

AS.2006

The cooldown period in the AS group is invalid.

Invalid cooldown period of the AS group.

Enter a valid cooldown period for the AS group.

400

AS.2007

The AS group does not exist.

The AS group does not exist.

Use a correct AS group ID.

400

AS.2008

The execution action of the AS group is invalid.

Invalid execution action of the AS group.

Use a correct scaling action for the AS group.

400

AS.2009

The AS group ID is not specified.

The AS group ID is null.

Add an AS group ID.

400

AS.2010

The expected number of instances in the AS group cannot be smaller than the number of instances for which instance protection has been configured.

The expected number of instances in the AS group cannot be smaller than the number of instances for which instance protection has been configured.

Ensure that the number of expected instances is no less than the protected instances, or change the expected number of instances after canceling instance protection.

400

AS.2011

The AZ in the AS group is invalid.

Invalid AZ in AS group.

Use a valid value.

400

AS.2012

The VPC of the AS group does not exist.

The VPC of the AS group does not exist.

Use a valid value.

400

AS.2013

Parameter networks in the AS group is invalid.

Parameter networks in the AS group is invalid.

Use a valid value.

400

AS.2014

The security group of the AS group does not exist.

The security group of the AS group does not exist.

Use a valid value.

400

AS.2015

The load balancer listener of the AS group is invalid.

Parameter listenerId in the AS group is invalid.

Use a valid value.

400

AS.2016

The VPC to which the ELB listener in the AS group belongs is different from the VPC in the AS group.

The listener of the AS group does not belong to the vpc.

Change the VPC ID or ELB listener ID.

400

AS.2017

The VPC ID in the AS group is not specified.

The ID of the VPC in the AS group is null.

Add a VPC ID.

400

AS.2018

No AS is configured in the AS group.

No AS configuration is in the AS group.

Enable the AS group after adding an AS configuration to the AS group.

400

AS.2019

The value of the parameter that specifies whether to forcibly delete an AS group is invalid.

The value of the parameter that specifies whether to forcibly delete an AS group is invalid.

Use a valid value.

400

AS.2020

The AS group status is invalid.

The scaling group status is illegal.

You are not allowed to perform the operation when the AS group is in the current status.

400

AS.2021

Deleting the AS group fails because there are instances in it.

The current number of instances in the AS group is not 0.

Before deleting the AS group, deleting its instances.

400

AS.2022

The AS group name contains invalid characters.

The AS group name contains invalid characters.

Use a correct AS group name.

400

AS.2023

The number of AS groups exceeds the upper limit.

The number of AS groups exceeds the upper limit.

Delete idle AS groups or apply for a higher quota.

400

AS.2024

The number of subnets in the AS group exceeds the upper limit.

The number of subnets in the AS group exceeds the upper limit.

Ensure that the number of subnets does not exceed the upper limit.

400

AS.2025

The number of security groups in the AS group exceeds the upper limit.

The number of security groups in the AS group exceeds the upper limit.

Ensure that the number of security groups does not exceed the upper limit.

400

AS.2026

There are ELB listeners of different types in the AS group.

The type of listeners in the AS group is not unique.

lb_listener_id is alternative to lbaas_listeners.

400

AS.2027

The VPC to which some subnets in the AS group belong is different with the VPC in the AS group.

The subnet of the AS group does not belong to the vpc.

Change the VPC ID or subnet.

400

AS.2028

The new expected number of instances is the same as the original number.

The modified expected number of instances is the same as the original number.

Refer to the error code description.

400

AS.2029

The health check method for instances in the AS group is incorrect.

Invalid health check method of the AS group.

Use a valid health_periodic_audit_method value.

400

AS.2030

You are not allowed to modify theAZ, subnet, or security group information when there are instances in the AS group, the AS group is scaling, or the AS group is in Inservice state.

You are not allowed to modify the AZ, subnet, and security information when the number of instances in the AS group is not 0, the AS group is scaling, or the AS group is in Inservice status.

Check the number of instances in the AS group and the status of the AS group, or try again later.

400

AS.2031

The health check period of the AS group is invalid.

Invalid health check period of the AS group.

Use a valid health_periodic_audit_time value.

400

AS.2032

The instance removal policy for the AS group is invalid.

Invalid instance removal policy.

Use a valid instance_terminate_policy value.

400

AS.2033

You are not allowed to perform the operation when the AS group is in the current status.

You are not allowed to perform the operation when the AS group is in current [%s] status.

Refer to the error code description.

400

AS.2034

The notification method for the AS group is invalid.

Invalid notification method of the AS group.

Use a valid notification method.

400

AS.2035

The number of ECSs in the AS group is greater than the upper limit because some ECSs are manually added.

The number of instances manually added to the AS group exceeds the maximum number of the instances required in the AS group.

Add a proper number of ECSs or increase the maximum number of instances in the AS group.

400

AS.2036

The number of ECSs in the AS group is smaller than the lower limit because some ECSs are manually deleted.

The number of instances manually deleted is less than the minimum number of the instances required in the AS group.

Delete a proper number of ECSs or decrease the minimum number of instances in the AS group.

400

AS.2037

The number of ELB listeners in the AS group reaches the upper limit.

The number of listeners in the AS group exceeds the upper limit.

Select a proper number of load balancer listeners.

400

AS.2038

The ECSs of this type in the AZ of the AS group have been sold out.

The type [%s] of ECS in the AZ you selected has been sold out.

Refer to the error code description. Change the AZ of the AS group or change the AS configuration for the AS group.

400

AS.2039

Parameter protocolPort of the AS group is invalid.

Parameter protocolPort of the AS group is invalid.

Use a valid protocolPort.

400

AS.2040

Parameter weight of the AS group is invalid.

Parameter weight of the AS group is invalid.

Use a valid weight.

400

AS.2042

The load balancer pool in the AS group is invalid.

Parameter pool of lbaas in the AS group is invalid.

Use a valid pool.

400

AS.2043

Storage resources of this type are sold out or do not exist in the AZ specified for this AS group.

There is not avalid volume in the AZ [%s] you selected.

Refer to the error code description. Change the AZ of the AS group or change the AS configuration for the AS group.

400

AS.2044

The AZ in the AS group is invalid.

The AZ in the AS group is not available.

Refer to the error code description. Change the AZ of the AS group.

400

AS.2045

The minimum or maximum number of instances in the AS group exceeds the limit.

The min or max number of instances in the AS group exceeds the upper limit.

Enter proper maximum and minimum numbers of instances for the AS group.

400

AS.2046

The grace period for the instance health check is invalid.

Invalid health check grace period of the AS group.

Use a valid health_periodic_audit_grace_period value.

400

AS.2047

Failed to modify load balancer parameters because a scaling action is ongoing.

The AS group is in active status.

Wait until the scaling action is complete and modify the load balancer parameters again.

400

AS.2051

The number of expected instances cannot be less than that of standby instances.

The expected number cannot be less than the number of instances moved into the standby state.

Ensure that the number of expected instances is not less than that of standby instances (including instances that are entering the standby mode and those that are already in standby mode).

400

AS.2052

The number of expected instances cannot be less than the total of standby and protected instances.

The expected number cannot be less than the sum of the number of standby instances and protected instances.

Ensure that the number of expected instances is not less than the total of standby (including instances that are entering the standby mode and those that are already in standby mode) and protected instances.

400

AS.2053

The priority policy used for multiple AZs in the AS group is invalid.

Invalid multi az priority policy.

Change the priority policy used for multiple AZs in the AS group.

400

AS.2054

Failed to change the AZ because a scaling action is ongoing.

The AS group is in active status.

Wait until the scaling action is complete and change the AZ again.

400

AS.3002

The AS policy type is invalid.

Invalid AS policy type.

Use a valid scaling_policy_type value.

400

AS.3003

When the AS policy is scheduled or periodic, parameter scheduled_policy is empty.

The information about the AS policy is null.

Use a valid scheduled_policy value.

400

AS.3004

The period type is incorrect.

Invalid recurrence type in the AS policy.

Use a valid recurrence_type value.

400

AS.3005

The end time is not specified for a periodic AS policy.

The end time of the scaling action triggered periodically is empty.

Enter a valid end_time value.

400

AS.3006

The format of the end time for the periodically triggered scaling action is incorrect.

The format of the end time for the scaling action triggered periodically is incorrect.

Use a correct format for the end time.

400

AS.3007

The end time of the scaling action triggered periodically must be later than the current time.

The end time of the scaling action triggered periodically must be later than the current time.

Ensure that the end time is later than the current time.

400

AS.3008

The triggering time is not specified.

Parameter lanchTime in the AS policy is null.

Enter a valid launch_time value.

400

AS.3009

The triggering time format is incorrect.

The format of parameter lanchTime is incorrect.

Use a correct triggering time format.

400

AS.3010

The triggering time of the scaling action triggered at a scheduled time must be later than the current time.

The triggering time of the scheduled policy must be later than the current time.

Ensure that the triggering time of the scheduled policy is later than the current time.

400

AS.3011

The AS policy type is not specified.

The AS policy type is null.

Enter a valid scaling_policy_type value.

400

AS.3012

The cooldown period in the AS policy is invalid.

Invalid cooldown period in the AS policy.

Enter a valid cool_down_time value.

400

AS.3013

The AS policy name is not specified.

The AS policy name is null.

Enter a valid scaling_policy_name value.

400

AS.3014

The length of the AS policy name is invalid.

The length of the AS policy name is invalid.

Enter a valid scaling_policy_name value.

400

AS.3015

The execution action in the AS policy is not specified.

The action in the AS policy is null.

Enter a valid scaling_policy_action value.

400

AS.3016

The operation to perform the execution action in the AS policy is not specified.

The operation to perform the action in the AS policy is null.

Enter a valid operation value.

400

AS.3017

The operation to perform the action in the AS policy action is invalid.

The operation to perform the action in the AS policy action is invalid.

Enter a valid operation value.

400

AS.3018

The number of instances to which the AS policy applies is invalid.

The number of instances which action in the AS policy operates on is invalid.

Enter a valid instance_number value.

400

AS.3019

The AS group ID in the AS policy is not specified.

The AS group ID in the AS policy cannot be null.

Add an AS group ID.

400

AS.3020

The AS policy does not exist.

The AS policy does not exist.

Use a correct AS policy ID.

400

AS.3021

The AS policy ID is not specified.

The AS policy ID cannot be null.

Add an AS policy ID.

400

AS.3022

The action of the AS policy request body is invalid.

The action of the AS policy request body is invalid.

Use a valid action value.

400

AS.3023

The period type of the AS policy is empty.

The period type of the AS policy is null.

Use a valid recurrence_type value.

400

AS.3024

The value of the periodically triggered tasks of the AS policy is empty.

The value of the period type of the AS policy is null.

Add a valid recurrence_value value.

400

AS.3025

The period type of the AS policy is invalid.

The value of period type of the AS policy is invalid.

Use a valid recurrence_type value.

400

AS.3026

The alarm ID in the AS policy is empty.

The alarm ID in the AS policy is null.

Add an alarm ID.

400

AS.3027

The AS group must be in service when the AS policy is performed.

The AS policy must be in the inservice status when the AS policy is performed.

Enable the AS group and try again.

400

AS.3028

The format of the start time for the periodically triggered scaling action is incorrect.

The format of the start time for the scaling action triggered periodically is incorrect.

Use a correct format for the start time.

400

AS.3029

The start time of the periodically triggered scaling action must be earlier than the end time.

The start time of the scaling action triggered periodically must be earlier than the end time.

Ensure that the start time of the periodic policy is earlier than the end time.

400

AS.3030

The alarm rule in the AS policy does not exist.

The alarm in the AS policy does not exist.

Modify the alarm rule used by the AS policy.

400

AS.3031

The AS policy name is invalid.

Invalid AS policy name.

Enter a valid scaling_policy_name value.

400

AS.3032

The number of AS policies exceeds the upper limit.

The number of AS policies exceeds the upper limit.

Delete idle AS policies or apply for a higher quota.

400

AS.3033

The triggering time of the periodic policy falls outside the effective time range of the policy.

The triggering time of the periodic policy is not included in the effective time of the policy.

Ensure that the triggering time of the periodic policy is within the range from the start time to the end time.

400

AS.3034

The alarm ID in the AS policy is being used by another AS group.

The alarm ID in the AS policy is being used by another AS group.

Refer to the error code description. An alarm ID can be used only by the AS policy in one AS group at a time.

400

AS.3035

The percentage of instances to which the AS policy applies is invalid.

The percentage of instances which action in the AS policy operates on is invalid.

Use a valid instance_percentage value.

400

AS.3036

The action in the AS policy operates is not unique.

The action in the AS policy operates is not unique.

Select one from instance_percentage or instance_number.

400

AS.3042

The scaling resource in the AS policy does not exist.

The scaling resource in the AS policy does not exist.

Enter a valid AS resource ID in the AS policy.

400

AS.3045

Failed to delete policies in batches.

Failed to delete policies in a batch.

If this error code is returned, use parameter Message to obtain the policy ID and the failure cause.

400

AS.3046

Failed to enable policies in batches.

Failed to resume policies in a batch.

If this error code is returned, use parameter Message to obtain the policy ID and the failure cause.

400

AS.3047

Failed to disable policies in batches.

Failed to pause policies in a batch.

If this error code is returned, use parameter Message to obtain the policy ID and the failure cause.

400

AS.3048

The value of the parameter that specifies whether to forcibly delete the policy is invalid.

The value of the parameter that specifies whether to forcibly delete the policy is invalid.

Use a valid force_delete value.

400

AS.3049

The list of AS policies on which a batch operation is to be performed is empty.

The list of AS policies to be batched is empty.

Add the IDs of the AS policies to be operated in batches.

400

AS.3050

The format of the alarm ID in the AS policy is incorrect.

The alarm ID in the AS policy is illegal.

Use an alarm ID in correct format.

400

AS.3054

The scaling resource type in the AS policy cannot be left blank.

The scaling resource type in the AS policy is null.

Use a valid scaling_resource_type value.

400

AS.3055

The scaling resource ID in the scaling policy is invalid.

The scaling resource ID in the AS policy is format wrong.

Enter a valid AS resource ID in the AS policy.

400

AS.3056

The value of the alarm rule used for deleting the scaling policy is invalid.

The value of the parameter that specifies whether to delete the alarm in the AS policy is invalid.

Use a valid delete_alarm value.

400

AS.3057

The sort_by value in the request is invalid.

The value of parameter sort_by in the request is invalid.

Use a valid sort_by value.

400

AS.3058

The order value in the request is invalid.

The value of parameter order in the request is invalid.

Use a valid order value.

400

AS.4000

The start_number value in the instance request is invalid.

The value of parameter start_number in the request for the instance is invalid.

Use a valid start_number value.

400

AS.4001

The limit value in the instance request is invalid.

The value of parameter limit in the request for the instance is invalid.

Use a valid limit value.

400

AS.4003

The life_cycle_state value in the instance request is invalid.

The value of parameter life_cycle_state in the instance request is invalid.

Use a valid life_cycle_state value.

400

AS.4004

The health_status value in the instance request is invalid.

The value of parameter health_status in the request for the instance is invalid.

Use a valid health_status value.

400

AS.4005

The scaling_group_id in the instance request does not exist.

Parameter scaling_group_id in the request for the instance does not exist.

Use a correct scaling_group_id.

400

AS.4006

The instance does not exist.

The instance does not exist.

Use a correct instance ID.

400

AS.4007

The value of the parameter that specifies whether to delete the instance is invalid.

The value of the parameter that specifies whether to delete the instance is invalid.

Use a valid value.

400

AS.4008

The start time format of the log about the expected number of the instances is incorrect.

The start time format of the log about the expected number of the instances is incorrect.

Use a correct format.

400

AS.4009

The end time format of the log about expected number of the instances is incorrect.

The end time format of the log about expected number of the instances is incorrect.

Use a correct format.

400

AS.4010

The start_number in the request for the log about the expected number of instances is invalid.

Parameter start_number in the request for the log about the expected number of instances is invalid.

Use a valid start_number value.

400

AS.4011

The value of limit in the request for the log about the expected number of instances is invalid.

The value of parameter limit in the request for the log about the expected number of instances is invalid.

Use a valid limit value.

400

AS.4012

The logId in the request for the log about the expected number of instances is invalid.

The value of parameter logId in the request for the log about the expected number of instances is invalid.

Use a valid logId value.

400

AS.4013

The list of instances to be deleted is empty.

The list of instances to be deleted is null.

Add instances to be deleted.

400

AS.4014

The instances do not belong to the same AS group.

The instances do not belong to the same AS group.

Select instances in the same AS group.

400

AS.4015

The instance is not in inservice state.

The instance is not in the inservice status.

Select an inservice instance.

400

AS.4016

The instance cannot be deleted because it is charged by month or year.

Failed to delete the instance because the instance is charged by month or year.

Refer to the error code description.

400

AS.4017

The requested instance is empty.

The requested instance is null.

Enter a valid instance.

400

AS.4018

The value of the request body action of the batch instance operation is invalid.

The action of the body in the request to operate the instance is invalid.

Use a valid value.

400

AS.4019

The list of instances to be added to the AS group is empty.

The list of instances to be added to the AS group is empty.

Enter a valid instance.

400

AS.4020

The AZ to which the instance belongs is different from the AZ to which the AS group belongs.

The AZ to which the instance belongs is not within the AZ in the AS group.

Select a proper instance for the AZ.

400

AS.4021

The VPC to which the instance belongs is different from the VPC in the AS group.

The VPC to which the instance belongs is different from the VPC in the AS group.

Select a proper instance for the VPC.

400

AS.4022

The number of instances added to the AS group exceeds the upper limit.

The number of instances added to the AS group exceeds the upper limit.

Add a proper number of instances.

400

AS.4023

The added instance already exists.

The added instance has already existed.

Select another valid instance.

400

AS.4024

The added instance is not in the active state.

The instance is not in the active status.

Select an active instance.

400

AS.4025

Invalid value for determining whether to add new ECSs when ECSs enter the standby mode.

The value of the parameter that specifies whether to append new instance(s) is invalid.

Use a valid value.

400

AS.4026

The number of instances deleted exceeds the upper limit.

The number of instances deleted exceeds the upper limit.

Delete a proper number of instances.

400

AS.4027

The instance has already been added to another AS group.

The added instance has already existed in other AS group.

Select another valid instance.

400

AS.4028

The instance ID cannot be left blank.

The AS instance ID cannot be null.

Use a correct instance ID.

400

AS.4029

Failed to batch add instances.

Failed to add instances in a batch.

If this error code is returned, use parameter Message to obtain the instance ID and the failure cause.

400

AS.4030

Failed to delete ECSs in batches.

Failed to delete instances in a batch.

If this error code is returned, use parameter Message to obtain the instance ID and the failure cause.

400

AS.4032

The list of instances is empty.

The list of instances is null.

Refer to the error code description.

400

AS.4033

Failed to set instance protection in a batch.

Failed to set instance protection in a batch.

If this error code is returned, use parameter Message to obtain the instance ID and the failure cause.

400

AS.4043

The number of instances for batch operations exceeds the upper limit.

The number of instances exceeds the upper limit.

Ensure that the number of instances for batch operations is no more than 10 at a time.

400

AS.7012

The ELB listener does not exist.

The ELB listener is unavailable.

Modify the ELB listener information.

400

AS.7019

Private IP addresses in the subnet are insufficient.

The number of private IP addresses in the subnet is insufficient.

Modify the subnet information and enable the AS group.

400

AS.7022

The SSH key of the AS configuration does not exist.

The key pair does not exist.

Replace the AS configuration in the AS group.

400

AS.7025

The notification subject is invalid.

The topic urn is not valid.

Use a valid notification subject.

400

AS.7045

The number of tags exceeds the upper limit.

The number of tags exceeded.

Add a maximum of 10 tags.

400

AS.7047

The tag value is too long.

The value of tag in the resource is too long.

Use a valid value.

400

AS.7048

The resource type in this operation with tag is invalid.

The resource type in this operation with tag is invalid.

Use a valid value.

400

AS.7049

The action in this operation with tag is invalid.

The action in this operation with tag is invalid.

Use a valid value.

400

AS.7050

The key of tag is duplicate.

The key of tag cannot be duplicate.

Use a valid value.

400

AS.7051

The backend ECS group in the AS group does not exist.

The backend ECS group in the AS group does not exist.

Use a valid value. Change the pool of ELB.

400

AS.7052

The matches value is invalid.

The matches in the resource is invalid.

Use a valid matches value.

400

AS.7055

The lifecycle hook metadata contains invalid characters.

The metadata of the lifecycle hook has special character.

Use a valid value.

400

AS.7061

The value of the tag is empty.

The value of scaling tag is null.

Use a valid value.

400

AS.7063

The tag key is too long.

The key of scaling tag is too long.

Use a valid value.

400

AS.7111

The ECS quota is insufficient.

Insufficient instance quota.

Release idle ECSs or apply for a higher ECS quota.

400

AS.7112

The disk capacity quota is insufficient.

Insufficient volume quota.

Release idle ECSs or increase the upper limit of disks.

400

AS.7113

The EIP quota is insufficient.

Insufficient elastic ip quota.

Release idle EIPs or increase the upper limit of EIPs.

400

AS.7114

The ECS memory quota is insufficient.

Insufficient ram quota.

Release idle ECSs or apply for a higher ECS memory quota.

400

AS.7115

The ECS vCPU quota is insufficient.

Insufficient cpu quota.

Release idle ECSs or increase the upper limit of ECS vCPUs.

400

AS.9001

The format of the start time of the scaling log is incorrect.

The format of the start time of the scaling activity log is incorrect.

Use a valid value.

400

AS.9002

The format of the end time for the scaling log is incorrect.

The format of the end time for the scaling action log is incorrect.

Use a valid value.

400

AS.9003

The start_number in the request for the scaling log is invalid.

The value of parameter start_number in the request for the scaling activity log is invalid.

Use a valid value.

400

AS.9004

The limit in the request for the scaling log is invalid.

The value of parameter limit in the request for the scaling activity log is invalid.

Use a valid value.

400

AS.9005

The logId in the request for the scaling log is invalid.

The value of parameter log_id in the request for the scaling log is invalid.

Use a valid value.

400

AS.9012

The type in the request for the scaling action log is invalid.

The value of parameter type in the request for the scaling activity log is invalid.

Use a valid type value.

400

AS.9013

The status in the request for the scaling action log is invalid.

The value of parameter status in the request for the scaling activity log is invalid.

Use a valid value.