Error message reference

更新时间:
复制 MD 格式

This topic describes common error codes, error messages, and solutions for Tingwu integration. You can look up error codes and messages in this document to find their solutions.

Common error codes for API requests

HTTP status code

Error code

Error message

Description

Solution

500

ServerError

Server error.

System error

Submit a ticket or contact a Tingwu engineer.

400

BRK.InvalidService

Invalid service.

The service is not enabled for the account.

Go to the Tingwu console to enable the service, and then call the API again.

400

BRK.OverdueService

Overdue service.

The service quota for the account is exceeded.

Your account has exceeded its service quota. For more information about the quotas for the trial and commercial versions, see Tingwu service quotas.

400

BRK.OverdueTenant

Overdue tenant.

The account has an overdue payment.

Your account has an overdue payment. Top up your account, and then call the API again.

400

BRK.InvalidTenant

Invalid tenant.

The service is not enabled for the account or the account has an overdue payment.

Go to the Tingwu console to enable the service or top up your account. Then, call the API again.

400

BRK.InvalidLanguage

Invalid language.

Invalid language model parameter.

Modify the request parameters as described in the Tingwu API documentation and send the request again.

400

BRK.InvalidAudioFormat

Invalid audio format.

Invalid audio coding format parameter.

Modify the request parameters as described in the Tingwu API documentation and send the request again.

400

BRK.InvalidAudioSampleRate

Invalid audio sample rate.

Invalid audio sampling rate parameter.

Modify the request parameters as described in the Tingwu API documentation and send the request again.

400

BRK.InvalidAudioBitRate

Invalid audio bit rate.

Invalid audio bit depth parameter.

Modify the request parameters as described in the Tingwu API documentation and send the request again.

400

BRK.InvalidAudioPackage

Invalid audio package.

Invalid audio packaging method parameter.

Modify the request parameters as described in the Tingwu API documentation and send the request again.

400

BRK.InvalidOssBucket

Invalid oss bucket.

Invalid OSS Bucket parameter.

Modify the request parameters as described in the Tingwu API documentation and send the request again.

400

BRK.InvalidOssPath

Invalid oss path.

Invalid OSS Path parameter.

Modify the request parameters as described in the Tingwu API documentation and send the request again.

400

BRK.InvalidAppKey

Invalid app key.

Invalid project AppKey parameter.

Modify the request parameters as described in the Tingwu API documentation and send the request again.

400

BRK.InvalidRoleSplitNum

Invalid roleSplitNum.

The role member count parameter is invalid.

Modify the request parameters as described in the Tingwu API documentation and send the request again.

400

BRK.InvalidOutputEnabledSetting

Invalid output enabled setting.

The parameter for the result return switch is invalid.

Modify the request parameters as described in the Tingwu API documentation and send the request again.

400

BRK.InvalidResultLevelSetting

Invalid result level setting.

Invalid result level setting parameter.

Modify the request parameters as described in the Tingwu API documentation and send the request again.

400

BRK.ServiceLinkedRoleNotExist

Service-linked role AliyunServiceRoleForTingwuPaaS does not exist.

Invalid role authorization.

Modify the request parameters as described in the Tingwu API documentation and send the request again.

Common error codes in task results

Error code

Error message

Description

Solution

ServerError

Server error.

System error

Submit a ticket or contact a Tingwu engineer.

TSC.AudioFileSize

Audio file size exceeded.

The audio file size exceeds the limit.

For audio and video file transcription, the input file size must not exceed 6 GB. For more information, see Input requirements.

TSC.AudioSampleRate

Audio sample rate invalid.

Invalid audio sampling rate.

Audio and video file transcription supports audio sampling rates of 8 kHz, 16 kHz, 24 kHz, and 48 kHz. For more information, see Input requirements.

TSC.AudioDuration

Audio duration exceeded.

The audio file duration exceeds the limit.

For audio and video file transcription, the input file duration must not exceed 6 hours. For more information, see Input requirements.

TSC.AudioFileLink

Audio file link invalid.

Invalid audio URL.

Check that the audio or video file path is correct and that the file can be accessed and downloaded from the internet.

TSC.AudioFormat

Audio format invalid.

Invalid audio format.

For information about the supported audio and video formats for file transcription, see Input requirements.

TSC.FileType

File type invalid.

Invalid file.

Check that the audio or video file is not corrupted and can be played.

TSC.FileError

File cannot be read

The file cannot be accessed.

Check whether the file storage service is working, the input is a redirection URL, or an IP whitelist is configured for downloads.

TSC.ContentLengthCheckFailed

The content length check for the URL has failed.

The content-length check failed.

When downloading the file, check that the content-length in the HTTP response matches the actual file size.

PRE.AudioDurationQuotaLimit

Audio duration exceeds quota limit.

The daily trial quota is exceeded. Free Edition users can transcribe audio files with a total duration of up to 2 hours per day. For more information, see Tingwu service quotas.

Upgrade to the commercial version from the Free Edition.

Common error codes for real-time recording

Status code

Status message

Cause

Solution

40000000

Recognize idle timeout.

The connection is closed if the client does not send data to the Tingwu server-side WebSocket connection for an extended period.

Continuously send the audio stream.

40000004

Gateway:IDLE_TIMEOUT:WebSocket session is idle for too long.

After a connection is established, the server-side returns this error message if no data is sent for more than 10 s.

After establishing a connection, maintain interaction with the server. For example, continuously send the audio stream as it is captured. Close the connection promptly after the stream ends.

40010004

Gateway:CLIENT_DISCONNECT:Client disconnected before task finished.

The client closes the connection before the request is processed.

Close the connection after the server-side sends a response.

40270003

DECODE_ERROR

Audio decoding failed.

Set the format parameter based on the actual audio format.

43040001

Concurrency exceeded.

  1. This error is triggered when you establish multiple connections to record the same meeting in real time.

  2. This error is also triggered when you exceed the maximum number of concurrent connections. The limit is 2 for the Free Edition and 200 for the commercial version.

  1. For the same meetingJoinUrl, establish only one WebSocket connection at a time. Disconnect the original connection before you reconnect.

  2. The Free Edition supports 2 concurrent connections. You can upgrade to the commercial version.

  3. If you are already using the commercial version, you can contact us to evaluate the feasibility of increasing the number of concurrent connections.