1e41f4b71Sopenharmony_ci# Ability 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## 16000001 Ability Name Does Not Exist
8e41f4b71Sopenharmony_ci
9e41f4b71Sopenharmony_ci**Error Message**
10e41f4b71Sopenharmony_ci
11e41f4b71Sopenharmony_ciThe specified ability does not exist.
12e41f4b71Sopenharmony_ci
13e41f4b71Sopenharmony_ci**Description**
14e41f4b71Sopenharmony_ci
15e41f4b71Sopenharmony_ciThis error code is reported when the specified ability name does not exist.
16e41f4b71Sopenharmony_ci
17e41f4b71Sopenharmony_ci**Possible Causes**
18e41f4b71Sopenharmony_ci
19e41f4b71Sopenharmony_ciThe ability to query does not exist.
20e41f4b71Sopenharmony_ci
21e41f4b71Sopenharmony_ci**Solution**
22e41f4b71Sopenharmony_ci
23e41f4b71Sopenharmony_ci1. Pass in correct values of **bundleName**, **moduleName**, and **abilityName** in **want**.
24e41f4b71Sopenharmony_ci2. Check whether the application corresponding to **bundleName** in **want** is installed. You can run the following command to query the list of installed applications. If **bundleName** is not in the query result, the application is not installed.
25e41f4b71Sopenharmony_ci    ```
26e41f4b71Sopenharmony_ci    hdc shell bm dump -a
27e41f4b71Sopenharmony_ci    ```
28e41f4b71Sopenharmony_ci3. For a multi-HAP application, check whether the HAP to which the ability belongs is installed. You can run the following command to query the bundle information. If the installed application does not contain the corresponding HAP and ability, the HAP to which the ability belongs is not installed.
29e41f4b71Sopenharmony_ci    ```
30e41f4b71Sopenharmony_ci    hdc shell bm dump -n bundleName
31e41f4b71Sopenharmony_ci    ```
32e41f4b71Sopenharmony_ci
33e41f4b71Sopenharmony_ci## 16000002 Incorrect Ability Type
34e41f4b71Sopenharmony_ci
35e41f4b71Sopenharmony_ci**Error Message**
36e41f4b71Sopenharmony_ci
37e41f4b71Sopenharmony_ciIncorrect ability type.
38e41f4b71Sopenharmony_ci
39e41f4b71Sopenharmony_ci**Description**
40e41f4b71Sopenharmony_ci
41e41f4b71Sopenharmony_ciThis error code is reported when the ability type invoked by the API is incorrect.
42e41f4b71Sopenharmony_ci
43e41f4b71Sopenharmony_ci**Possible Causes**
44e41f4b71Sopenharmony_ci
45e41f4b71Sopenharmony_ciThe ability with the specified type does not support the API invocation.
46e41f4b71Sopenharmony_ci
47e41f4b71Sopenharmony_ci**Solution**
48e41f4b71Sopenharmony_ci
49e41f4b71Sopenharmony_ci1. Pass in correct values of **bundleName**, **moduleName**, and **abilityName** in **want**.
50e41f4b71Sopenharmony_ci2. Call APIs based on the ability type. For example, call <!--Del-->[startServiceExtensionAbility](js-apis-inner-application-uiAbilityContext-sys.md#uiabilitycontextstartserviceextensionability) to start the ServiceExtensionAbility, or call <!--DelEnd-->[connectServiceExtensionAbility()](js-apis-inner-application-uiAbilityContext.md#uiabilitycontextconnectserviceextensionability) to connect to the ServiceExtensionAbility.
51e41f4b71Sopenharmony_ci
52e41f4b71Sopenharmony_ci## 16000003 ID Not Exist
53e41f4b71Sopenharmony_ci
54e41f4b71Sopenharmony_ci**Error Message**
55e41f4b71Sopenharmony_ci
56e41f4b71Sopenharmony_ciThe specified ID does not exist.
57e41f4b71Sopenharmony_ci
58e41f4b71Sopenharmony_ci**Description**
59e41f4b71Sopenharmony_ci
60e41f4b71Sopenharmony_ciThis error code is reported when the specified ID does not exist.
61e41f4b71Sopenharmony_ci
62e41f4b71Sopenharmony_ci**Possible Causes**
63e41f4b71Sopenharmony_ci
64e41f4b71Sopenharmony_ciThe target with the specified ID does not exist.
65e41f4b71Sopenharmony_ci
66e41f4b71Sopenharmony_ci**Solution**
67e41f4b71Sopenharmony_ci
68e41f4b71Sopenharmony_ciUse the correct ID.
69e41f4b71Sopenharmony_ci
70e41f4b71Sopenharmony_ci## 16000004 Visibility Verification Failure
71e41f4b71Sopenharmony_ci
72e41f4b71Sopenharmony_ci**Error Message**
73e41f4b71Sopenharmony_ci
74e41f4b71Sopenharmony_ciFailed to start the invisible ability.
75e41f4b71Sopenharmony_ci
76e41f4b71Sopenharmony_ci**Description**
77e41f4b71Sopenharmony_ci
78e41f4b71Sopenharmony_ciThis error code is reported when the application fails visibility verification.
79e41f4b71Sopenharmony_ci
80e41f4b71Sopenharmony_ci**Possible Causes**
81e41f4b71Sopenharmony_ci
82e41f4b71Sopenharmony_ciVisibility verification fails.
83e41f4b71Sopenharmony_ci
84e41f4b71Sopenharmony_ci**Solution**
85e41f4b71Sopenharmony_ci
86e41f4b71Sopenharmony_ci1. Check whether [exported](../../quick-start/module-configuration-file.md#abilities) under the **Ability** field in the **module.json5** file of the ability is set to **true**. If this parameter is set to **true**, the ability can be started by other applications. If this parameter is set to **false**, the ability cannot be started by other applications.
87e41f4b71Sopenharmony_ci2. To start the ability for which **exported** is set to **false**, the caller must request the **ohos.permission.START_INVISIBLE_ABILITY** permission, which is available only for system applications.
88e41f4b71Sopenharmony_ci
89e41f4b71Sopenharmony_ci## 16000005 Process Permission Verification Failure
90e41f4b71Sopenharmony_ci
91e41f4b71Sopenharmony_ci**Error Message**
92e41f4b71Sopenharmony_ci
93e41f4b71Sopenharmony_ciThe specified process does not have the permission.
94e41f4b71Sopenharmony_ci
95e41f4b71Sopenharmony_ci**Description**
96e41f4b71Sopenharmony_ci
97e41f4b71Sopenharmony_ciThis error code is reported when the specified process fails permission verification.
98e41f4b71Sopenharmony_ci
99e41f4b71Sopenharmony_ci**Possible Causes**
100e41f4b71Sopenharmony_ci
101e41f4b71Sopenharmony_ciPermission verification for the specified process fails.
102e41f4b71Sopenharmony_ci
103e41f4b71Sopenharmony_ci**Solution**
104e41f4b71Sopenharmony_ci
105e41f4b71Sopenharmony_ciCheck whether the permission of the specified process is correct.
106e41f4b71Sopenharmony_ci
107e41f4b71Sopenharmony_ci## 16000006 Cross-User Operation Is Not Allowed
108e41f4b71Sopenharmony_ci
109e41f4b71Sopenharmony_ci**Error Message**
110e41f4b71Sopenharmony_ci
111e41f4b71Sopenharmony_ciCross-user operations are not allowed.
112e41f4b71Sopenharmony_ci
113e41f4b71Sopenharmony_ci**Description**
114e41f4b71Sopenharmony_ci
115e41f4b71Sopenharmony_ciThis error code is reported when an application tries to perform a cross-user operation.
116e41f4b71Sopenharmony_ci
117e41f4b71Sopenharmony_ci**Possible Causes**
118e41f4b71Sopenharmony_ci
119e41f4b71Sopenharmony_ciThe application initiates a cross-user operation.
120e41f4b71Sopenharmony_ci
121e41f4b71Sopenharmony_ci**Solution**
122e41f4b71Sopenharmony_ci
123e41f4b71Sopenharmony_ciDo not perform a cross-user operation.
124e41f4b71Sopenharmony_ci
125e41f4b71Sopenharmony_ci## 16000007 Service Busy
126e41f4b71Sopenharmony_ci
127e41f4b71Sopenharmony_ci**Error Message**
128e41f4b71Sopenharmony_ci
129e41f4b71Sopenharmony_ciService busy. There are concurrent tasks. Try again later.
130e41f4b71Sopenharmony_ci
131e41f4b71Sopenharmony_ci**Description**
132e41f4b71Sopenharmony_ci
133e41f4b71Sopenharmony_ciThis error code is reported when the service requested is busy.
134e41f4b71Sopenharmony_ci
135e41f4b71Sopenharmony_ci**Possible Causes**
136e41f4b71Sopenharmony_ci
137e41f4b71Sopenharmony_ciThe service is busy.
138e41f4b71Sopenharmony_ci
139e41f4b71Sopenharmony_ci**Solution**
140e41f4b71Sopenharmony_ci
141e41f4b71Sopenharmony_ciTry again later.
142e41f4b71Sopenharmony_ci
143e41f4b71Sopenharmony_ci## 16000008 Crowdtesting Application Expires
144e41f4b71Sopenharmony_ci
145e41f4b71Sopenharmony_ci**Error Message**
146e41f4b71Sopenharmony_ci
147e41f4b71Sopenharmony_ciThe crowdtesting application expires.
148e41f4b71Sopenharmony_ci
149e41f4b71Sopenharmony_ci**Description**
150e41f4b71Sopenharmony_ci
151e41f4b71Sopenharmony_ciThis error code is reported when users try to open a crowdtesting application that has expired.
152e41f4b71Sopenharmony_ci
153e41f4b71Sopenharmony_ci**Possible Causes**
154e41f4b71Sopenharmony_ci
155e41f4b71Sopenharmony_ciThe crowdtesting application has expired.
156e41f4b71Sopenharmony_ci
157e41f4b71Sopenharmony_ci**Solution**
158e41f4b71Sopenharmony_ci
159e41f4b71Sopenharmony_ciExpired crowdtesting applications cannot be started.
160e41f4b71Sopenharmony_ci
161e41f4b71Sopenharmony_ci## 16000009 Ability Start or Stop Failure in Wukong Mode
162e41f4b71Sopenharmony_ci
163e41f4b71Sopenharmony_ci**Error Message**
164e41f4b71Sopenharmony_ci
165e41f4b71Sopenharmony_ciAn ability cannot be started or stopped in Wukong mode.
166e41f4b71Sopenharmony_ci
167e41f4b71Sopenharmony_ci**Description**
168e41f4b71Sopenharmony_ci
169e41f4b71Sopenharmony_ciThis error code is returned when the application tries to start or stop an ability in Wukong mode.
170e41f4b71Sopenharmony_ci
171e41f4b71Sopenharmony_ci**Possible Causes**
172e41f4b71Sopenharmony_ci
173e41f4b71Sopenharmony_ciAn ability cannot be started or stopped in Wukong mode.
174e41f4b71Sopenharmony_ci
175e41f4b71Sopenharmony_ci**Solution**
176e41f4b71Sopenharmony_ci
177e41f4b71Sopenharmony_ciExit Wukong mode, and then start or stop the ability. An ability cannot be started or stopped in Wukong mode.
178e41f4b71Sopenharmony_ci
179e41f4b71Sopenharmony_ci## 16000010 Continuation Flag Forbidden
180e41f4b71Sopenharmony_ci
181e41f4b71Sopenharmony_ci**Error Message**
182e41f4b71Sopenharmony_ci
183e41f4b71Sopenharmony_ciThe call with the continuation flag is forbidden.
184e41f4b71Sopenharmony_ci
185e41f4b71Sopenharmony_ci**Description**
186e41f4b71Sopenharmony_ci
187e41f4b71Sopenharmony_ciThis error code is reported when the API call carries the continuation flag.
188e41f4b71Sopenharmony_ci
189e41f4b71Sopenharmony_ci**Possible Causes**
190e41f4b71Sopenharmony_ci
191e41f4b71Sopenharmony_ciThe continuation flag is not allowed for the API call.
192e41f4b71Sopenharmony_ci
193e41f4b71Sopenharmony_ci**Solution**
194e41f4b71Sopenharmony_ci
195e41f4b71Sopenharmony_ciRemove the continuation flag.
196e41f4b71Sopenharmony_ci
197e41f4b71Sopenharmony_ci## 16000011 Context Not Exist
198e41f4b71Sopenharmony_ci
199e41f4b71Sopenharmony_ci**Error Message**
200e41f4b71Sopenharmony_ci
201e41f4b71Sopenharmony_ciThe context does not exist.
202e41f4b71Sopenharmony_ci
203e41f4b71Sopenharmony_ci**Description**
204e41f4b71Sopenharmony_ci
205e41f4b71Sopenharmony_ciThis error code is reported when the specified context does not exist.
206e41f4b71Sopenharmony_ci
207e41f4b71Sopenharmony_ci**Possible Causes**
208e41f4b71Sopenharmony_ci
209e41f4b71Sopenharmony_ciThe context passed in the API does not exist.
210e41f4b71Sopenharmony_ci
211e41f4b71Sopenharmony_ci**Solution**
212e41f4b71Sopenharmony_ci
213e41f4b71Sopenharmony_ciUse the correct context.
214e41f4b71Sopenharmony_ci
215e41f4b71Sopenharmony_ci## 16000012 Application Under Control
216e41f4b71Sopenharmony_ci
217e41f4b71Sopenharmony_ci**Error Message**
218e41f4b71Sopenharmony_ci
219e41f4b71Sopenharmony_ciThe application is controlled.
220e41f4b71Sopenharmony_ci
221e41f4b71Sopenharmony_ci**Description**
222e41f4b71Sopenharmony_ci
223e41f4b71Sopenharmony_ciThis error code is reported when an application is controlled by the application market.
224e41f4b71Sopenharmony_ci
225e41f4b71Sopenharmony_ci**Possible Causes**
226e41f4b71Sopenharmony_ci
227e41f4b71Sopenharmony_ciThe application is suspected to have malicious behavior and is not allowed to start due to application market control.
228e41f4b71Sopenharmony_ci
229e41f4b71Sopenharmony_ci**Solution**
230e41f4b71Sopenharmony_ci
231e41f4b71Sopenharmony_ciIt is recommended that end users uninstall the application.
232e41f4b71Sopenharmony_ci
233e41f4b71Sopenharmony_ci## 16000013 Application Controlled by EDM
234e41f4b71Sopenharmony_ci
235e41f4b71Sopenharmony_ci**Error Message**
236e41f4b71Sopenharmony_ci
237e41f4b71Sopenharmony_ciThe application is controlled by EDM.
238e41f4b71Sopenharmony_ci
239e41f4b71Sopenharmony_ci**Description**
240e41f4b71Sopenharmony_ci
241e41f4b71Sopenharmony_ciThis error code is reported when an application is controlled by [Enterprise Device Manager (EDM)](../../mdm/mdm-kit-admin.md).
242e41f4b71Sopenharmony_ci
243e41f4b71Sopenharmony_ci**Possible Causes**
244e41f4b71Sopenharmony_ci
245e41f4b71Sopenharmony_ciThe application is controlled by EDM.
246e41f4b71Sopenharmony_ci
247e41f4b71Sopenharmony_ci**Solution**
248e41f4b71Sopenharmony_ci
249e41f4b71Sopenharmony_ciContact the enterprise device management personnel.
250e41f4b71Sopenharmony_ci
251e41f4b71Sopenharmony_ci## 16000015 Service Timeout
252e41f4b71Sopenharmony_ci
253e41f4b71Sopenharmony_ci**Error Message**
254e41f4b71Sopenharmony_ci
255e41f4b71Sopenharmony_ciService timeout.
256e41f4b71Sopenharmony_ci
257e41f4b71Sopenharmony_ci**Description**
258e41f4b71Sopenharmony_ci
259e41f4b71Sopenharmony_ciThis error code is reported when the service requested times out.
260e41f4b71Sopenharmony_ci
261e41f4b71Sopenharmony_ci**Possible Causes**
262e41f4b71Sopenharmony_ci
263e41f4b71Sopenharmony_ciThe service times out.
264e41f4b71Sopenharmony_ci
265e41f4b71Sopenharmony_ci**Solution**
266e41f4b71Sopenharmony_ci
267e41f4b71Sopenharmony_ciTry again later.
268e41f4b71Sopenharmony_ci
269e41f4b71Sopenharmony_ci## 16000017 Waiting for the Previous Abilities to Finish Startup
270e41f4b71Sopenharmony_ci
271e41f4b71Sopenharmony_ci**Error Message**
272e41f4b71Sopenharmony_ci
273e41f4b71Sopenharmony_ciAnother ability is being started. Wait until it finishes starting.
274e41f4b71Sopenharmony_ci
275e41f4b71Sopenharmony_ci**Description**
276e41f4b71Sopenharmony_ci
277e41f4b71Sopenharmony_ciToo many abilities need to be started. Due to the limited processing capability of the system, the requests are cached in the queue and processed in sequence.
278e41f4b71Sopenharmony_ci
279e41f4b71Sopenharmony_ci**Possible Causes**
280e41f4b71Sopenharmony_ci
281e41f4b71Sopenharmony_ciThe system has a large number of concurrent requests.
282e41f4b71Sopenharmony_ci
283e41f4b71Sopenharmony_ci**Solution**
284e41f4b71Sopenharmony_ci
285e41f4b71Sopenharmony_ciNo action is required. Wait for the previous abilities to finish startup.
286e41f4b71Sopenharmony_ci
287e41f4b71Sopenharmony_ci## 16000018 Restricting Redirection to Third-Party Applications of API Version 11 or Later
288e41f4b71Sopenharmony_ci
289e41f4b71Sopenharmony_ci**Error Message**
290e41f4b71Sopenharmony_ci
291e41f4b71Sopenharmony_ciRedirection to a third-party application is not allowed in API version 11 or later.
292e41f4b71Sopenharmony_ci
293e41f4b71Sopenharmony_ci**Description**
294e41f4b71Sopenharmony_ci
295e41f4b71Sopenharmony_ciWhen the API version of an application is later than 11, the application cannot be explicitly redirected to a third-party application.
296e41f4b71Sopenharmony_ci
297e41f4b71Sopenharmony_ci**Solution**
298e41f4b71Sopenharmony_ci
299e41f4b71Sopenharmony_ciUse implicit startup or [openLink](js-apis-inner-application-uiAbilityContext.md#uiabilitycontextopenlink12) for redirection.
300e41f4b71Sopenharmony_ci
301e41f4b71Sopenharmony_ci## 16000019 No Matching Application Is Found During Implicit Startup
302e41f4b71Sopenharmony_ci
303e41f4b71Sopenharmony_ci**Error Message**
304e41f4b71Sopenharmony_ci
305e41f4b71Sopenharmony_ciNo matching ability is found.
306e41f4b71Sopenharmony_ci
307e41f4b71Sopenharmony_ci**Description**
308e41f4b71Sopenharmony_ci
309e41f4b71Sopenharmony_ciA matching ability is not found during implicit startup.
310e41f4b71Sopenharmony_ci
311e41f4b71Sopenharmony_ci**Solution**
312e41f4b71Sopenharmony_ci
313e41f4b71Sopenharmony_ciModify the items used for matching in implicit startup.
314e41f4b71Sopenharmony_ci
315e41f4b71Sopenharmony_ci## 16000050 Internal Error
316e41f4b71Sopenharmony_ci
317e41f4b71Sopenharmony_ci**Error Message**
318e41f4b71Sopenharmony_ci
319e41f4b71Sopenharmony_ciInternal error.
320e41f4b71Sopenharmony_ci
321e41f4b71Sopenharmony_ci**Description**
322e41f4b71Sopenharmony_ci
323e41f4b71Sopenharmony_ciThis error code is reported when an error occurs during internal processing, such as memory application or multi-thread processing.
324e41f4b71Sopenharmony_ci
325e41f4b71Sopenharmony_ci**Possible Causes**
326e41f4b71Sopenharmony_ci
327e41f4b71Sopenharmony_ciCommon kernel errors such as memory application and multi-thread processing errors occur. The possible causes are as follows: empty internal object, processing timeout, failure in obtaining application information, failing in obtaining the system service, and too many started ability instances.
328e41f4b71Sopenharmony_ci
329e41f4b71Sopenharmony_ci**Solution**
330e41f4b71Sopenharmony_ci
331e41f4b71Sopenharmony_ci1. Ensure sufficient system memory. Ensure that the system version used by the device is normal.
332e41f4b71Sopenharmony_ci2. Limit the number of ability processes started.
333e41f4b71Sopenharmony_ci3. Restart the device.
334e41f4b71Sopenharmony_ci
335e41f4b71Sopenharmony_ci## 16000051 Network Error
336e41f4b71Sopenharmony_ci
337e41f4b71Sopenharmony_ci**Error Message**
338e41f4b71Sopenharmony_ci
339e41f4b71Sopenharmony_ciNetwork error.
340e41f4b71Sopenharmony_ci
341e41f4b71Sopenharmony_ci**Description**
342e41f4b71Sopenharmony_ci
343e41f4b71Sopenharmony_ciThis error code is reported when the network is abnormal.
344e41f4b71Sopenharmony_ci
345e41f4b71Sopenharmony_ci**Possible Causes**
346e41f4b71Sopenharmony_ci
347e41f4b71Sopenharmony_ciThe network is unavailable.
348e41f4b71Sopenharmony_ci
349e41f4b71Sopenharmony_ci**Solution**
350e41f4b71Sopenharmony_ci
351e41f4b71Sopenharmony_ciTry again later or reconnect to the network.
352e41f4b71Sopenharmony_ci
353e41f4b71Sopenharmony_ci## 16000052 Installation-Free Is Not Supported
354e41f4b71Sopenharmony_ci
355e41f4b71Sopenharmony_ci**Error Message**
356e41f4b71Sopenharmony_ci
357e41f4b71Sopenharmony_ciInstallation-free is not supported.
358e41f4b71Sopenharmony_ci
359e41f4b71Sopenharmony_ci**Description**
360e41f4b71Sopenharmony_ci
361e41f4b71Sopenharmony_ciThis error code is reported when the application does not support installation-free.
362e41f4b71Sopenharmony_ci
363e41f4b71Sopenharmony_ci**Possible Causes**
364e41f4b71Sopenharmony_ci
365e41f4b71Sopenharmony_ciThe application package does not meet the installation-free requirements. For example, the package is too large.
366e41f4b71Sopenharmony_ci
367e41f4b71Sopenharmony_ci**Solution**
368e41f4b71Sopenharmony_ci
369e41f4b71Sopenharmony_ciCheck whether the application supports installation-free.
370e41f4b71Sopenharmony_ci
371e41f4b71Sopenharmony_ci## 16000053 Ability Is Not on Top
372e41f4b71Sopenharmony_ci
373e41f4b71Sopenharmony_ci**Error Message**
374e41f4b71Sopenharmony_ci
375e41f4b71Sopenharmony_ciThe ability is not on the top of the UI.
376e41f4b71Sopenharmony_ci
377e41f4b71Sopenharmony_ci**Description**
378e41f4b71Sopenharmony_ci
379e41f4b71Sopenharmony_ciThis error code is reported when the ability is not displayed on the top of the UI.
380e41f4b71Sopenharmony_ci
381e41f4b71Sopenharmony_ci**Possible Causes**
382e41f4b71Sopenharmony_ci
383e41f4b71Sopenharmony_ciDuring the installation-free startup process, the ability is not displayed on the top of the UI.
384e41f4b71Sopenharmony_ci
385e41f4b71Sopenharmony_ci**Solution**
386e41f4b71Sopenharmony_ci
387e41f4b71Sopenharmony_ciEnsure that the ability is displayed on the top of the UI.
388e41f4b71Sopenharmony_ci
389e41f4b71Sopenharmony_ci## 16000054 Installation-Free Busy
390e41f4b71Sopenharmony_ci
391e41f4b71Sopenharmony_ci**Error Message**
392e41f4b71Sopenharmony_ci
393e41f4b71Sopenharmony_ciThe installation-free service is busy. Try again later.
394e41f4b71Sopenharmony_ci
395e41f4b71Sopenharmony_ci**Description**
396e41f4b71Sopenharmony_ci
397e41f4b71Sopenharmony_ciThis error code is reported when the installation-free service is busy.
398e41f4b71Sopenharmony_ci
399e41f4b71Sopenharmony_ci**Possible Causes**
400e41f4b71Sopenharmony_ci
401e41f4b71Sopenharmony_ciA download and installation task is being executed for the atomic service.
402e41f4b71Sopenharmony_ci
403e41f4b71Sopenharmony_ci**Solution**
404e41f4b71Sopenharmony_ci
405e41f4b71Sopenharmony_ciTry again later.
406e41f4b71Sopenharmony_ci
407e41f4b71Sopenharmony_ci## 16000055 Installation-Free Timeout
408e41f4b71Sopenharmony_ci
409e41f4b71Sopenharmony_ci**Error Message**
410e41f4b71Sopenharmony_ci
411e41f4b71Sopenharmony_ciInstallation-free timed out.
412e41f4b71Sopenharmony_ci
413e41f4b71Sopenharmony_ci**Description**
414e41f4b71Sopenharmony_ci
415e41f4b71Sopenharmony_ciThis error code is reported when the installation-free task times out.
416e41f4b71Sopenharmony_ci
417e41f4b71Sopenharmony_ci**Possible Causes**
418e41f4b71Sopenharmony_ci
419e41f4b71Sopenharmony_ciInstallation-free times out.
420e41f4b71Sopenharmony_ci
421e41f4b71Sopenharmony_ci**Solution**
422e41f4b71Sopenharmony_ci
423e41f4b71Sopenharmony_ciTry again later.
424e41f4b71Sopenharmony_ci
425e41f4b71Sopenharmony_ci## 16000056 Installation-Free Is Not Allowed for Other Applications
426e41f4b71Sopenharmony_ci
427e41f4b71Sopenharmony_ci**Error Message**
428e41f4b71Sopenharmony_ci
429e41f4b71Sopenharmony_ciInstallation-free is not allowed for other applications.
430e41f4b71Sopenharmony_ci
431e41f4b71Sopenharmony_ci**Description**
432e41f4b71Sopenharmony_ci
433e41f4b71Sopenharmony_ciThis error code is reported when users try to apply installation-free for other applications.
434e41f4b71Sopenharmony_ci
435e41f4b71Sopenharmony_ci**Possible Causes**
436e41f4b71Sopenharmony_ci
437e41f4b71Sopenharmony_ciInstallation-free is allowed only for the current application.
438e41f4b71Sopenharmony_ci
439e41f4b71Sopenharmony_ci**Solution**
440e41f4b71Sopenharmony_ci
441e41f4b71Sopenharmony_ciApply installation-free only for the current application.
442e41f4b71Sopenharmony_ci
443e41f4b71Sopenharmony_ci## 16000057 Cross-Device Installation-Free Is Not Supported
444e41f4b71Sopenharmony_ci
445e41f4b71Sopenharmony_ci**Error Message**
446e41f4b71Sopenharmony_ci
447e41f4b71Sopenharmony_ciCross-device installation-free is not supported.
448e41f4b71Sopenharmony_ci
449e41f4b71Sopenharmony_ci**Description**
450e41f4b71Sopenharmony_ci
451e41f4b71Sopenharmony_ciThis error code is reported when users try to apply installation-free across devices.
452e41f4b71Sopenharmony_ci
453e41f4b71Sopenharmony_ci**Possible Causes**
454e41f4b71Sopenharmony_ci
455e41f4b71Sopenharmony_ciCross-device installation-free is not supported.
456e41f4b71Sopenharmony_ci
457e41f4b71Sopenharmony_ci**Solution**
458e41f4b71Sopenharmony_ci
459e41f4b71Sopenharmony_ciUse installation-free on the same device.
460e41f4b71Sopenharmony_ci
461e41f4b71Sopenharmony_ci## 16000058 Specified URI Flag Is Invalid
462e41f4b71Sopenharmony_ci
463e41f4b71Sopenharmony_ci**Error Message**
464e41f4b71Sopenharmony_ci
465e41f4b71Sopenharmony_ciInvalid URI flag.
466e41f4b71Sopenharmony_ci
467e41f4b71Sopenharmony_ci**Description**
468e41f4b71Sopenharmony_ci
469e41f4b71Sopenharmony_ciThis error code is reported when the specified URI flag is invalid.
470e41f4b71Sopenharmony_ci
471e41f4b71Sopenharmony_ci**Possible Causes**
472e41f4b71Sopenharmony_ci
473e41f4b71Sopenharmony_ciAn incorrect parameter is passed in.
474e41f4b71Sopenharmony_ci
475e41f4b71Sopenharmony_ci**Solution**
476e41f4b71Sopenharmony_ci
477e41f4b71Sopenharmony_ciPass in a valid URI flag.
478e41f4b71Sopenharmony_ci
479e41f4b71Sopenharmony_ci## 16000059 Specified URI Type Is Invalid
480e41f4b71Sopenharmony_ci
481e41f4b71Sopenharmony_ci**Error Message**
482e41f4b71Sopenharmony_ci
483e41f4b71Sopenharmony_ciInvalid URI type.
484e41f4b71Sopenharmony_ci
485e41f4b71Sopenharmony_ci**Description**
486e41f4b71Sopenharmony_ci
487e41f4b71Sopenharmony_ciThis error code is reported when the specified URI type is invalid.
488e41f4b71Sopenharmony_ci
489e41f4b71Sopenharmony_ci**Possible Causes**
490e41f4b71Sopenharmony_ci
491e41f4b71Sopenharmony_ciAn incorrect parameter is passed in. Currently, URI authorization management supports only URIs of the file type.
492e41f4b71Sopenharmony_ci
493e41f4b71Sopenharmony_ci**Solution**
494e41f4b71Sopenharmony_ci
495e41f4b71Sopenharmony_ciEnsure that the input parameter is of the supported URI type.
496e41f4b71Sopenharmony_ci
497e41f4b71Sopenharmony_ci## 16000060 Sandbox Applications Cannot Authorize URIs
498e41f4b71Sopenharmony_ci
499e41f4b71Sopenharmony_ci**Error Message**
500e41f4b71Sopenharmony_ci
501e41f4b71Sopenharmony_ciA sandbox application cannot grant URI permission.
502e41f4b71Sopenharmony_ci
503e41f4b71Sopenharmony_ci**Description**
504e41f4b71Sopenharmony_ci
505e41f4b71Sopenharmony_ciThis error code is reported when a sandbox application authorizes a URI.
506e41f4b71Sopenharmony_ci
507e41f4b71Sopenharmony_ci**Possible Causes**
508e41f4b71Sopenharmony_ci
509e41f4b71Sopenharmony_ciSandbox applications cannot authorize URIs.
510e41f4b71Sopenharmony_ci
511e41f4b71Sopenharmony_ci**Solution**
512e41f4b71Sopenharmony_ci
513e41f4b71Sopenharmony_ciUse a non-sandbox application.
514e41f4b71Sopenharmony_ci
515e41f4b71Sopenharmony_ci## 16000061 Unsupport Operation
516e41f4b71Sopenharmony_ci
517e41f4b71Sopenharmony_ci**Error Message**
518e41f4b71Sopenharmony_ci
519e41f4b71Sopenharmony_ciOperation not supported.
520e41f4b71Sopenharmony_ci
521e41f4b71Sopenharmony_ci**Description**
522e41f4b71Sopenharmony_ci
523e41f4b71Sopenharmony_ciThis error code is reported when an operation is not supported.
524e41f4b71Sopenharmony_ci
525e41f4b71Sopenharmony_ci**Possible Causes**
526e41f4b71Sopenharmony_ci
527e41f4b71Sopenharmony_ciThe operation is not supported.
528e41f4b71Sopenharmony_ci
529e41f4b71Sopenharmony_ci**Solution**
530e41f4b71Sopenharmony_ci
531e41f4b71Sopenharmony_ciPerform a supported operation.
532e41f4b71Sopenharmony_ci
533e41f4b71Sopenharmony_ci## 16000062 Too Many Child Processes
534e41f4b71Sopenharmony_ci
535e41f4b71Sopenharmony_ci**Error Message**
536e41f4b71Sopenharmony_ci
537e41f4b71Sopenharmony_ciThe number of child processes exceeds the upper limit.
538e41f4b71Sopenharmony_ci
539e41f4b71Sopenharmony_ci**Description**
540e41f4b71Sopenharmony_ci
541e41f4b71Sopenharmony_ciThis error code is reported when the number of created child processes reaches the upper limit.
542e41f4b71Sopenharmony_ci
543e41f4b71Sopenharmony_ci**Possible Causes**
544e41f4b71Sopenharmony_ci
545e41f4b71Sopenharmony_ciThe number of created child processes has reached the upper limit.
546e41f4b71Sopenharmony_ci
547e41f4b71Sopenharmony_ci**Solution**
548e41f4b71Sopenharmony_ci
549e41f4b71Sopenharmony_ciLimit the number of created child processes. The maximum number is 512.
550e41f4b71Sopenharmony_ci
551e41f4b71Sopenharmony_ci## 16000063 Invalid Ability During Application Restart
552e41f4b71Sopenharmony_ci
553e41f4b71Sopenharmony_ci**Error Message**
554e41f4b71Sopenharmony_ci
555e41f4b71Sopenharmony_ciThe target to restart does not belong to the current application or is not a UIAbility.
556e41f4b71Sopenharmony_ci
557e41f4b71Sopenharmony_ci**Description**
558e41f4b71Sopenharmony_ci
559e41f4b71Sopenharmony_ciThis error code is reported when the specified ability name or type is invalid during application restart.
560e41f4b71Sopenharmony_ci
561e41f4b71Sopenharmony_ci**Possible Causes**
562e41f4b71Sopenharmony_ci
563e41f4b71Sopenharmony_ciThe specified ability name or type is invalid.
564e41f4b71Sopenharmony_ci
565e41f4b71Sopenharmony_ci**Solution**
566e41f4b71Sopenharmony_ci
567e41f4b71Sopenharmony_ciEnsure that the specified ability name exists in the current application and the ability type is UIAbility.
568e41f4b71Sopenharmony_ci
569e41f4b71Sopenharmony_ci## 16000064 Frequent Application Restart
570e41f4b71Sopenharmony_ci
571e41f4b71Sopenharmony_ci**Error Message**
572e41f4b71Sopenharmony_ci
573e41f4b71Sopenharmony_ciRestart too frequently. Try again at least 10s later.
574e41f4b71Sopenharmony_ci
575e41f4b71Sopenharmony_ci**Description**
576e41f4b71Sopenharmony_ci
577e41f4b71Sopenharmony_ciAn API is called to restart the application and start a specified ability. This error code is reported when the API is called again within 10 seconds.
578e41f4b71Sopenharmony_ci
579e41f4b71Sopenharmony_ci**Possible Causes**
580e41f4b71Sopenharmony_ci
581e41f4b71Sopenharmony_ciThe API is frequently called.
582e41f4b71Sopenharmony_ci
583e41f4b71Sopenharmony_ci**Solution**
584e41f4b71Sopenharmony_ci
585e41f4b71Sopenharmony_ciCall the API again after 10 seconds.
586e41f4b71Sopenharmony_ci
587e41f4b71Sopenharmony_ci## 16000065 API Can Be Called for a Foreground Ability
588e41f4b71Sopenharmony_ci
589e41f4b71Sopenharmony_ci**Error Message**
590e41f4b71Sopenharmony_ci
591e41f4b71Sopenharmony_ciThe API can be called only when the ability is running in the foreground.
592e41f4b71Sopenharmony_ci
593e41f4b71Sopenharmony_ci**Description**
594e41f4b71Sopenharmony_ci
595e41f4b71Sopenharmony_ciThis error code is reported when the API is called while the ability is not running in the foreground.
596e41f4b71Sopenharmony_ci
597e41f4b71Sopenharmony_ci**Possible Causes**
598e41f4b71Sopenharmony_ci
599e41f4b71Sopenharmony_ciThe ability is not in the foreground when the API is called.
600e41f4b71Sopenharmony_ci
601e41f4b71Sopenharmony_ci**Solution**
602e41f4b71Sopenharmony_ci
603e41f4b71Sopenharmony_ciSwitch the ability to the foreground before calling the API.
604e41f4b71Sopenharmony_ci
605e41f4b71Sopenharmony_ci## 16000066 Ability Cannot Be Switched to the Foreground or Background in Wukong Mode
606e41f4b71Sopenharmony_ci
607e41f4b71Sopenharmony_ci**Error Message**
608e41f4b71Sopenharmony_ci
609e41f4b71Sopenharmony_ciAn ability cannot switch to the foreground or background in Wukong mode.
610e41f4b71Sopenharmony_ci
611e41f4b71Sopenharmony_ci**Description**
612e41f4b71Sopenharmony_ci
613e41f4b71Sopenharmony_ciThis error code is reported when the API used to switch the ability to the foreground or background is called in Wukong mode.
614e41f4b71Sopenharmony_ci
615e41f4b71Sopenharmony_ci**Possible Causes**
616e41f4b71Sopenharmony_ci
617e41f4b71Sopenharmony_ciIn Wukong mode, the ability cannot be switched to the foreground or background.
618e41f4b71Sopenharmony_ci
619e41f4b71Sopenharmony_ci**Solution**
620e41f4b71Sopenharmony_ci
621e41f4b71Sopenharmony_ciExit wukong mode, and then call the API to switch the ability to the foreground or background.  
622e41f4b71Sopenharmony_ci
623e41f4b71Sopenharmony_ci## 16000067 Ability Startup Parameter Verification Failure
624e41f4b71Sopenharmony_ci
625e41f4b71Sopenharmony_ci**Error Message**
626e41f4b71Sopenharmony_ci
627e41f4b71Sopenharmony_ciThe StartOptions check failed.
628e41f4b71Sopenharmony_ci
629e41f4b71Sopenharmony_ci**Description**
630e41f4b71Sopenharmony_ci
631e41f4b71Sopenharmony_ciThis error code is reported when verification on **StartOptions** fails.
632e41f4b71Sopenharmony_ci
633e41f4b71Sopenharmony_ci**Possible Causes**
634e41f4b71Sopenharmony_ci
635e41f4b71Sopenharmony_ci1. **startAbility()**, with **processMode** set to **NEW_PROCESS_ATTACH_TO_STATUS_BAR_ITEM** or **ATTACH_TO_STATUS_BAR_ITEM**, is called, but the application icon is not displayed in the status bar.
636e41f4b71Sopenharmony_ci2. **showAbility()** or **hideAbility()** is called, but the caller is not started in **NEW_PROCESS_ATTACH_TO_STATUS_BAR_ITEM** or **ATTACH_TO_STATUS_BAR_ITEM** mode.
637e41f4b71Sopenharmony_ci
638e41f4b71Sopenharmony_ci**Solution**
639e41f4b71Sopenharmony_ci
640e41f4b71Sopenharmony_ciCheck whether the constraints for **StartOptions** are met.
641e41f4b71Sopenharmony_ci
642e41f4b71Sopenharmony_ci## 16000068 Ability Is Already Running
643e41f4b71Sopenharmony_ci
644e41f4b71Sopenharmony_ci**Error Message**
645e41f4b71Sopenharmony_ci
646e41f4b71Sopenharmony_ciThe ability is already running.
647e41f4b71Sopenharmony_ci
648e41f4b71Sopenharmony_ci**Description**
649e41f4b71Sopenharmony_ci
650e41f4b71Sopenharmony_ciThis error code is reported when the target ability is already running.
651e41f4b71Sopenharmony_ci
652e41f4b71Sopenharmony_ci**Possible Causes**
653e41f4b71Sopenharmony_ci
654e41f4b71Sopenharmony_ci**startAbility()** is called, with **processMode** and **startupVisibility** specified. **launchType** of the target ability is singleton or specified, and the target ability is running.
655e41f4b71Sopenharmony_ci
656e41f4b71Sopenharmony_ci**Solution**
657e41f4b71Sopenharmony_ci
658e41f4b71Sopenharmony_ciWhen **launchType** of the target ability is singleton or specified, do not specify **processMode** and **startupVisibility** in **startAbility()**.
659e41f4b71Sopenharmony_ci
660e41f4b71Sopenharmony_ci## 16000069 ExtensionAbility Fails to Start a Third-Party Application in Strict Mode
661e41f4b71Sopenharmony_ci
662e41f4b71Sopenharmony_ci**Error Message**
663e41f4b71Sopenharmony_ci
664e41f4b71Sopenharmony_ciThe extension cannot start the third party application.
665e41f4b71Sopenharmony_ci
666e41f4b71Sopenharmony_ci**Description**
667e41f4b71Sopenharmony_ci
668e41f4b71Sopenharmony_ciThis type of ExtensionAbility cannot start a third-party application in strict mode.
669e41f4b71Sopenharmony_ci
670e41f4b71Sopenharmony_ci**Possible Causes**
671e41f4b71Sopenharmony_ci
672e41f4b71Sopenharmony_ciThe ExtensionAbility is in strict mode, and this type of ExtensionAbility is forbidden to start third-party applications in strict mode.
673e41f4b71Sopenharmony_ci
674e41f4b71Sopenharmony_ci**Solution**
675e41f4b71Sopenharmony_ci
676e41f4b71Sopenharmony_ci1. Check the conditions for enabling the strict mode of this [type of ExtensionAbility](../../application-models/extensionability-overview.md).
677e41f4b71Sopenharmony_ci2. Start the ExtensionAbility in non-strict mode.
678e41f4b71Sopenharmony_ci
679e41f4b71Sopenharmony_ci## 16000070 ExtensionAbility Fails to Start a ServiceExtensionAbility in Strict Mode
680e41f4b71Sopenharmony_ci
681e41f4b71Sopenharmony_ci**Error Message**
682e41f4b71Sopenharmony_ci
683e41f4b71Sopenharmony_ciThe extension cannot start the service.
684e41f4b71Sopenharmony_ci
685e41f4b71Sopenharmony_ci**Description**
686e41f4b71Sopenharmony_ci
687e41f4b71Sopenharmony_ciThis type of ExtensionAbility cannot start a ServiceExtensionAbility in strict mode.
688e41f4b71Sopenharmony_ci
689e41f4b71Sopenharmony_ci**Possible Causes**
690e41f4b71Sopenharmony_ci
691e41f4b71Sopenharmony_ciThe ExtensionAbility is in strict mode, and this type of ExtensionAbility is forbidden to start a ServiceExtensionAbility in strict mode.
692e41f4b71Sopenharmony_ci
693e41f4b71Sopenharmony_ci**Solution**
694e41f4b71Sopenharmony_ci
695e41f4b71Sopenharmony_ci1. Check the conditions for enabling the strict mode of this [type of ExtensionAbility](../../application-models/extensionability-overview.md).
696e41f4b71Sopenharmony_ci2. Start the ExtensionAbility in non-strict mode.
697e41f4b71Sopenharmony_ci
698e41f4b71Sopenharmony_ci## 16000071 Application Clone Is Not Supported
699e41f4b71Sopenharmony_ci
700e41f4b71Sopenharmony_ci**Error Message**
701e41f4b71Sopenharmony_ci
702e41f4b71Sopenharmony_ciApp clone is not supported.
703e41f4b71Sopenharmony_ci
704e41f4b71Sopenharmony_ci**Description**
705e41f4b71Sopenharmony_ci
706e41f4b71Sopenharmony_ciThis error code is reported when the application does not support clones.
707e41f4b71Sopenharmony_ci
708e41f4b71Sopenharmony_ci**Possible Causes**
709e41f4b71Sopenharmony_ci
710e41f4b71Sopenharmony_ciAn application that does not support clones calls **getCurrentAppCloneIndex()**.
711e41f4b71Sopenharmony_ci
712e41f4b71Sopenharmony_ci**Solution**
713e41f4b71Sopenharmony_ci
714e41f4b71Sopenharmony_ciAvoid calling **getCurrentAppCloneIndex()** in applications that do not support clones.
715e41f4b71Sopenharmony_ci
716e41f4b71Sopenharmony_ci<!--Del-->
717e41f4b71Sopenharmony_ci## 16000072 Multi-app Mode Is Not Supported
718e41f4b71Sopenharmony_ci
719e41f4b71Sopenharmony_ci**Error Message**
720e41f4b71Sopenharmony_ci
721e41f4b71Sopenharmony_ciApp clone or multi-instance is not supported.
722e41f4b71Sopenharmony_ci
723e41f4b71Sopenharmony_ci**Description**
724e41f4b71Sopenharmony_ci
725e41f4b71Sopenharmony_ciThis error code is reported when the application does not support the multi-app mode.
726e41f4b71Sopenharmony_ci
727e41f4b71Sopenharmony_ci**Possible Causes**
728e41f4b71Sopenharmony_ci
729e41f4b71Sopenharmony_ciThe **getRunningMultiAppInfo()** API is called to query the information about an application that does not support the multi-app mode.
730e41f4b71Sopenharmony_ci
731e41f4b71Sopenharmony_ci**Solution**
732e41f4b71Sopenharmony_ci
733e41f4b71Sopenharmony_ciWhen calling **getCurrentAppCloneIndex()**, ensure that the application supports the multi-app mode.
734e41f4b71Sopenharmony_ci<!--DelEnd-->
735e41f4b71Sopenharmony_ci
736e41f4b71Sopenharmony_ci## 16000073 appCloneIndex Is Invalid
737e41f4b71Sopenharmony_ci
738e41f4b71Sopenharmony_ci**Error Message**
739e41f4b71Sopenharmony_ci
740e41f4b71Sopenharmony_ciThe app clone index is invalid.
741e41f4b71Sopenharmony_ci
742e41f4b71Sopenharmony_ci**Description**
743e41f4b71Sopenharmony_ci
744e41f4b71Sopenharmony_ciThis error code is reported when an invalid value of **appCloneIndex** is passed in.
745e41f4b71Sopenharmony_ci
746e41f4b71Sopenharmony_ci**Possible Causes**
747e41f4b71Sopenharmony_ci
748e41f4b71Sopenharmony_ci1. **startAbility()** is called, with **appCloneIndex** carried in **ohos.extra.param.key.appCloneIndex** set to an invalid value.
749e41f4b71Sopenharmony_ci<!--Del-->
750e41f4b71Sopenharmony_ci2. **isAppRunning()** is called, with **appCloneIndex** set to an invalid value.
751e41f4b71Sopenharmony_ci<!--DelEnd-->
752e41f4b71Sopenharmony_ci
753e41f4b71Sopenharmony_ci**Solution**
754e41f4b71Sopenharmony_ci
755e41f4b71Sopenharmony_ciCheck whether the constraints of **appCloneIndex** are met.
756e41f4b71Sopenharmony_ci
757e41f4b71Sopenharmony_ci## 16000074 Caller Corresponding to requestCode Does Not Exist When the Result Is Returned
758e41f4b71Sopenharmony_ci
759e41f4b71Sopenharmony_ci**Error Message**
760e41f4b71Sopenharmony_ci
761e41f4b71Sopenharmony_ciThe caller does not exist.
762e41f4b71Sopenharmony_ci
763e41f4b71Sopenharmony_ci**Description**
764e41f4b71Sopenharmony_ci
765e41f4b71Sopenharmony_ciThis error code is reported when the **backTocallerAbilityResult** API attempts to return the result to the caller but fails to find the caller based on **requestCode**.
766e41f4b71Sopenharmony_ci
767e41f4b71Sopenharmony_ci**Possible Causes**
768e41f4b71Sopenharmony_ci
769e41f4b71Sopenharmony_ci1. **requestCode** is not obtained from the **CALLER_REQUEST_CODE** field in **want**.
770e41f4b71Sopenharmony_ci
771e41f4b71Sopenharmony_ci2. The caller corresponding to **requestCode** has been destroyed or the result has been returned.
772e41f4b71Sopenharmony_ci
773e41f4b71Sopenharmony_ci**Solution**
774e41f4b71Sopenharmony_ci
775e41f4b71Sopenharmony_ci1. Check whether **requestCode** is obtained from **CALLER_REQUEST_CODE** in **want**.
776e41f4b71Sopenharmony_ci
777e41f4b71Sopenharmony_ci2. Check whether the caller has been destroyed or the result has been returned.
778e41f4b71Sopenharmony_ci
779e41f4b71Sopenharmony_ci## 16000075 Caller Cannot Be Started When the Result Is Returned
780e41f4b71Sopenharmony_ci
781e41f4b71Sopenharmony_ci**Error Message**
782e41f4b71Sopenharmony_ci
783e41f4b71Sopenharmony_ciNot support back to caller.
784e41f4b71Sopenharmony_ci
785e41f4b71Sopenharmony_ci**Description**
786e41f4b71Sopenharmony_ci
787e41f4b71Sopenharmony_ciThis error code is reported when the **backToCallerAbilityWithResult** API fails to return the result to the caller.
788e41f4b71Sopenharmony_ci
789e41f4b71Sopenharmony_ci**Possible Causes**
790e41f4b71Sopenharmony_ci
791e41f4b71Sopenharmony_ciThe link feature is not configured for the application or the configuration is not approved by the system.
792e41f4b71Sopenharmony_ci
793e41f4b71Sopenharmony_ci**Solution**
794e41f4b71Sopenharmony_ci
795e41f4b71Sopenharmony_ci1. Ensure that the **linkFeature** field is configured in the **module.json5** file of the application.
796e41f4b71Sopenharmony_ci2. Ensure that the **linkFeature** field value of the application is correct, the functionality it describes matches the actual capability of the application link, and the configuration has been approved by the system.
797e41f4b71Sopenharmony_ci
798e41f4b71Sopenharmony_ci## 16000076 APP_INSTANCE_KEY Does Not Exist
799e41f4b71Sopenharmony_ci
800e41f4b71Sopenharmony_ci**Error Message**
801e41f4b71Sopenharmony_ci
802e41f4b71Sopenharmony_ciThe APP_INSTANCE_KEY is invalid.
803e41f4b71Sopenharmony_ci
804e41f4b71Sopenharmony_ci**Description**
805e41f4b71Sopenharmony_ci
806e41f4b71Sopenharmony_ciThis error code is reported when the specified [APP_INSTANCE_KEY](js-apis-app-ability-wantConstant.md#params) does not exist.
807e41f4b71Sopenharmony_ci
808e41f4b71Sopenharmony_ci**Possible Causes**
809e41f4b71Sopenharmony_ci
810e41f4b71Sopenharmony_ciThe instance specified by [APP_INSTANCE_KEY](js-apis-app-ability-wantConstant.md#params) does not exist.
811e41f4b71Sopenharmony_ci
812e41f4b71Sopenharmony_ci**Solution**
813e41f4b71Sopenharmony_ci
814e41f4b71Sopenharmony_ciEnsure that the value of [APP_INSTANCE_KEY](js-apis-app-ability-wantConstant.md#params) is valid.
815e41f4b71Sopenharmony_ci
816e41f4b71Sopenharmony_ci## 16000077 Number of Application Instances Reaches the Upper Limit
817e41f4b71Sopenharmony_ci
818e41f4b71Sopenharmony_ci**Error Message**
819e41f4b71Sopenharmony_ci
820e41f4b71Sopenharmony_ciThe number of app instances reaches the limit.
821e41f4b71Sopenharmony_ci
822e41f4b71Sopenharmony_ci**Description**
823e41f4b71Sopenharmony_ci
824e41f4b71Sopenharmony_ciThis error code is reported when the number of application instances reaches the upper limit and more application instances try to be created.
825e41f4b71Sopenharmony_ci
826e41f4b71Sopenharmony_ci**Possible Causes**
827e41f4b71Sopenharmony_ci
828e41f4b71Sopenharmony_ciBefore creating an application instance, the application does not check whether the number of application instances reaches the upper limit.
829e41f4b71Sopenharmony_ci
830e41f4b71Sopenharmony_ci**Solution**
831e41f4b71Sopenharmony_ci
832e41f4b71Sopenharmony_ciYou can create application instances only after adjusting the upper limit of application instances or deleting existing application instances.
833e41f4b71Sopenharmony_ci
834e41f4b71Sopenharmony_ci## 16000078 Application Multi-Instance Not Supported
835e41f4b71Sopenharmony_ci
836e41f4b71Sopenharmony_ci**Error Message**
837e41f4b71Sopenharmony_ci
838e41f4b71Sopenharmony_ciThe multi-instance is not supported.
839e41f4b71Sopenharmony_ci
840e41f4b71Sopenharmony_ci**Description**
841e41f4b71Sopenharmony_ci
842e41f4b71Sopenharmony_ciThis error code is reported when the application does not support the multi-instance mode.
843e41f4b71Sopenharmony_ci
844e41f4b71Sopenharmony_ci**Possible Causes**
845e41f4b71Sopenharmony_ci
846e41f4b71Sopenharmony_ci1. The multi-instance mode is not configured for the application.
847e41f4b71Sopenharmony_ci2. The current device type does not support the multi-instance mode.
848e41f4b71Sopenharmony_ci
849e41f4b71Sopenharmony_ci**Solution**
850e41f4b71Sopenharmony_ci
851e41f4b71Sopenharmony_ci1. Configure the multi-instance mode for the application.
852e41f4b71Sopenharmony_ci2. Call the API to create multiple instances on a 2-in-1 device.
853e41f4b71Sopenharmony_ci
854e41f4b71Sopenharmony_ci## 16000079 APP_INSTANCE_KEY Cannot Be Specified
855e41f4b71Sopenharmony_ci
856e41f4b71Sopenharmony_ci**Error Message**
857e41f4b71Sopenharmony_ci
858e41f4b71Sopenharmony_ciThe APP_INSTANCE_KEY cannot be specified.
859e41f4b71Sopenharmony_ci
860e41f4b71Sopenharmony_ci**Description**
861e41f4b71Sopenharmony_ci
862e41f4b71Sopenharmony_ci[APP_INSTANCE_KEY](js-apis-app-ability-wantConstant.md#params) and [CREATE_APP_INSTANCE_KEY](js-apis-app-ability-wantConstant.md#params) cannot be specified at the same time. This error code is reported when both of them are specified.
863e41f4b71Sopenharmony_ci
864e41f4b71Sopenharmony_ci**Possible Causes**
865e41f4b71Sopenharmony_ci
866e41f4b71Sopenharmony_ciToo many parameters are passed.
867e41f4b71Sopenharmony_ci
868e41f4b71Sopenharmony_ci**Solution**
869e41f4b71Sopenharmony_ci
870e41f4b71Sopenharmony_ciSpecify either [APP_INSTANCE_KEY](js-apis-app-ability-wantConstant.md#params) or [CREATE_APP_INSTANCE_KEY](js-apis-app-ability-wantConstant.md#params).
871e41f4b71Sopenharmony_ci
872e41f4b71Sopenharmony_ci## 16000080 New Instances Cannot Be Created
873e41f4b71Sopenharmony_ci
874e41f4b71Sopenharmony_ci**Error Message**
875e41f4b71Sopenharmony_ci
876e41f4b71Sopenharmony_ciCreating an instance is not supported.
877e41f4b71Sopenharmony_ci
878e41f4b71Sopenharmony_ci**Description**
879e41f4b71Sopenharmony_ci
880e41f4b71Sopenharmony_ciApplications can use [CREATE_APP_INSTANCE_KEY](js-apis-app-ability-wantConstant.md#params) to create their own instances, but not for other applications. Otherwise, this error code is reported.
881e41f4b71Sopenharmony_ci
882e41f4b71Sopenharmony_ci**Possible Causes**
883e41f4b71Sopenharmony_ci
884e41f4b71Sopenharmony_ciThe parameter use scenario is incorrect.
885e41f4b71Sopenharmony_ci
886e41f4b71Sopenharmony_ci**Solution**
887e41f4b71Sopenharmony_ci
888e41f4b71Sopenharmony_ciDelete the [CREATE_APP_INSTANCE_KEY](js-apis-app-ability-wantConstant.md#params) parameter.
889e41f4b71Sopenharmony_ci
890e41f4b71Sopenharmony_ci## 16000100 Failed to Call AbilityMonitor APIs to Listen for Ability Lifecycle Changes
891e41f4b71Sopenharmony_ci
892e41f4b71Sopenharmony_ci**Error Message**
893e41f4b71Sopenharmony_ci
894e41f4b71Sopenharmony_ci - Calling AddAbilityMonitor failed.
895e41f4b71Sopenharmony_ci
896e41f4b71Sopenharmony_ci - Calling AddAbilityMonitorSync failed.
897e41f4b71Sopenharmony_ci
898e41f4b71Sopenharmony_ci - Calling RemoveAbilityMonitor failed.
899e41f4b71Sopenharmony_ci
900e41f4b71Sopenharmony_ci - Calling RemoveAbilityMonitorSync failed.
901e41f4b71Sopenharmony_ci
902e41f4b71Sopenharmony_ci - Calling WaitAbilityMonitor failed.
903e41f4b71Sopenharmony_ci
904e41f4b71Sopenharmony_ci - Calling GetCurrentTopAbility failed.
905e41f4b71Sopenharmony_ci
906e41f4b71Sopenharmony_ci - Calling DoAbilityForeground failed.
907e41f4b71Sopenharmony_ci
908e41f4b71Sopenharmony_ci - Calling DoAbilityBackground failed.
909e41f4b71Sopenharmony_ci
910e41f4b71Sopenharmony_ci - Calling FinishTest failed.
911e41f4b71Sopenharmony_ci
912e41f4b71Sopenharmony_ci - Calling AddAbilityStageMonitor failed.
913e41f4b71Sopenharmony_ci
914e41f4b71Sopenharmony_ci - Calling AddAbilityStageMonitorSync failed.
915e41f4b71Sopenharmony_ci
916e41f4b71Sopenharmony_ci - Calling RemoveAbilityStageMonitor failed.
917e41f4b71Sopenharmony_ci
918e41f4b71Sopenharmony_ci - Calling RemoveAbilityStageMonitorSync failed.
919e41f4b71Sopenharmony_ci
920e41f4b71Sopenharmony_ci - Calling WaitAbilityStageMonitor failed.
921e41f4b71Sopenharmony_ci
922e41f4b71Sopenharmony_ci**Description**
923e41f4b71Sopenharmony_ci
924e41f4b71Sopenharmony_ciThis error code is reported when an AbilityMonitor API for monitoring the lifecycle change of a specified ability fails to be executed.
925e41f4b71Sopenharmony_ci
926e41f4b71Sopenharmony_ci**Possible Causes**
927e41f4b71Sopenharmony_ci
928e41f4b71Sopenharmony_ciCreating an **AbilityDelegatorRegistry** instance fails.
929e41f4b71Sopenharmony_ci
930e41f4b71Sopenharmony_ci**Solution**
931e41f4b71Sopenharmony_ci
932e41f4b71Sopenharmony_ciCheck whether an **AbilityDelegatorRegistry** instance is created.
933e41f4b71Sopenharmony_ci
934e41f4b71Sopenharmony_ci## 16000101 shell Command Failure
935e41f4b71Sopenharmony_ci
936e41f4b71Sopenharmony_ci**Error Message**
937e41f4b71Sopenharmony_ci
938e41f4b71Sopenharmony_ciFailed to run the shell command.
939e41f4b71Sopenharmony_ci
940e41f4b71Sopenharmony_ci**Description**
941e41f4b71Sopenharmony_ci
942e41f4b71Sopenharmony_ciThis error code is reported when the command is not a valid shell command.
943e41f4b71Sopenharmony_ci
944e41f4b71Sopenharmony_ci**Possible Causes**
945e41f4b71Sopenharmony_ci
946e41f4b71Sopenharmony_ciThe command is not a valid shell command.
947e41f4b71Sopenharmony_ci
948e41f4b71Sopenharmony_ci**Solution**
949e41f4b71Sopenharmony_ci
950e41f4b71Sopenharmony_ciUse a valid shell command.
951e41f4b71Sopenharmony_ci
952e41f4b71Sopenharmony_ci## 16000151 Invalid wantAgent Object
953e41f4b71Sopenharmony_ci
954e41f4b71Sopenharmony_ci**Error Message**
955e41f4b71Sopenharmony_ci
956e41f4b71Sopenharmony_ciInvalid wantAgent object.
957e41f4b71Sopenharmony_ci
958e41f4b71Sopenharmony_ci**Description**
959e41f4b71Sopenharmony_ci
960e41f4b71Sopenharmony_ciThis error code is reported when the **wantAgent** object passed in the API is invalid.
961e41f4b71Sopenharmony_ci
962e41f4b71Sopenharmony_ci**Possible Causes**
963e41f4b71Sopenharmony_ci
964e41f4b71Sopenharmony_ciThe **wantAgent** object is invalid.
965e41f4b71Sopenharmony_ci
966e41f4b71Sopenharmony_ci**Solution**
967e41f4b71Sopenharmony_ci
968e41f4b71Sopenharmony_ciPass a valid **wantAgent** object in the API.
969e41f4b71Sopenharmony_ci
970e41f4b71Sopenharmony_ci## 16000152 wantAgent Object Does Not Exist
971e41f4b71Sopenharmony_ci
972e41f4b71Sopenharmony_ci**Error Message**
973e41f4b71Sopenharmony_ci
974e41f4b71Sopenharmony_ciThe wantAgent object does not exist.
975e41f4b71Sopenharmony_ci
976e41f4b71Sopenharmony_ci**Description**
977e41f4b71Sopenharmony_ci
978e41f4b71Sopenharmony_ciThis error code is reported when the **wantAgent** object passed in the API does not exist.
979e41f4b71Sopenharmony_ci
980e41f4b71Sopenharmony_ci**Possible Causes**
981e41f4b71Sopenharmony_ci
982e41f4b71Sopenharmony_ciThe **wantAgent** object does not exist.
983e41f4b71Sopenharmony_ci
984e41f4b71Sopenharmony_ci**Solution**
985e41f4b71Sopenharmony_ci
986e41f4b71Sopenharmony_ciPass a valid **wantAgent** object in the API.
987e41f4b71Sopenharmony_ci
988e41f4b71Sopenharmony_ci## 16000153 wangAgent Object Canceled
989e41f4b71Sopenharmony_ci
990e41f4b71Sopenharmony_ci**Error Message**
991e41f4b71Sopenharmony_ci
992e41f4b71Sopenharmony_ciThe wantAgent object has been canceled.
993e41f4b71Sopenharmony_ci
994e41f4b71Sopenharmony_ci**Description**
995e41f4b71Sopenharmony_ci
996e41f4b71Sopenharmony_ciThis error code is reported when the **wangAgent** object passed in the API has been canceled.
997e41f4b71Sopenharmony_ci
998e41f4b71Sopenharmony_ci**Possible Causes**
999e41f4b71Sopenharmony_ci
1000e41f4b71Sopenharmony_ciThe **wantAgent** object has been canceled.
1001e41f4b71Sopenharmony_ci
1002e41f4b71Sopenharmony_ci**Solution**
1003e41f4b71Sopenharmony_ci
1004e41f4b71Sopenharmony_ciPass a valid **wantAgent** object in the API.
1005e41f4b71Sopenharmony_ci
1006e41f4b71Sopenharmony_ci## 16100001 Ability of the Specified URI Does Not Exist
1007e41f4b71Sopenharmony_ci
1008e41f4b71Sopenharmony_ci**Error Message**
1009e41f4b71Sopenharmony_ci
1010e41f4b71Sopenharmony_ciThe ability with the specified URI does not exist.
1011e41f4b71Sopenharmony_ci
1012e41f4b71Sopenharmony_ci**Description**
1013e41f4b71Sopenharmony_ci
1014e41f4b71Sopenharmony_ciThis error code is reported when the ability with the specified URI does not exist.
1015e41f4b71Sopenharmony_ci
1016e41f4b71Sopenharmony_ci**Possible Causes**
1017e41f4b71Sopenharmony_ci
1018e41f4b71Sopenharmony_ciThe ability to query does not exist.
1019e41f4b71Sopenharmony_ci
1020e41f4b71Sopenharmony_ci**Solution**
1021e41f4b71Sopenharmony_ci
1022e41f4b71Sopenharmony_ciCheck the ability with the specified URI.
1023e41f4b71Sopenharmony_ci
1024e41f4b71Sopenharmony_ci## 16100002 Incorrect Ability Type
1025e41f4b71Sopenharmony_ci
1026e41f4b71Sopenharmony_ci**Error Message**
1027e41f4b71Sopenharmony_ci
1028e41f4b71Sopenharmony_ciIncorrect ability type.
1029e41f4b71Sopenharmony_ci
1030e41f4b71Sopenharmony_ci**Description**
1031e41f4b71Sopenharmony_ci
1032e41f4b71Sopenharmony_ciThis error code is reported when the ability type invoked by the API is incorrect.
1033e41f4b71Sopenharmony_ci
1034e41f4b71Sopenharmony_ci**Possible Causes**
1035e41f4b71Sopenharmony_ci
1036e41f4b71Sopenharmony_ciThe ability with the specified type does not support the API invocation.
1037e41f4b71Sopenharmony_ci
1038e41f4b71Sopenharmony_ci**Solution**
1039e41f4b71Sopenharmony_ci
1040e41f4b71Sopenharmony_ci1. Check whether the ability name corresponding to the bundle name is correct.
1041e41f4b71Sopenharmony_ci2. Call the supported APIs based on the ability type.
1042e41f4b71Sopenharmony_ci
1043e41f4b71Sopenharmony_ci## 16200001 Caller Released
1044e41f4b71Sopenharmony_ci
1045e41f4b71Sopenharmony_ci**Error Message**
1046e41f4b71Sopenharmony_ci
1047e41f4b71Sopenharmony_ciThe caller has been released.
1048e41f4b71Sopenharmony_ci
1049e41f4b71Sopenharmony_ci**Description**
1050e41f4b71Sopenharmony_ci
1051e41f4b71Sopenharmony_ciThis error code is reported when the caller has been released.
1052e41f4b71Sopenharmony_ci
1053e41f4b71Sopenharmony_ci**Possible Causes**
1054e41f4b71Sopenharmony_ci
1055e41f4b71Sopenharmony_ciThe caller has been released.
1056e41f4b71Sopenharmony_ci
1057e41f4b71Sopenharmony_ci**Solution**
1058e41f4b71Sopenharmony_ci
1059e41f4b71Sopenharmony_ci1. Register a valid caller again.
1060e41f4b71Sopenharmony_ci2. Check whether the ability corresponding to the context is still running when **context.startAbility** is called. This error code is thrown when the ability has been destructed.
1061e41f4b71Sopenharmony_ci3. If **startAbility()** and **terminateSelf()** are called consecutively, ensure that a success or failure callback for **startAbility()** is received before calling **terminateSelf()**.
1062e41f4b71Sopenharmony_ci
1063e41f4b71Sopenharmony_ci## 16200002 Invalid Callee
1064e41f4b71Sopenharmony_ci
1065e41f4b71Sopenharmony_ci**Error Message**
1066e41f4b71Sopenharmony_ci
1067e41f4b71Sopenharmony_ciThe callee does not exist.
1068e41f4b71Sopenharmony_ci
1069e41f4b71Sopenharmony_ci**Description**
1070e41f4b71Sopenharmony_ci
1071e41f4b71Sopenharmony_ciThis error code is reported when the callee is invalid.
1072e41f4b71Sopenharmony_ci
1073e41f4b71Sopenharmony_ci**Possible Causes**
1074e41f4b71Sopenharmony_ci
1075e41f4b71Sopenharmony_ciThe callee does not exist.
1076e41f4b71Sopenharmony_ci
1077e41f4b71Sopenharmony_ci**Solution**
1078e41f4b71Sopenharmony_ci
1079e41f4b71Sopenharmony_ciUse a valid callee.
1080e41f4b71Sopenharmony_ci
1081e41f4b71Sopenharmony_ci## 16200003 Release Failure
1082e41f4b71Sopenharmony_ci
1083e41f4b71Sopenharmony_ci**Error Message**
1084e41f4b71Sopenharmony_ci
1085e41f4b71Sopenharmony_ciRelease error. The caller does not call any callee.
1086e41f4b71Sopenharmony_ci
1087e41f4b71Sopenharmony_ci**Description**
1088e41f4b71Sopenharmony_ci
1089e41f4b71Sopenharmony_ciThis error code is reported when the release fails.
1090e41f4b71Sopenharmony_ci
1091e41f4b71Sopenharmony_ci**Possible Causes**
1092e41f4b71Sopenharmony_ci
1093e41f4b71Sopenharmony_ciThe caller is not registered with a callee.
1094e41f4b71Sopenharmony_ci
1095e41f4b71Sopenharmony_ci**Solution**
1096e41f4b71Sopenharmony_ci
1097e41f4b71Sopenharmony_ciCheck whether the caller has registered.
1098e41f4b71Sopenharmony_ci
1099e41f4b71Sopenharmony_ci## 16200004 Method Registered
1100e41f4b71Sopenharmony_ci
1101e41f4b71Sopenharmony_ci**Error Message**
1102e41f4b71Sopenharmony_ci
1103e41f4b71Sopenharmony_ciThe method has been registered.
1104e41f4b71Sopenharmony_ci
1105e41f4b71Sopenharmony_ci**Description**
1106e41f4b71Sopenharmony_ci
1107e41f4b71Sopenharmony_ciThis error code is reported when the method has been registered.
1108e41f4b71Sopenharmony_ci
1109e41f4b71Sopenharmony_ci**Possible Causes**
1110e41f4b71Sopenharmony_ci
1111e41f4b71Sopenharmony_ciThe method has been registered by the callee.
1112e41f4b71Sopenharmony_ci
1113e41f4b71Sopenharmony_ci**Solution**
1114e41f4b71Sopenharmony_ci
1115e41f4b71Sopenharmony_ciCheck whether the method has been registered.
1116e41f4b71Sopenharmony_ci
1117e41f4b71Sopenharmony_ci## 16200005 Method Not Registered
1118e41f4b71Sopenharmony_ci
1119e41f4b71Sopenharmony_ci**Error Message**
1120e41f4b71Sopenharmony_ci
1121e41f4b71Sopenharmony_ciThe method has not been registered.
1122e41f4b71Sopenharmony_ci
1123e41f4b71Sopenharmony_ci**Description**
1124e41f4b71Sopenharmony_ci
1125e41f4b71Sopenharmony_ciThis error code is reported when the method has not been registered.
1126e41f4b71Sopenharmony_ci
1127e41f4b71Sopenharmony_ci**Possible Causes**
1128e41f4b71Sopenharmony_ci
1129e41f4b71Sopenharmony_ciThe method has not been registered by the callee.
1130e41f4b71Sopenharmony_ci
1131e41f4b71Sopenharmony_ci**Solution**
1132e41f4b71Sopenharmony_ci
1133e41f4b71Sopenharmony_ciCheck whether the method has been registered.
1134e41f4b71Sopenharmony_ci
1135e41f4b71Sopenharmony_ci## 16200006 No Permission to Enable or Disable the Resident Process
1136e41f4b71Sopenharmony_ci
1137e41f4b71Sopenharmony_ci**Error Message**
1138e41f4b71Sopenharmony_ci
1139e41f4b71Sopenharmony_ciThe caller application can only set the resident status of the configured process.
1140e41f4b71Sopenharmony_ci
1141e41f4b71Sopenharmony_ci**Description**
1142e41f4b71Sopenharmony_ci
1143e41f4b71Sopenharmony_ciThis error code is reported when the caller does not have the permission to enable or disable the resident process.
1144e41f4b71Sopenharmony_ci
1145e41f4b71Sopenharmony_ci**Possible Causes**
1146e41f4b71Sopenharmony_ci
1147e41f4b71Sopenharmony_ciThe caller does not have the permission to enable or disable the resident process.
1148e41f4b71Sopenharmony_ci
1149e41f4b71Sopenharmony_ci**Solution**
1150e41f4b71Sopenharmony_ci
1151e41f4b71Sopenharmony_ciEnsure that the caller has the required permission before calling this API.
1152e41f4b71Sopenharmony_ci
1153e41f4b71Sopenharmony_ci## 16300001 Nonexistent Mission
1154e41f4b71Sopenharmony_ci
1155e41f4b71Sopenharmony_ci**Error Message**
1156e41f4b71Sopenharmony_ci
1157e41f4b71Sopenharmony_ciMission not found.
1158e41f4b71Sopenharmony_ci
1159e41f4b71Sopenharmony_ci**Description**
1160e41f4b71Sopenharmony_ci
1161e41f4b71Sopenharmony_ciThis error code is reported when the specified mission does not exist.
1162e41f4b71Sopenharmony_ci
1163e41f4b71Sopenharmony_ci**Possible Causes**
1164e41f4b71Sopenharmony_ci
1165e41f4b71Sopenharmony_ciThe mission does not exist.
1166e41f4b71Sopenharmony_ci
1167e41f4b71Sopenharmony_ci**Solution**
1168e41f4b71Sopenharmony_ci
1169e41f4b71Sopenharmony_ciCheck the mission ID.
1170e41f4b71Sopenharmony_ci
1171e41f4b71Sopenharmony_ci## 16300002 Nonexistent Mission Listener
1172e41f4b71Sopenharmony_ci
1173e41f4b71Sopenharmony_ci**Error Message**
1174e41f4b71Sopenharmony_ci
1175e41f4b71Sopenharmony_ciThe specified mission listener does not exist.
1176e41f4b71Sopenharmony_ci
1177e41f4b71Sopenharmony_ci**Description**
1178e41f4b71Sopenharmony_ci
1179e41f4b71Sopenharmony_ciThis error code is reported when the specified mission listener does not exist.
1180e41f4b71Sopenharmony_ci
1181e41f4b71Sopenharmony_ci**Possible Causes**
1182e41f4b71Sopenharmony_ci
1183e41f4b71Sopenharmony_ciThe mission listener does not exist.
1184e41f4b71Sopenharmony_ci
1185e41f4b71Sopenharmony_ci**Solution**
1186e41f4b71Sopenharmony_ci
1187e41f4b71Sopenharmony_ciCheck the mission listener ID.
1188e41f4b71Sopenharmony_ci
1189e41f4b71Sopenharmony_ci## 16300003 Target Application Is Not the Invoker Application
1190e41f4b71Sopenharmony_ci
1191e41f4b71Sopenharmony_ci**Error Message**
1192e41f4b71Sopenharmony_ci
1193e41f4b71Sopenharmony_ciThe target application is not the current application.
1194e41f4b71Sopenharmony_ci
1195e41f4b71Sopenharmony_ci**Description**
1196e41f4b71Sopenharmony_ci
1197e41f4b71Sopenharmony_ciThis error code is reported when the application to start is not the application that calls the API.
1198e41f4b71Sopenharmony_ci
1199e41f4b71Sopenharmony_ci**Possible Causes**
1200e41f4b71Sopenharmony_ci
1201e41f4b71Sopenharmony_ciThe application to start and the invoker application are not the same application.
1202e41f4b71Sopenharmony_ci
1203e41f4b71Sopenharmony_ci**Solution**
1204e41f4b71Sopenharmony_ci
1205e41f4b71Sopenharmony_ciEnsure that the application to start is the invoker application.
1206e41f4b71Sopenharmony_ci
1207e41f4b71Sopenharmony_ci## 18500001 Invalid Bundle Name
1208e41f4b71Sopenharmony_ci
1209e41f4b71Sopenharmony_ci**Error Message**
1210e41f4b71Sopenharmony_ci
1211e41f4b71Sopenharmony_ciThe bundle does not exist or no patch has been applied.
1212e41f4b71Sopenharmony_ci
1213e41f4b71Sopenharmony_ci**Description**
1214e41f4b71Sopenharmony_ci
1215e41f4b71Sopenharmony_ciThis error code is reported when the specified bundle name is invalid.
1216e41f4b71Sopenharmony_ci
1217e41f4b71Sopenharmony_ci**Possible Causes**
1218e41f4b71Sopenharmony_ci
1219e41f4b71Sopenharmony_ciThe bundle does not exist or is not installed.
1220e41f4b71Sopenharmony_ci
1221e41f4b71Sopenharmony_ci**Solution**
1222e41f4b71Sopenharmony_ci
1223e41f4b71Sopenharmony_ciCheck whether the bundle has been installed.
1224e41f4b71Sopenharmony_ci
1225e41f4b71Sopenharmony_ci## 18500002 Invalid Patch Package
1226e41f4b71Sopenharmony_ci
1227e41f4b71Sopenharmony_ci**Error Message**
1228e41f4b71Sopenharmony_ci
1229e41f4b71Sopenharmony_ciInvalid patch package.
1230e41f4b71Sopenharmony_ci
1231e41f4b71Sopenharmony_ci**Description**
1232e41f4b71Sopenharmony_ci
1233e41f4b71Sopenharmony_ciThis error code is returned when the specified patch package is invalid.
1234e41f4b71Sopenharmony_ci
1235e41f4b71Sopenharmony_ci**Possible Causes**
1236e41f4b71Sopenharmony_ci
1237e41f4b71Sopenharmony_ciThe patch package does not exist or is inaccessible.
1238e41f4b71Sopenharmony_ci
1239e41f4b71Sopenharmony_ci**Solution**
1240e41f4b71Sopenharmony_ci
1241e41f4b71Sopenharmony_ci1. Check whether the path of the patch package is valid.
1242e41f4b71Sopenharmony_ci2. Check whether the application has the permission to access the patch package.
1243e41f4b71Sopenharmony_ci
1244e41f4b71Sopenharmony_ci## 18500003 Patch Deployment Failure
1245e41f4b71Sopenharmony_ci
1246e41f4b71Sopenharmony_ci**Error Message**
1247e41f4b71Sopenharmony_ci
1248e41f4b71Sopenharmony_ciFailed to deploy the patch.
1249e41f4b71Sopenharmony_ci
1250e41f4b71Sopenharmony_ci**Description**
1251e41f4b71Sopenharmony_ci
1252e41f4b71Sopenharmony_ciThis error code is reported when the patch package fails to be deployed.
1253e41f4b71Sopenharmony_ci
1254e41f4b71Sopenharmony_ci**Possible Causes**
1255e41f4b71Sopenharmony_ci
1256e41f4b71Sopenharmony_ci1. The **type** field in the **patch.json** file is set to a value other than **patch** or **hotreload**.
1257e41f4b71Sopenharmony_ci2. The HAP corresponding to the bundle name is not installed.
1258e41f4b71Sopenharmony_ci3. The values of **bundleName** and **versionCode** are different from those of the installed HAP. If the **type** field is set to **patch**, the values of **versionName**, **bundleName**, and **versionCode** are different from those of the installed HAP.
1259e41f4b71Sopenharmony_ci4. If a patch package has been deployed, the **versionCode** of the new patch package is not later than that of the previous patch package.
1260e41f4b71Sopenharmony_ci5. If the **type** field is set to **patch**, the signature information is different from that of the application.
1261e41f4b71Sopenharmony_ci6. If the **type** field is set to **patch** and a debug version is to be installed, a **hotreload** patch is in use.
1262e41f4b71Sopenharmony_ci7. If the **type** field is set to **hotreload** and a debug version is to be installed, a **patch** package is in use. If the **type** field is set to **hotreload**, a release version is to be installed.
1263e41f4b71Sopenharmony_ci
1264e41f4b71Sopenharmony_ci**Solution**
1265e41f4b71Sopenharmony_ci
1266e41f4b71Sopenharmony_ciCheck whether the patch package complies with the deployment rules.
1267e41f4b71Sopenharmony_ci
1268e41f4b71Sopenharmony_ci## 18500004 Patch Package Enablement Failure
1269e41f4b71Sopenharmony_ci
1270e41f4b71Sopenharmony_ci**Error Message**
1271e41f4b71Sopenharmony_ci
1272e41f4b71Sopenharmony_ciFailed to enable the patch package.
1273e41f4b71Sopenharmony_ci
1274e41f4b71Sopenharmony_ci**Description**
1275e41f4b71Sopenharmony_ci
1276e41f4b71Sopenharmony_ciThis error code is reported when the patch package fails to be enabled.
1277e41f4b71Sopenharmony_ci
1278e41f4b71Sopenharmony_ci**Possible Causes**
1279e41f4b71Sopenharmony_ci
1280e41f4b71Sopenharmony_ciThe patch package is in an incorrect state.
1281e41f4b71Sopenharmony_ci
1282e41f4b71Sopenharmony_ci**Solution**
1283e41f4b71Sopenharmony_ci
1284e41f4b71Sopenharmony_ciCheck the state of the patch package.
1285e41f4b71Sopenharmony_ci
1286e41f4b71Sopenharmony_ci## 18500005 Patch Package Deletion Failure
1287e41f4b71Sopenharmony_ci
1288e41f4b71Sopenharmony_ci**Error Message**
1289e41f4b71Sopenharmony_ci
1290e41f4b71Sopenharmony_ciFailed to remove the patch package.
1291e41f4b71Sopenharmony_ci
1292e41f4b71Sopenharmony_ci**Description**
1293e41f4b71Sopenharmony_ci
1294e41f4b71Sopenharmony_ciThis error code is reported when the patch package fails to be deleted.
1295e41f4b71Sopenharmony_ci
1296e41f4b71Sopenharmony_ci**Possible Causes**
1297e41f4b71Sopenharmony_ci
1298e41f4b71Sopenharmony_ciThe patch package is in an incorrect state.
1299e41f4b71Sopenharmony_ci
1300e41f4b71Sopenharmony_ci**Solution**
1301e41f4b71Sopenharmony_ci
1302e41f4b71Sopenharmony_ciCheck the state of the patch package.
1303e41f4b71Sopenharmony_ci
1304e41f4b71Sopenharmony_ci## 18500006 Patch Installation Failure
1305e41f4b71Sopenharmony_ci
1306e41f4b71Sopenharmony_ci**Error Message**
1307e41f4b71Sopenharmony_ci
1308e41f4b71Sopenharmony_ciFailed to load the patch.
1309e41f4b71Sopenharmony_ci
1310e41f4b71Sopenharmony_ci**Description**
1311e41f4b71Sopenharmony_ci
1312e41f4b71Sopenharmony_ciThis error code is reported when the patch fails to be installed.
1313e41f4b71Sopenharmony_ci
1314e41f4b71Sopenharmony_ci**Possible Causes**
1315e41f4b71Sopenharmony_ci
1316e41f4b71Sopenharmony_ciThe Ark engine fails to install the patch.
1317e41f4b71Sopenharmony_ci
1318e41f4b71Sopenharmony_ci**Solution**
1319e41f4b71Sopenharmony_ci
1320e41f4b71Sopenharmony_ciCheck whether the patch package is correct.
1321e41f4b71Sopenharmony_ci
1322e41f4b71Sopenharmony_ci## 18500007 Patch Uninstall Failure
1323e41f4b71Sopenharmony_ci
1324e41f4b71Sopenharmony_ci**Error Message**
1325e41f4b71Sopenharmony_ci
1326e41f4b71Sopenharmony_ciFailed to unload the patch.
1327e41f4b71Sopenharmony_ci
1328e41f4b71Sopenharmony_ci**Description**
1329e41f4b71Sopenharmony_ci
1330e41f4b71Sopenharmony_ciThis error code is reported when the Ark engine fails to uninstall the patch.
1331e41f4b71Sopenharmony_ci
1332e41f4b71Sopenharmony_ci**Possible Causes**
1333e41f4b71Sopenharmony_ci
1334e41f4b71Sopenharmony_ciThe Ark engine fails to uninstall the patch.
1335e41f4b71Sopenharmony_ci
1336e41f4b71Sopenharmony_ci**Solution**
1337e41f4b71Sopenharmony_ci
1338e41f4b71Sopenharmony_ciCheck whether the patch package is correct.
1339e41f4b71Sopenharmony_ci
1340e41f4b71Sopenharmony_ci## 18500008 Internal Error
1341e41f4b71Sopenharmony_ci
1342e41f4b71Sopenharmony_ci**Error Message**
1343e41f4b71Sopenharmony_ci
1344e41f4b71Sopenharmony_ciInternal error.
1345e41f4b71Sopenharmony_ci
1346e41f4b71Sopenharmony_ci**Description**
1347e41f4b71Sopenharmony_ci
1348e41f4b71Sopenharmony_ciThis error code is reported when an error occurs during internal processing, such as memory application or multi-thread processing.
1349e41f4b71Sopenharmony_ci
1350e41f4b71Sopenharmony_ci**Possible Causes**
1351e41f4b71Sopenharmony_ci
1352e41f4b71Sopenharmony_ciCommon kernel errors such as memory application and multi-thread processing errors occur.
1353e41f4b71Sopenharmony_ci
1354e41f4b71Sopenharmony_ci**Solution**
1355e41f4b71Sopenharmony_ci
1356e41f4b71Sopenharmony_ciEnsure sufficient system memory.
1357e41f4b71Sopenharmony_ci
1358e41f4b71Sopenharmony_ci## 18500009 Application Has a Quick Fix Task Being Processed
1359e41f4b71Sopenharmony_ci
1360e41f4b71Sopenharmony_ci**Error Message**
1361e41f4b71Sopenharmony_ci
1362e41f4b71Sopenharmony_ciThe application has an ongoing quick fix task.
1363e41f4b71Sopenharmony_ci
1364e41f4b71Sopenharmony_ci**Description**
1365e41f4b71Sopenharmony_ci
1366e41f4b71Sopenharmony_ciThis error code is reported when the application has a quick fix task that is under processing.
1367e41f4b71Sopenharmony_ci
1368e41f4b71Sopenharmony_ci**Possible Causes**
1369e41f4b71Sopenharmony_ci
1370e41f4b71Sopenharmony_ciWhen you try to cancel a quick fix task for an application, the application has a quick repair task that is under processing.
1371e41f4b71Sopenharmony_ci
1372e41f4b71Sopenharmony_ci**Solution**
1373e41f4b71Sopenharmony_ci
1374e41f4b71Sopenharmony_ciWait until the quick fix task is complete.
1375e41f4b71Sopenharmony_ci
1376e41f4b71Sopenharmony_ci## 16300004 Observer Does Not Exist
1377e41f4b71Sopenharmony_ci
1378e41f4b71Sopenharmony_ci**Error Message**
1379e41f4b71Sopenharmony_ci
1380e41f4b71Sopenharmony_ciobserver not found.
1381e41f4b71Sopenharmony_ci
1382e41f4b71Sopenharmony_ci**Description**
1383e41f4b71Sopenharmony_ci
1384e41f4b71Sopenharmony_ciThis error code is reported when the specified observer does not exist.
1385e41f4b71Sopenharmony_ci
1386e41f4b71Sopenharmony_ci**Possible Causes**
1387e41f4b71Sopenharmony_ci
1388e41f4b71Sopenharmony_ciThe observer does not exist or has been unregistered.
1389e41f4b71Sopenharmony_ci
1390e41f4b71Sopenharmony_ci**Solution**
1391e41f4b71Sopenharmony_ci
1392e41f4b71Sopenharmony_ciCheck whether the observer exists.
1393e41f4b71Sopenharmony_ci
1394e41f4b71Sopenharmony_ci## 16300005 Bundle Information Does Not Exist
1395e41f4b71Sopenharmony_ci
1396e41f4b71Sopenharmony_ci**Error Message**
1397e41f4b71Sopenharmony_ci
1398e41f4b71Sopenharmony_ciThe target bundle does not exist.
1399e41f4b71Sopenharmony_ci
1400e41f4b71Sopenharmony_ci**Description**
1401e41f4b71Sopenharmony_ci
1402e41f4b71Sopenharmony_ciThis error code is reported when the bundle information of the preinstalled application does not exist.
1403e41f4b71Sopenharmony_ci
1404e41f4b71Sopenharmony_ci**Possible Causes**
1405e41f4b71Sopenharmony_ci
1406e41f4b71Sopenharmony_ciThe value of **bundleName**, **userId**, or **appIndex** is incorrect, leading to the query failure.
1407e41f4b71Sopenharmony_ci
1408e41f4b71Sopenharmony_ci**Solution**
1409e41f4b71Sopenharmony_ci
1410e41f4b71Sopenharmony_ciPass in correct values for **bundleName**, **userId**, and **appIndex**.
1411e41f4b71Sopenharmony_ci
1412e41f4b71Sopenharmony_ci## 29600001 Internal Error During Image Editing
1413e41f4b71Sopenharmony_ci
1414e41f4b71Sopenharmony_ci**Error Message**
1415e41f4b71Sopenharmony_ci
1416e41f4b71Sopenharmony_ciInternal error.
1417e41f4b71Sopenharmony_ci
1418e41f4b71Sopenharmony_ci**Description**
1419e41f4b71Sopenharmony_ci
1420e41f4b71Sopenharmony_ciThis error code is reported when an internal error such as memory allocation or multithreaded processing exception occurs during image saving.
1421e41f4b71Sopenharmony_ci
1422e41f4b71Sopenharmony_ci**Possible Causes**
1423e41f4b71Sopenharmony_ci
1424e41f4b71Sopenharmony_ciCommon kernel errors such as memory application and multi-thread processing errors occur. The possible causes are as follows: The internal object is empty, and the processing times out.
1425e41f4b71Sopenharmony_ci
1426e41f4b71Sopenharmony_ci**Solution**
1427e41f4b71Sopenharmony_ci
1428e41f4b71Sopenharmony_ci1. Ensure sufficient system memory. Ensure that the system version used by the device is normal.
1429e41f4b71Sopenharmony_ci2. Restart the device.
1430e41f4b71Sopenharmony_ci
1431e41f4b71Sopenharmony_ci## 29600002 Internal Error During Image Editing
1432e41f4b71Sopenharmony_ci
1433e41f4b71Sopenharmony_ci**Error Message**
1434e41f4b71Sopenharmony_ci
1435e41f4b71Sopenharmony_ciImage input error.
1436e41f4b71Sopenharmony_ci
1437e41f4b71Sopenharmony_ci**Description**
1438e41f4b71Sopenharmony_ci
1439e41f4b71Sopenharmony_ciThis error code is reported when the image URI does not exist or the image cannot be parsed.
1440e41f4b71Sopenharmony_ci
1441e41f4b71Sopenharmony_ci**Possible Causes**
1442e41f4b71Sopenharmony_ci
1443e41f4b71Sopenharmony_ciThe URI does not exist or the URI does not point to an image file.
1444e41f4b71Sopenharmony_ci
1445e41f4b71Sopenharmony_ci**Solution**
1446e41f4b71Sopenharmony_ci
1447e41f4b71Sopenharmony_ciCheck whether the file exists and whether the file type is image.
1448e41f4b71Sopenharmony_ci
1449e41f4b71Sopenharmony_ci## 29600002 Image Too Large
1450e41f4b71Sopenharmony_ci
1451e41f4b71Sopenharmony_ci**Error Message**
1452e41f4b71Sopenharmony_ci
1453e41f4b71Sopenharmony_ciImage too big.
1454e41f4b71Sopenharmony_ci
1455e41f4b71Sopenharmony_ci**Description**
1456e41f4b71Sopenharmony_ci
1457e41f4b71Sopenharmony_ciThe image is too large.
1458e41f4b71Sopenharmony_ci
1459e41f4b71Sopenharmony_ci**Possible Causes**
1460e41f4b71Sopenharmony_ci
1461e41f4b71Sopenharmony_ciThis error code is reported when the size of the image exceeds 50 MB.
1462e41f4b71Sopenharmony_ci
1463e41f4b71Sopenharmony_ci**Solution**
1464e41f4b71Sopenharmony_ci
1465e41f4b71Sopenharmony_ci1. Limit the size of the edited image to less than 50 MB.
1466e41f4b71Sopenharmony_ci2. Verify the image size in advance.
1467e41f4b71Sopenharmony_ci## 16300007 Download and Installation Task Information of the Atomic Service Does Not Exist
1468e41f4b71Sopenharmony_ci
1469e41f4b71Sopenharmony_ci**Error Message**
1470e41f4b71Sopenharmony_ci
1471e41f4b71Sopenharmony_ciThe target free install task does not exist.
1472e41f4b71Sopenharmony_ci
1473e41f4b71Sopenharmony_ci**Description**
1474e41f4b71Sopenharmony_ci
1475e41f4b71Sopenharmony_ciThis error code is reported when the download and installation task of the specified atomic service does not exist while the atomic service window is opened.
1476e41f4b71Sopenharmony_ci
1477e41f4b71Sopenharmony_ci**Possible Causes**
1478e41f4b71Sopenharmony_ci
1479e41f4b71Sopenharmony_ciThe value of **bundleName**, **moduleName**, **abilityName**, or **startTime** is incorrect, leading to the query failure.
1480e41f4b71Sopenharmony_ci
1481e41f4b71Sopenharmony_ci**Solution**
1482e41f4b71Sopenharmony_ci
1483e41f4b71Sopenharmony_ciPass in correct values for **bundleName**, **moduleName**, **abilityName**, and **startTime**.
1484