This topic describes only module-specific error codes. For details about universal error codes, see Universal Error Codes.
Error Message
Invalid file or file system error.
Description
This error code is reported when the create, uploadFile, or downloadFile API passes an invalid file or the file system error occurs.
Possible Causes
The file permission is insufficient. For details, see the error message in BusinessError.
Solution
Make sure you have the required permission on the target files.
Error Message
File path not supported or invalid.
Description
This error code is reported when a file path error occurs in invoking the uploadFile or downloadFile API.
Possible Causes
The file path is incorrect or the file already exists in the path.
Solution
Verify the file path.
Error Message
Task service ability error.
Description
This error code is reported when a task manager service error occurs in invoking the downloadFile API.
Possible Causes
The task fails to be created.
Solution
Verify the task settings.
Error Message
Other error.
Description
This error code is reported when other error occurs in invoking the uploadFile or downloadFile API.
Possible Causes
The task fails to be created.
Solution
Verify the task settings.
Error Message
The application task queue is full.
Description
This error code is reported when the application task queue is full.
Possible Causes
The application fails to create a background task (resources are preempted by foreground tasks, where no task queue is involved).
Solution
Obtain all background tasks of the application through the query API.
Proactively remove tasks not needed to release the quota.
Create a background task again.
Error Message
Operation with wrong task mode.
Description
This error code is reported when a task mode error occurs.
Possible Causes
The application attempts to create a foreground task when it is not running in the foreground.
Solution
Register and deregister an event listener for a foreground application.
Follow the instructions in the API reference document.
Error Message
Task removed or not found.
Description
This error code is reported when the task does not exist.
Possible Causes
The task to remove or query does not exist.
Solution
Query existing tasks through the query API.
Check whether the target task exists. (The system periodically deletes junk tasks.)
Verify the task ID and try again.
Error Message
Operation with wrong task state.
Description
This error code is reported when an operation is not supported by the task state.
Possible Causes
The task to start has been deleted.
The task to start has not been initialized.
The task to pause is not being executed.
The task to resume is not paused.
The task to stop is not being executed.
Solution
Query the task state.
Perform the operation supported by the current task state.
Error Message
Group deleted or not found.
Description
This error code is reported when a task group does not exist or has been deleted.
Possible Causes
Delete a task group that has been deleted or does not exist.
Add a task to a group that has been deleted or does not exist.
Solution
Check whether the target group has been deleted.