All Products
Document Center

Response structure

Last Updated: Aug 28, 2017

The format of return value is unified. The returned HTTP status code like 2xx indicates a successful call, 4xx or 5xx indicates a failed call.

The response body of the successful calls is in XML format (the unformatted one includes line breaks, indentation, etc.) to enhance the readability like this document.


The followed return value in XML includes the information indicating if it is successful or failed and the specific business data. As follows:

  1. <?xml version="1.0" encoding="utf-8"?>
  2. <!—Root Node-->
  3. <Root node xmlns="">
  4. <!—Subnode-->
  5. </Root node>


Error code instead of the response body above would be returned if an error occurs. The <Error Code Table> in the appendix would help you to track the cause of the error.

When an error occurs, the HTTP status code like 4xx or 5xx will be returned. The returned message body contains the specific error code and error message, as well as the globally unique request ID (RequestId) for this request and the ID of the site you accessed for this time (HostId).

If unable to rectify the error, you could contact Alibaba Cloud customer service and provide the HostId and RequestId to help us to solve your problem as soon as possible.