Updated on 2024-08-09 GMT+08:00

Abnormal Response

Cloud Phone APIs

  • Response parameters

    Parameter

    Type

    Description

    request_id

    String

    Specifies the unique request ID.

    error_code

    String

    Specifies the error code. For details, see Error Codes.

    error_msg

    String

    Specifies the error message.

  • Example response
    { 
        "request_id": "aad0860d089c482b943971f802a6718e", 
        "error_code": "CPS.0001", 
        "error_msg": "No permission to request resources." 
    }

Cloud Mobile Gaming APIs

  • Response parameters

    Parameter

    Type

    Description

    request_id

    String

    Specifies the unique request ID.

    error_code

    String

    Specifies the error code.

    error_msg

    String

    Specifies the error message.

    failures

    Array of objects

    For details about operation object exceptions, see Table 1.

    Table 1 Data structure description of failures

    Parameter

    Type

    Description

    server_id

    String

    Specifies the cloud phone server ID.

    error_code

    String

    Specifies the error code.

    error_msg

    String

    Specifies the error message.

  • Example response
    {
        "request_id": "6837531fd3f54550927b930180a706bf",
        "error_code": "CPS.1040",
        "error_msg": "App pool cannot be scaled down.",
        "failures": [
            {
                "server_id": "1564567b8bab40f34711234cb80d0124",
                "error_code": "CPS.1027",
                "error_msg": "Server is being scaled up."
            },
            {
                "server_id": "1564567b8bab40f34711234cb80d0188",
                "error_code": "CPS.1028",
                "error_msg": "No permission to request resources. Server is frozen."
            }
        ]
    }