Error Responses
Error responses report errors that do not affect the recognition process but interrupt the current session, including the following:
- Incorrect configuration strings, including those that cannot be recognized and those whose value range is invalid.
- Incorrect time sequence. For example, the "recognition starting" command is sent twice consecutively.
- Errors occurring during the recognition process. For example, an error occurs during audio decoding.
If an error response is sent during a session, a "recognition ending" response will also be sent to mark the end of the session. If the session does not start, the system does not perform other operations after sending the error response. The subsequent audio data is ignored until the next "recognition starting" request is received.
Response
Parameter |
Type |
Description |
---|---|---|
resp_type |
String |
Response type. The value of this parameter is ERROR, indicating the error response. |
trace_id |
String |
Service internal token used to trace a specific process in logs. In some cases, this field may not exist. |
error_code |
String |
Error codes. For details, see Error Codes. |
error_msg |
String |
Returned error message |
Example
{ "resp_type": "ERROR", "trace_id": "567e8537-a89c-13c3-a882-826321939651", "error_code": "SIS.0002", "error_msg": "***" }
Status Code
For details about status codes, see Status Codes.
Error Code
For details about error codes, see Error Codes.
Feedback
Was this page helpful?
Provide feedbackThank you very much for your feedback. We will continue working to improve the documentation.See the reply and handling status in My Cloud VOC.
For any further questions, feel free to contact us through the chatbot.
Chatbot