Error Code Reference
Real Translation Buddy OpenAPI returns errors through two distinct channels:
-
Business errors — HTTP 200 with
Success: falsein the response body, plusCodeandMessagefields. These cover business logic errors such as insufficient Credits, invalid task state, or unsupported file format. -
Gateway/auth errors — HTTP 4xx thrown as SDK exceptions (e.g.,
TeaException). These cover parameter validation failures, authentication issues, and throttling at the gateway layer.
Example of a business error response:
{
"Success": false,
"Code": "Task.NotFound",
"Message": "Task does not exist or you do not have access permission",
"RequestId": "AB1F2C3D-..."
}
Client-side errors
Parameter validation
|
Code |
Description |
Suggested action |
|
|
Request parameter validation failed |
Check whether required parameters are present and correctly formatted |
|
|
Translation config is invalid (e.g., unsupported language pair, missing required fields) |
Check that |
|
|
Pagination parameter is invalid |
Check MaxResults / NextToken parameters |
File errors
|
Code |
Description |
Suggested action |
|
|
The file was not uploaded correctly. This error typically occurs when calling the raw OpenAPI without going through the SDK's two-step upload flow. |
Use the SDK's |
|
|
File cannot be accessed |
The file link may have expired; re-upload the file |
|
|
Unsupported file format |
Supported formats: .pptx / .ppt / .docx / .doc / .xlsx / .xls / .pdf / .txt / .md / .mp4 / .jpg / .jpeg / .png / .webp |
|
|
File exceeds size limit |
Size limits: images 50 MB, MP4 1 GB, other formats 500 MB. Compress or split the file and retry. |
|
|
Document content is empty |
Document word/page count is 0, cannot translate |
|
|
The video exceeds the 1-hour (3,600 seconds) duration limit |
Trim the video to under 1 hour and upload it again |
Credits and sensitive content
|
Code |
Description |
Suggested action |
|
|
Insufficient Credits balance |
Check seat usage; contact the admin to renew or purchase an add-on package |
|
|
Document contains blocked sensitive content |
The document was blocked by the security policy; check its content |
Identity and permission errors
|
Code |
Description |
Suggested action |
|
|
Member account did not pass an API Key |
Pass the API Key via the |
|
|
API Key is not bound to a business identity |
Complete API Key binding in the console |
|
|
No valid seat bound |
Contact the admin to assign a seat in the console |
|
|
RAM user lacks the required API permission |
Contact the admin to grant the |
|
|
Sub-account has no permission |
Contact the Alibaba Cloud account for authorization |
Resource and state errors
|
Code |
Description |
Suggested action |
|
|
Task does not exist or you do not have access |
Confirm the TaskId is correct and belongs to the current caller |
|
|
The task is in a terminal state and cannot be modified |
Only tasks in |
|
|
Translation is not complete yet |
Wait for the task to complete before downloading the translated file |
Gateway and authentication errors (HTTP 4xx)
These errors are thrown as SDK exceptions (e.g., TeaException) rather than returned in the response body. They originate from the Alibaba Cloud API gateway layer.
|
Code |
Description |
Suggested action |
|
|
The AccessKey ID does not exist |
Verify the AccessKey ID is correct and active |
|
|
Request signature verification failed |
Check the AccessKey Secret; ensure the system clock is synchronized |
|
|
Required Config parameter is missing from the request |
Ensure the |
|
|
SourceLanguage is missing from the Config |
Set |
|
|
Requests exceed the gateway-level rate limit |
Reduce the request rate; implement exponential backoff and retry |
Throttling (business layer)
|
Code |
Description |
Suggested action |
|
|
Requests are too frequent |
Reduce the request rate; increase the interval and retry |
Server-side errors
|
Code |
Description |
Suggested action |
|
|
Internal service error |
Retry later; if the issue persists, please click here to contact us (top-right corner |
|
|
Service is under maintenance |
Retry later |
|
|
The current region is not supported |
Confirm the endpoint and region are correct |