1e41f4b71Sopenharmony_ci# backgroundTaskManager Error Codes
2e41f4b71Sopenharmony_ci
3e41f4b71Sopenharmony_ci> **NOTE**
4e41f4b71Sopenharmony_ci>
5e41f4b71Sopenharmony_ci> This topic describes only module-specific error codes. For details about universal error codes, see [Universal Error Codes](../errorcode-universal.md).
6e41f4b71Sopenharmony_ci
7e41f4b71Sopenharmony_ci## 9800001 Memory Operation Failure
8e41f4b71Sopenharmony_ci
9e41f4b71Sopenharmony_ci**Error Message**
10e41f4b71Sopenharmony_ci
11e41f4b71Sopenharmony_ciMemory operation failed.
12e41f4b71Sopenharmony_ci
13e41f4b71Sopenharmony_ci**Description**
14e41f4b71Sopenharmony_ci
15e41f4b71Sopenharmony_ciThis error code is reported when a memory operation fails.
16e41f4b71Sopenharmony_ci
17e41f4b71Sopenharmony_ci**Possible Causes**
18e41f4b71Sopenharmony_ci
19e41f4b71Sopenharmony_ci1. A memory leak occurs.
20e41f4b71Sopenharmony_ci2. The system memory is insufficient.
21e41f4b71Sopenharmony_ci
22e41f4b71Sopenharmony_ci**Solution**
23e41f4b71Sopenharmony_ci
24e41f4b71Sopenharmony_ci1. Release the memory.
25e41f4b71Sopenharmony_ci2. Check whether memory leak occurs.
26e41f4b71Sopenharmony_ci
27e41f4b71Sopenharmony_ci## 9800002 Parcel Operation Failure
28e41f4b71Sopenharmony_ci
29e41f4b71Sopenharmony_ci**Error Message**
30e41f4b71Sopenharmony_ci
31e41f4b71Sopenharmony_ciParcel operation failed.
32e41f4b71Sopenharmony_ci
33e41f4b71Sopenharmony_ci**Description**
34e41f4b71Sopenharmony_ci
35e41f4b71Sopenharmony_ciThis error code is reported when the read or write operation fails during IPC.
36e41f4b71Sopenharmony_ci
37e41f4b71Sopenharmony_ci**Possible Causes**
38e41f4b71Sopenharmony_ci
39e41f4b71Sopenharmony_ciAn exception occurs when invoking the **MessageParcel** object to read or write an object.
40e41f4b71Sopenharmony_ci
41e41f4b71Sopenharmony_ci**Solution**
42e41f4b71Sopenharmony_ci
43e41f4b71Sopenharmony_ciTry again later or restart the device.
44e41f4b71Sopenharmony_ci
45e41f4b71Sopenharmony_ci## 9800003 IPC Failure
46e41f4b71Sopenharmony_ci
47e41f4b71Sopenharmony_ci**Error Message**
48e41f4b71Sopenharmony_ci
49e41f4b71Sopenharmony_ciInternal transaction failed.
50e41f4b71Sopenharmony_ci
51e41f4b71Sopenharmony_ci**Description**
52e41f4b71Sopenharmony_ci
53e41f4b71Sopenharmony_ciThis error code is reported when IPC fails.
54e41f4b71Sopenharmony_ci
55e41f4b71Sopenharmony_ci**Possible Causes**
56e41f4b71Sopenharmony_ci
57e41f4b71Sopenharmony_ciIPC fails.
58e41f4b71Sopenharmony_ci
59e41f4b71Sopenharmony_ci**Solution**
60e41f4b71Sopenharmony_ci
61e41f4b71Sopenharmony_ciTry again later or restart the device.
62e41f4b71Sopenharmony_ci
63e41f4b71Sopenharmony_ci## 9800004 System Service Failure
64e41f4b71Sopenharmony_ci
65e41f4b71Sopenharmony_ci**Error Message**
66e41f4b71Sopenharmony_ci
67e41f4b71Sopenharmony_ciSystem service operation failed.
68e41f4b71Sopenharmony_ci
69e41f4b71Sopenharmony_ci**Description**
70e41f4b71Sopenharmony_ci
71e41f4b71Sopenharmony_ciThis error code is reported when the client process fails to obtain the system service.
72e41f4b71Sopenharmony_ci
73e41f4b71Sopenharmony_ci**Possible Causes**
74e41f4b71Sopenharmony_ci
75e41f4b71Sopenharmony_ci1. The system service is not started.
76e41f4b71Sopenharmony_ci2. The system service is abnormal.
77e41f4b71Sopenharmony_ci
78e41f4b71Sopenharmony_ci**Solution**
79e41f4b71Sopenharmony_ci
80e41f4b71Sopenharmony_ciTry again later or restart the device.
81e41f4b71Sopenharmony_ci
82e41f4b71Sopenharmony_ci## 9800005 Continuous Task Verification Failure
83e41f4b71Sopenharmony_ci
84e41f4b71Sopenharmony_ci**Error Message**
85e41f4b71Sopenharmony_ci
86e41f4b71Sopenharmony_ciContinuous task verification failed.
87e41f4b71Sopenharmony_ci
88e41f4b71Sopenharmony_ci**Description**
89e41f4b71Sopenharmony_ci
90e41f4b71Sopenharmony_ciThis error code is reported when continuous task verification fails.
91e41f4b71Sopenharmony_ci
92e41f4b71Sopenharmony_ci**Possible Causes**
93e41f4b71Sopenharmony_ci
94e41f4b71Sopenharmony_ci1. The application repeatedly requests a continuous task.
95e41f4b71Sopenharmony_ci2. The application repeatedly cancels a continuous task.
96e41f4b71Sopenharmony_ci3. The value of **bgMode** is invalid because no continuous task type is configured for **backgroundModes** in the application's configuration file.
97e41f4b71Sopenharmony_ci4. Only <!--RP1-->specific devices<!--RP1End--> can request continuous tasks of the KEEPING_TASK type.
98e41f4b71Sopenharmony_ci
99e41f4b71Sopenharmony_ci**Solution**
100e41f4b71Sopenharmony_ci
101e41f4b71Sopenharmony_ci1. Check the application code.
102e41f4b71Sopenharmony_ci2. Check whether the application has the system permissions.
103e41f4b71Sopenharmony_ci3. Check the type of the device where the application is located.
104e41f4b71Sopenharmony_ci4. Check the value of **backgroundModes**.
105e41f4b71Sopenharmony_ci
106e41f4b71Sopenharmony_ci## 9800006 Notification Verification Failure for a Continuous Task
107e41f4b71Sopenharmony_ci
108e41f4b71Sopenharmony_ci**Error Message**
109e41f4b71Sopenharmony_ci
110e41f4b71Sopenharmony_ciNotification verification failed for a continuous task.
111e41f4b71Sopenharmony_ci
112e41f4b71Sopenharmony_ci**Description**
113e41f4b71Sopenharmony_ci
114e41f4b71Sopenharmony_ciThis error code is reported when notification verification in a continuous task fails.
115e41f4b71Sopenharmony_ci
116e41f4b71Sopenharmony_ci**Possible Causes**
117e41f4b71Sopenharmony_ci
118e41f4b71Sopenharmony_ci1. The continuous task resources cached in the resource subsystem fail to be loaded.
119e41f4b71Sopenharmony_ci2. The notification subsystem functions abnormally.
120e41f4b71Sopenharmony_ci
121e41f4b71Sopenharmony_ci**Solution**
122e41f4b71Sopenharmony_ci
123e41f4b71Sopenharmony_ci1. Check for the continuous task resources **ohos.backgroundtaskmgr.resources**.
124e41f4b71Sopenharmony_ci2. Try again later or restart the device.
125e41f4b71Sopenharmony_ci
126e41f4b71Sopenharmony_ci## 9800007 Continuous Task Storage Failure
127e41f4b71Sopenharmony_ci
128e41f4b71Sopenharmony_ci**Error Message**
129e41f4b71Sopenharmony_ci
130e41f4b71Sopenharmony_ciContinuous task storage failed.
131e41f4b71Sopenharmony_ci
132e41f4b71Sopenharmony_ci**Description**
133e41f4b71Sopenharmony_ci
134e41f4b71Sopenharmony_ciThis error code is reported when information storage in a continuous task fails. 
135e41f4b71Sopenharmony_ci
136e41f4b71Sopenharmony_ci**Possible Causes**
137e41f4b71Sopenharmony_ci
138e41f4b71Sopenharmony_ci1. Failed to create a file to store the task information.
139e41f4b71Sopenharmony_ci2. Failed to obtain the file path.
140e41f4b71Sopenharmony_ci3. Failed to open the file that stores the task information.
141e41f4b71Sopenharmony_ci
142e41f4b71Sopenharmony_ci**Solution**
143e41f4b71Sopenharmony_ci
144e41f4b71Sopenharmony_ci1. Check the **/data/service/el1/public/background_task_mgr/running_task** file.
145e41f4b71Sopenharmony_ci2. Try again later or restart the device.
146e41f4b71Sopenharmony_ci
147e41f4b71Sopenharmony_ci## 9900001 Caller Information Verification Failure for a Transient Task
148e41f4b71Sopenharmony_ci
149e41f4b71Sopenharmony_ci**Error Message**
150e41f4b71Sopenharmony_ci
151e41f4b71Sopenharmony_ciCaller information verification failed for a transient task.
152e41f4b71Sopenharmony_ci
153e41f4b71Sopenharmony_ci**Description**
154e41f4b71Sopenharmony_ci
155e41f4b71Sopenharmony_ciThis error code is reported when caller information verification in a transient task fails.
156e41f4b71Sopenharmony_ci
157e41f4b71Sopenharmony_ci**Possible Causes**
158e41f4b71Sopenharmony_ci
159e41f4b71Sopenharmony_ci1. Failed to obtain the UID or PID of the caller.
160e41f4b71Sopenharmony_ci2. Failed to obtain the bundle name of the caller.
161e41f4b71Sopenharmony_ci3. The request ID passed in the API used to cancel the transient task is invalid.
162e41f4b71Sopenharmony_ci
163e41f4b71Sopenharmony_ci**Solution**
164e41f4b71Sopenharmony_ci
165e41f4b71Sopenharmony_ci1. Check whether the application UID exists.
166e41f4b71Sopenharmony_ci2. Check whether the application has requested a transient task.
167e41f4b71Sopenharmony_ci3. Try again later or restart the device.
168e41f4b71Sopenharmony_ci
169e41f4b71Sopenharmony_ci## 9900002 Transient Task Verification Failure
170e41f4b71Sopenharmony_ci
171e41f4b71Sopenharmony_ci**Error Message**
172e41f4b71Sopenharmony_ci
173e41f4b71Sopenharmony_ciTransient task verification failed.
174e41f4b71Sopenharmony_ci
175e41f4b71Sopenharmony_ci**Description**
176e41f4b71Sopenharmony_ci
177e41f4b71Sopenharmony_ciThis error code is reported when transient task verification fails.
178e41f4b71Sopenharmony_ci
179e41f4b71Sopenharmony_ci**Possible Causes**
180e41f4b71Sopenharmony_ci
181e41f4b71Sopenharmony_ci1. The callback passed in **requestSuspendDelay()** already exists.
182e41f4b71Sopenharmony_ci2. The callback passed in **cancelSuspendDelay()** does not exist.
183e41f4b71Sopenharmony_ci3. The application attempts to request a transient task 5 seconds after it switches to the background.
184e41f4b71Sopenharmony_ci4. The application has already requested three transient tasks.
185e41f4b71Sopenharmony_ci5. The application's daily quota for transient tasks is used up.
186e41f4b71Sopenharmony_ci
187e41f4b71Sopenharmony_ci**Solution**
188e41f4b71Sopenharmony_ci
189e41f4b71Sopenharmony_ci1. Check the application code.
190e41f4b71Sopenharmony_ci2. The application should cancel transient tasks immediately after they are complete.
191e41f4b71Sopenharmony_ci
192e41f4b71Sopenharmony_ci## 18700001 Caller Information Verification Failure for an Energy Resource Request
193e41f4b71Sopenharmony_ci
194e41f4b71Sopenharmony_ci**Error Message**
195e41f4b71Sopenharmony_ci
196e41f4b71Sopenharmony_ciCaller information verification failed for an energy resource request.
197e41f4b71Sopenharmony_ci
198e41f4b71Sopenharmony_ci**Description**
199e41f4b71Sopenharmony_ci
200e41f4b71Sopenharmony_ciThis error code is reported when caller information verification in an energy resource request fails.
201e41f4b71Sopenharmony_ci
202e41f4b71Sopenharmony_ci**Possible Causes**
203e41f4b71Sopenharmony_ci
204e41f4b71Sopenharmony_ci1. Failed to obtain the UID or PID of the caller.
205e41f4b71Sopenharmony_ci2. The value of **resourceTypes** for requesting energy resources exceeds the upper limit.
206e41f4b71Sopenharmony_ci
207e41f4b71Sopenharmony_ci**Solution**
208e41f4b71Sopenharmony_ci
209e41f4b71Sopenharmony_ciCheck the input parameters.
210