1# Upload and Download Error Codes
2
3> **NOTE**
4>
5> This topic describes only module-specific error codes. For details about universal error codes, see [Universal Error Codes](../errorcode-universal.md).
6
7## 13400001 File Operation Error
8
9**Error Message**
10
11File operation error.
12
13**Description**
14
15This error code is reported when a file operation error occurs in invoking the **uploadFile** or **downloadFile** API.
16
17**Possible Causes**
18
19The file permission is insufficient.
20
21**Solution**
22
23Make sure you have the required permission on the target files.
24
25## 13400002 File Path Error
26
27**Error Message**
28
29Bad file path.
30
31**Description**
32
33This error code is reported when a file path error occurs in invoking the **uploadFile** or **downloadFile** API.
34
35**Possible Causes**
36
37The file path is incorrect or the file already exists in the path.
38
39**Solution**
40
41Verify the file path.
42
43## 13400003 Service Error
44
45**Error Message**
46
47Task service ability error.
48
49**Description**
50
51This error code is reported when a task manager service error occurs in invoking the **downloadFile** API.
52
53**Possible Causes**
54
55The task fails to be created.
56
57**Solution**
58
59Verify the task settings.
60
61## 13499999 Other Error
62
63**Error Message**
64
65other error.
66
67**Description**
68
69This error code is reported when a special error occurs in invoking the **uploadFile** or **downloadFile** API.
70
71**Possible Causes**
72
73The task fails to be created.
74
75**Solution**
76
77Verify the task settings.
78
79
80## 21900004 Application Task Queue Full
81
82**Error Message**
83
84application task queue full error.
85
86**Description**
87
88This error code is reported when the application task queue is full.
89
90**Possible Causes**
91
92The application fails to create a background task (resources are preempted by foreground tasks, where no task queue is involved).
93
94**Solution**
95
961. Obtain all background tasks of the application through the query API.
97
982. Proactively remove tasks not needed to release the quota.
99
1003. Create a background task again.
101
102## 21900005 Task Mode Error
103
104**Error Message**
105
106task mode error.
107
108**Description**
109
110This error code is reported when a task mode error occurs.
111
112**Possible Causes**
113
114The application attempts to create a foreground task when it is not running in the foreground.
115
116**Solution**
117
1181. Register and deregister an event listener for a foreground application.
119
1202. Follow the instructions in the API reference document.
121
122## 21900006 Task Not Found
123
124**Error Message**
125
126task not found error.
127
128**Description**
129
130This error code is reported when the task is not found.
131
132**Possible Causes**
133
134The task to remove or query does not exist.
135
136**Solution**
137
1381. Query existing tasks through the query API.
139
1402. Check whether the target task exists. (The system periodically deletes junk tasks.)
141
1423. Verify the task ID and try again.
143
144## 21900007 Operation Not Supported in Current State
145
146**Error Message**
147
148task state error.
149
150**Description**
151
152This error code is reported when the operation performed is not supported.
153
154**Possible Causes**
155
1561. The task to start has been deleted.
157
1582. The task to start has not been initialized.
159
1603. The task to pause is not being executed.
161
1624. The task to resume is not paused.
163
1645. The task to stop is not being executed.
165
166**Solution**
167
1681. Check the task status.
169
1702. Perform the operation supported by the current task status.
171