All Products
Document Center


Last Updated:May 19, 2022

This topic describes the responses of the ApsaraVideo VOD API.

Response description

Responses are returned in the JSON or XML format. The default response format is XML. To change the format, you can set the Format parameter in requests.

The sample responses provided in the API reference are formatted with line feeds and indentations for better readability. However, the actual responses are not formatted with line feeds or indentations.

Sample success responses

  • XML format

    <? xml version="1.0" encoding="UTF-8" ? >
    <!--Result root node-->
    <Operation name+Response>
        <!--Return request tag-->
        <!--Return result data-->
    </Operation name+Response>
  • JSON format

        "RequestId": "4C467B38-3910-447D-87BC-AC049166F216", /* Return result data */

Sample error responses

If an error occurs when you call an operation, an error response that consists of the error code, error message, and request ID is returned. The HTTP status code is 4xx or 5xx. You can troubleshoot an error based on the error code returned. For more information, see Error codes. If the error persists, you can submit a ticket and provide the host ID and request ID to get technical support from Alibaba Cloud.

  • XML format

    <? xml version="1.0" encoding="UTF-8"? > 
                    <Message>The specified action is not supported. </Message>
  • JSON format

                    "RequestId": "8906582E-6722-409A-A6C4-0E7863B733A5", 
                    "HostId": "",
                    "Code": "UnsupportedOperation",
                    "Message": "The specified action is not supported."