Error Codes
If an error occurs during API calling, no result is returned. You can locate the cause of an error using the error codes of each API. When an API call fails, HTTPS status code 4xx or 5xx is returned. The returned message body contains a specific error code and error message. If you fail to locate the cause of the error, contact the Huawei Cloudcustomer service and provide the error code for troubleshooting.
Format of an Error Response Body
If an error occurs during API calling, an error code and a message will be displayed. The following shows an error response body.
{ "error_code": "SIS.0032", "error_msg": "'audio_format' is invalid" }
In the response body, error_code is an error code, and error_msg provides information about the error.
Error Code Description
If an error code starting with APIGW is returned after you call an API, rectify the fault by referring to the instructions provided in API Gateway Error Codes.
Error Code |
Description |
Solution |
---|---|---|
SIS.0001 |
Connection error. For example, the connection to OBS or Redis is incorrect. |
Contact technical support engineers. |
SIS.0003 |
The token does not contain user information, the agency has been created, or an internal error occurs. |
Contact technical support engineers. |
SIS.0100 |
Internal service error. |
Contact technical support engineers. |
SIS.0101 |
The authentication token is abnormal. |
|
SIS.0102 |
Authentication information is missing. |
Check whether the X-Auth-Token field in the request header exists. |
SIS.0103 |
Real-name authentication is missing. |
Perform real-name authentication. No authentication is required for HUAWEI CLOUD (International). |
SIS.0012 |
Fields required in the request body are missing. |
Check whether mandatory fields of request parameters are missing. |
SIS.0031 |
The request parameter is not supported. |
Check whether the request parameters are correct. |
SIS.0032 |
The JSON format of the request body is incorrect. |
Check whether the JSON format of the request body is correct.
|
SIS.0022 |
The product cannot be subscribed to. |
The product cannot be purchased. Contact the technical support. |
SIS.0023 |
Failed to subscribe to the product. |
Failed to purchase the product. Contact the technical support. |
SIS.0024 |
Updating restrictions is not allowed. |
The restrictions cannot be updated. Contact the technical support. |
SIS.0033 |
The engine response timed out. |
Contact technical support engineers. |
SIS.0201 |
Failed to find the hot word table. |
Check whether the request parameters are correct or contact technical support. |
SIS.0203 |
Some hot words are too long or invalid. |
Correct the invalid hot words based on the error information. |
SIS.0204 |
The hot word table name already exists. |
Modify the hot word table name. |
SIS.0205 |
The language is not supported. |
Modify the hot word table. |
SIS.0206 |
Failed to save the hot word. |
Contact technical support engineers. |
SIS.0207 |
The hot word content is damaged. |
Contact technical support engineers. |
SIS.0208 |
There are too many hot word tables. |
Delete unnecessary hot word tables. If you need to configure more hot word tables, contact the customer service personnel. |
SIS.0301 |
The input audio_format parameter does not match the model. |
Check whether the request parameters are correct. |
SIS.0302 |
The internal service is abnormal. |
Contact technical support engineers. |
SIS.0303 |
Failed to connect to the engine. |
Try again. If the problem occurs multiple times, contact professional engineers. |
SIS.0304 |
Audio waiting timed out. |
This error is reported if the client does not send a voice message for a long time and the server does not receive the voice message within 20 seconds.
|
SIS.0305 |
An exception occurred during speech recognition. |
Try again or contact technical support engineers. |
SIS.0306 |
An exception occurred during speech recognition. |
Try again or contact technical support engineers. |
SIS.0307 |
An exception occurred during speech recognition. |
Try again or contact technical support engineers. |
SIS.0309 |
The real-time speech recognition audio duration exceeds the upper limit. |
Check whether the audio duration is supported. In the short-stream mode, the audio duration cannot exceed 60 seconds. In the continue-stream or sentence-stream mode, the audio duration cannot exceed 5 hours. |
SIS.0401 |
An exception occurred during audio synthesis. |
Try again or contact technical support engineers. |
SIS.0402 |
The input sample_rate parameter for TTS is invalid. |
Check whether the input sample_rate for TTS matches the sampling ratio supported by the value range of property. |
SIS.0410 |
The input audio_format parameter for TTS is invalid. |
Check whether the request parameters are correct. |
SIS.0411 |
The input property parameter for TTS is invalid. |
Check whether the request parameters are correct. |
SIS.0412 |
Connection to the TTS engine timed out. |
Try again or contact technical support engineers. |
SIS.0413 |
Internal TTS error occurred. |
Try again or contact technical support engineers. |
SIS.0414 |
TTS waiting timed out. |
Try again or contact technical support engineers. |
SIS.0415 |
The TTS request body is incorrect. |
Check whether the request body is correct. |
SIS.0416 |
Waiting for the user to send the text timed out. |
Resend the text you want to convert to speech. |
SIS.0417 |
TTS engine error. |
Try again or contact technical support engineers. |
SIS.0418 |
TA TTS task is being processed. |
Do not repeatedly send the command for starting a TTS task. |
SIS.0419 |
Invalid ssml. |
The input text contains invalid characters. |
SIS.0506 |
Failed to find a proxy. |
|
SIS.0533 |
The request parameters of Long Audio Transcription are incorrect. |
Check whether the request parameters are correct. |
SIS.0534 |
The request body of Long Audio Transcription is incorrect. |
Check whether the request body is correct.
|
SIS.0535 |
The requested file type of Long Audio Transcription is not supported. |
|
SIS.0536 |
The number of submitted jobs of Long Audio Transcription reached the upper limit. |
Try again later. |
SIS.0537 |
The size of an audio recording is too large. |
Reduce the file size. For example, divide it into multiple files. |
SIS.0538 |
The Long Audio Transcription job timed out. |
Try again later. |
SIS.0601 |
The input parameter of ASR or TTS is invalid. |
Check whether the request parameters are correct and complete. |
SIS.0602 |
The speech format for ASR is not supported. |
Check whether the encoding format of the submitted speech is supported. |
SIS.0604 |
The size of the ASR file does not meet the requirements or the number of words to be synthesized in TTS exceeds the upper limit. |
Reduce the size of the speech file or the number of words to be synthesized. Note that when the OBS link is used for submission, the file size increases after Base64 encoding. |
SIS.0605 |
An ASR or TTS internal error occurred. |
Try again or contact technical support engineers. |
SIS.0608 |
Invalid URL. |
Check the URL and ensure that the OBS link of the corresponding region is used. |
SIS.0609 |
Failed to download the audio file from the specified URL. |
Check whether the OBS is in the public-read status or whether OBS authentication is enabled. |
SIS.0701 |
The size of the input audio, video, or exam paper exceeds the upper limit. |
Refer to the error information and API document to reduce the size of the audio, video, or exam paper. |
SIS.0702 |
The input parameter is invalid. For example, the assessment language or mode is not supported. The audio or video format is not supported. The exam paper is invalid. |
Refer to the error information and API document to enter correct parameters. |
SIS.30003 |
Failed to download the audio from OBS. |
Check whether the audio on OBS can be accessed. |
SIS.30004 |
Failed to download the hot word file. |
Check whether the hot word file exists. |
SIS.30006 |
Failed to decode the audio. |
Check whether the format of the audio file is correct and whether the audio file is empty. |
SIS.30007 |
The transcription engine failed to load hot words. |
Check whether the hot word file exists. |
SIS.30008 |
The transcription engine failed to transcript the audio. |
Check whether the parameters are correct or contact the technical support. |
SIS.0541 |
The property and format parameters of Audio Transcription do not match. |
Check whether the formats of Property and format are correct.
|
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