Upload/Download Error Codes
Note:
Currently in the beta phase.
Note:
This document only covers module-specific error codes. For universal error codes, please refer to the Universal Error Code Documentation.
13400001 File Operation Error
Error Message
File operation error.
Error Description
Insufficient file permissions or operation failure when calling the uploadFile or downloadFile interface.
Possible Causes
This error code indicates a file operation exception, possibly due to insufficient file permissions.
Resolution Steps
Check whether the file permissions are properly configured.
13400002 Invalid File Path
Error Message
Bad file path.
Error Description
Invalid file path or existing file at the specified path when calling the uploadFile or downloadFile interface.
Possible Causes
This error code indicates an invalid file path, possibly due to an incorrect path or an existing file at the specified location.
Resolution Steps
Verify that the file path for upload/download is correct.
13400003 Service Error
Error Message
Task service ability error.
Error Description
Failure in the background service for download tasks when calling the downloadFile interface.
Possible Causes
This error code indicates a service exception, possibly due to task creation failure.
Resolution Steps
Check whether the task configuration is correct.
13499999 Other Errors
Error Message
other error.
Error Description
Special errors encountered when calling the uploadFile or downloadFile interface.
Possible Causes
This error code indicates a service exception, possibly due to task creation failure.
Resolution Steps
Check whether the task configuration is correct.
21900004 Application Task Queue Full
Error Message
application task queue full error.
Error Description
The application task queue is full.
Possible Causes
Failure to create a background task (foreground tasks directly preempt resources and do not involve the work queue).
Resolution Steps
- Query all background tasks of the application via the retrieval interface.
- Actively clean up and release quotas.
- Recreate the background task.
21900005 Invalid Task Mode
Error Message
task mode error.
Error Description
Invalid task mode.
Possible Causes
A non-foreground application attempts to create a foreground task.
Resolution Steps
- Register or unregister event listeners for foreground applications.
- This is an interface restriction—follow the interface specifications.
21900006 Non-existent Task Operation Error
Error Message
task not found error.
Error Description
Operation attempted on a non-existent task.
Possible Causes
Deleting or querying a non-existent task.
Resolution Steps
- Query existing tasks via the retrieval interface.
- Confirm whether the queried task exists (the system periodically cleans up garbage tasks).
- Retry the operation with the correct task ID.
21900007 Unsupported Task State Operation
Error Message
task state error.
Error Description
Operation attempted on a task in an unsupported state.
Possible Causes
- Starting a deleted task.
- Starting a non-initialized task.
- Pausing a non-running task.
- Resuming a non-paused task.
- Stopping a non-running task.
Resolution Steps
- Query the task state.
- Perform operations supported by the current task state.