Updated on 2025-09-12 GMT+08:00

Responses to TTS Errors

Function

This response is returned if an error occurs when the synthesis engine processes a synthesis request.

Response Parameters

Table 1 Response parameters

Parameter

Type

Description

resp_type

String

Response type. The value is ERROR, indicating an error response.

trace_id

String

Internal token of the service, which can be used to trace a specific process in logs.

error_code

String

Refer to the error code list.

error_msg

String

Returned error message.

Example

{ 
    "resp_type": "ERROR",
    "trace_id": "567e8537-a89c-13c3-a882-826321939651", 
    "error_code":"SIS.0032",  
    "error_msg":"'audio_format' is invalid"  
} 

Status Codes

See Status Codes.

Error Codes

See Error Codes.