• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1# backgroundTaskManager 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## 9800001 Memory Operation Failure
8
9**Error Message**
10
11Memory operation failed.
12
13**Possible Causes**
14
151. A memory leak occurs.
162. The system memory is insufficient.
17
18**Solution**
19
201. Release the memory.
212. Check whether memory leak occurs.
22
23## 9800002 Parcel Operation Failure
24
25**Error Message**
26
27Parcel operation failed.
28
29**Possible Causes**
30
31An exception occurs when invoking the **MessageParcel** object to read or write an object.
32
33**Solution**
34
35Try again later or restart the device.
36
37## 9800003 IPC Failure
38
39**Error Message**
40
41IPC failed.
42
43**Possible Causes**
44
45IPC fails.
46
47**Solution**
48
49Try again later or restart the device.
50
51## 9800004 System Service Failure
52
53**Error Message**
54
55System service operation failed.
56
57**Possible Causes**
58
591. The system service is not started.
602. The system service is abnormal.
61
62**Solution**
63
64Try again later or restart the device.
65
66## 9800005 Continuous Task Verification Failure
67
68**Error Message**
69
70Continuous task verification failed.
71
72**Possible Causes**
73
741. The application repeatedly requests a continuous task.
752. The application repeatedly cancels a continuous task.
763. The value of **bgMode** is invalid because no continuous task type is configured for **backgroundModes** in the application's configuration file.
774. A non-PC device requests the continuous task **KEEPING_TASK**, which is available only for PCs.
785. A third-party application requests the continuous task **WIFI_INTERACTION** or **VOIP**, which is available only for system applications.
79
80**Solution**
81
821. Check the application code.
832. Check whether the application has the system permissions.
843. Check the type of the device where the application is located.
854. Check the value of **backgroundModes**.
86
87## 9800006 Notification Verification Failure
88
89**Error Message**
90
91Notification verification failed.
92
93**Possible Causes**
94
951. The continuous task resources cached in the resource subsystem fail to be loaded.
962. The notification subsystem functions abnormally.
97
98**Solution**
99
1001. Check for the continuous task resources **ohos.backgroundtaskmgr.resources**.
1012. Try again later or restart the device.
102
103## 9800007 Continuous Task Storage Failure
104
105**Error Message**
106
107Task storage failed.
108
109**Possible Causes**
110
1111. Failed to create a file to store the task information.
1122. Failed to obtain the file path.
1133. Failed to open the file that stores the task information.
114
115**Solution**
116
1171. Check the **/data/service/el1/public/background_task_mgr/running_task** file.
1182. Try again later or restart the device.
119
120## 9900001 Caller Information Verification Failure for a Transient Task
121
122**Error Message**
123
124Caller information verification failed for a transient task.
125
126**Possible Causes**
127
1281. Failed to obtain the UID or PID of the caller.
1292. Failed to obtain the bundle name of the caller.
1303. The request ID passed in the API used to cancel the transient task is invalid.
131
132**Solution**
133
1341. Check whether the application UID exists.
1352. Check whether the application has requested a transient task.
1363. Try again later or restart the device.
137
138## 9900002 Continuous Task Verification Failure
139
140**Error Message**
141
142Transient task verification failed.
143
144**Possible Causes**
145
1461. The callback passed in **requestSuspendDelay()** already exists.
1472. The callback passed in **cancelSuspendDelay()** does not exist.
1483. The application attempts to request a transient task 5 seconds after it switches to the background.
1494. The application has already requested three transient tasks.
1505. The application's daily quota for transient tasks is used up.
151
152**Solution**
153
1541. Check the application code.
1552. The application should cancel transient tasks immediately after they are complete.
156
157## 18700001 Caller Information Verification Failure for an Energy Resource Request
158
159**Error Message**
160
161Caller information verification failed when applying for efficiency resources.
162
163**Possible Causes**
164
1651. Failed to obtain the UID or PID of the caller.
1662. The value of **resourceTypes **for requesting energy resources exceeds the upper limit.
167
168**Solution**
169
170Check the input parameters.
171