Responses

Updated at:
Copy as MD

Auto Scaling API responses use JSON (default) or XML format. Each response includes a request ID for tracking.

Responses are returned in JSON (default) or XML format. To change the format, set the Format common request parameter. Common parameters.

Note Response examples in this document are formatted with line breaks and indentation for readability. Actual responses contain no formatting.

Successful responses

A successful request returns the response parameters and a request ID with an HTTP 2xx status code.

XML example

<?xml version="1.0" encoding="UTF-8"?> <!--The root node of the response-->
<ActionResponse> <!--The response for the request-->
    <RequestId>4C467B38-3910-447D-87BC-AC049166F223</RequestId> <!--The response data-->
</ActionResponse>

JSON example

{
    "RequestId": "4C467B38-3910-447D-87BC-AC049166F223" /* The response data */
}

Error responses

A failed request returns an error code, error message, and request ID with an HTTP 4xx or 5xx status code.

Troubleshoot errors using the API error code and common error codes. If the error persists, submit a ticket with the HostId and RequestId.

XML example

<?xml version="1.0" encoding="UTF-8"?><!--The root node of the response-->
<Error>
    <RequestId>540CFF28-407A-40B5-B6A5-74Bxxxxxxxxx</RequestId> <!--The request ID-->
    <HostId>ess.aliyuncs.com</HostId> <!--The service node-->
    <Code>InternalError</Code> <!--The error code-->
    <Message>The request processing has failed due to some unknown error, exception or failure.</Message> <!--The error message-->
</Error>

JSON example

{
    "RequestId": "540CFF28-407A-40B5-B6A5-74Bxxxxxxxxx", /* The request ID */
    "HostId": "ess.aliyuncs.com", /* The service node */
    "Code": "InternalError", /* The error code */
    "Message": "The request processing has failed due to some unknown error, exception or failure." /* The error message */
}

Common error codes

HttpCode Error code Error message Description
400 InvalidAccessKeyId.NotFound The Access Key ID provided does not exist in our records. The specified AccessKey ID does not exist.
400 InvalidParameter The specified value of parameter <parameter name> is not valid. The value of the specified parameter is invalid.
400 MissingParameter The input parameter <parameter name> that is mandatory for processing this request is not supplied. A required parameter is missing.
400 NoSuchVersion The specified version does not exist. The specified API version does not exist.
400 ResourceNotAvailable Resource you requested is not available in this region or zone. The Auto Scaling service is not deployed in the specified region.
400 Throttling Request was denied due to request throttling. The request is throttled by the system. Try again later.
400 UnsupportedOperation The specified action is not supported. The specified API cannot be called.
403 Forbidden Users are not authorized to operate on the specified resource. You are not authorized to perform this operation.
403 Forbidden.RiskControl This operation is forbidden by Aliyun Risk Control system. This operation is prohibited due to risk governance.
403 Forbidden.Unsubscribed Do not have permission to access this API. You cannot call this API because you have not activated the Auto Scaling service.
403 Forbidden.UserVerification Your user account is not verified by Aliyun. You have not completed identity verification.
403 SignatureDoesNotMatch The signature we calculated does not match the one you provided. The calculated signature does not match the signature that you provided.
500 InternalError The request processing has failed due to some unknown error, exception or failure. A system error occurred.
503 ServiceUnavailable The request has failed due to a temporary failure of the server. The server cannot process the request at the moment. Try again later.