• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1# Ability 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## 16000001 Ability Name Does Not Exist
8
9**Error Message**
10
11Input error. The specified ability name does not exist.
12
13**Description**
14
15This error code is reported when the specified ability name does not exist.
16
17**Possible Causes**
18
19The ability to query does not exist.
20
21**Solution**
22
231. Check whether the bundle name is correct.
242. Check whether the ability name corresponding to the bundle name is correct.
25
26## 16000002 Incorrect Ability Type
27
28**Error Message**
29
30Ability type error. The specified ability type is wrong.
31
32**Description**
33
34This error code is reported when the ability type invoked by the API is incorrect.
35
36**Possible Causes**
37
38The ability with the specified type does not support the API invocation.
39
40**Solution**
41
421. Check whether the ability name corresponding to the bundle name is correct.
432. Call the supported APIs based on the ability type.
44
45## 16000003 Nonexistent ID
46
47**Error Message**
48
49Input error. The specified id does not exist.
50
51**Description**
52
53This error code is reported when the specified ID does not exist.
54
55**Possible Causes**
56
57The target with the specified ID does not exist.
58
59**Solution**
60
61Use the correct ID.
62
63## 16000004 Visibility Verification Failure
64
65**Error Message**
66
67Visibility verification failed.
68
69**Description**
70
71This error code is reported when the application fails visibility verification.
72
73**Possible Causes**
74
75Visibility verification fails.
76
77**Solution**
78
79Check whether the application meets the visibility restriction of the started application.
80
81## 16000006 Cross-User Operation Is Not Allowed
82
83**Error Message**
84
85Can not cross user operations.
86
87**Description**
88
89This error code is reported when an application tries to perform a cross-user operation.
90
91**Possible Causes**
92
93The application initiates a cross-user operation.
94
95**Solution**
96
97Do not perform a cross-user operation.
98
99## 16000007 Service Busy
100
101**Error Message**
102
103Service busyness. There are concurrent tasks, waiting for retry.
104
105**Description**
106
107This error code is reported when the service requested is busy.
108
109**Possible Causes**
110
111The service is busy.
112
113**Solution**
114
115Try again later.
116
117## 16000008 Crowdtesting Application Expires
118
119**Error Message**
120
121Crowdtest App Expiration.
122
123**Description**
124
125This error code is reported when users try to open a crowdtesting application that has expired.
126
127**Possible Causes**
128
129The crowdtesting application has expired.
130
131**Solution**
132
133Check whether the crowdtesting application has expired.
134
135## 16000009 Ability Start or Stop Failure in Wukong Mode
136
137**Error Message**
138
139Can not start ability in wukong mode.
140
141**Description**
142
143This error code is returned when the application tries to start or stop an ability in Wukong mode.
144
145**Possible Causes**
146
147An ability cannot be started or stopped in Wukong mode.
148
149**Solution**
150
151Do not start or stop an ability in Wukong mode.
152
153## 16000010 Continuation Flag Forbidden
154
155**Error Message**
156
157Can not operation with continue flag.
158
159**Description**
160
161This error code is reported when the API call carries the continuation flag.
162
163**Possible Causes**
164
165The continuation flag is not allowed for the API call.
166
167**Solution**
168
169Remove the continuation flag.
170
171## 16000011 Nonexistent Context
172
173**Error Message**
174
175Context does not exist.
176
177**Description**
178
179This error code is reported when the specified context does not exist.
180
181**Possible Causes**
182
183The context passed in the API does not exist.
184
185**Solution**
186
187Use the correct context.
188
189## 100001 Internal Error
190
191**Error Message**
192
193Internal Error.
194
195**Description**
196
197This error code is reported when an error occurs during internal processing, such as memory application or multi-thread processing.
198
199**Possible Causes**
200
201Common kernel errors such as memory application and multi-thread processing errors occur.
202
203**Solution**
204
205Ensure sufficient sytem memory.
206
207## 16000051 Network Error
208
209**Error Message**
210
211Network error. The network is abnormal.
212
213**Description**
214
215This error code is reported when the network is abnormal.
216
217**Possible Causes**
218
219The network is unavailable.
220
221**Solution**
222
223Try again later or reconnect to the network.
224
225## 16000052 Installation-Free Is Not Supported
226
227**Error Message**
228
229Free install not support. The applicaiotn dose not support free install.
230
231**Description**
232
233This error code is reported when the application does not support installation-free.
234
235**Possible Causes**
236
237The application package does not meet the installation-free requirements. For example, the package is too large.
238
239**Solution**
240
241Check whether the application supports installation-free.
242
243## 16000053 Ability Is Not on Top
244
245**Error Message**
246
247Not top ability. The application is not top ability.
248
249**Description**
250
251This error code is reported when the ability is not displayed on the top of the UI.
252
253**Possible Causes**
254
255The ability is not displayed on the top of the UI.
256
257**Solution**
258
259Ensure that the ability is displayed on the top of the UI.
260
261## 16000054 Installation-Free Busy
262
263**Error Message**
264
265Free install busyness. There are concurrent tasks, waiting for retry.
266
267**Description**
268
269This error code is reported when the installation-free service is busy.
270
271**Possible Causes**
272
273Another installation-free task is in progress.
274
275**Solution**
276
277Try again later.
278
279## 16000055 Installation-Free Timeout
280
281**Error Message**
282
283Free install timeout.
284
285**Description**
286
287This error code is reported when the installation-free task times out.
288
289**Possible Causes**
290
291Installation-free times out.
292
293**Solution**
294
295Try again later.
296
297## 16000056 Installation-Free Is Not Allowed for Other Applications
298
299**Error Message**
300
301Can not free install other ability.
302
303**Description**
304
305This error code is reported when users try to apply installation-free for other applications.
306
307**Possible Causes**
308
309Installation-free is allowed only for the current application.
310
311**Solution**
312
313Apply installation-free only for the current application.
314
315## 16000057 Cross-Device Installation-Free Is Not Supported
316
317**Error Message**
318
319Not support cross device free install.
320
321**Description**
322
323This error code is reported when users try to apply installation-free across devices.
324
325**Possible Causes**
326
327Cross-device installation-free is not supported.
328
329**Solution**
330
331Use installation-free on the same device.
332
333## 16000101 shell Command Failure
334
335**Error Message**
336
337execute shell command failed.
338
339**Description**
340
341This error code is reported when the command is not a valid shell command.
342
343**Possible Causes**
344
345The command is not a valid shell command.
346
347**Solution**
348
349Use a valid shell command.
350
351## 16000151 Invalid wantAgent Object
352
353**Error Message**
354
355Invalid wantagent object.
356
357**Description**
358
359This error code is reported when the **wantAgent** object passed in the API is invalid.
360
361**Possible Causes**
362
363The **wantAgent** object is invalid.
364
365**Solution**
366
367Pass a valid **wantAgent** object in the API.
368
369## 16000152 wantAgent Object Does Not Exist
370
371**Error Message**
372
373wantAgent object not found.
374
375**Description**
376
377This error code is reported when the **wantAgent** object passed in the API does not exist.
378
379**Possible Causes**
380
381The **wantAgent** object does not exist.
382
383**Solution**
384
385Pass a valid **wantAgent** object in the API.
386
387## 16000153 wangAgent Object Canceled
388
389**Error Message**
390
391wangAgent object canceled.
392
393**Description**
394
395This error code is reported when the **wangAgent** object passed in the API has been canceled.
396
397**Possible Causes**
398
399The **wantAgent** object has been canceled.
400
401**Solution**
402
403Pass a valid **wantAgent** object in the API.
404
405## 16100001 Ability of the Specified URI Does Not Exist
406
407**Error Message**
408
409Input error. The specified uri does not exist.
410
411**Description**
412
413This error code is reported when the ability with the specified URI does not exist.
414
415**Possible Causes**
416
417The ability to query does not exist.
418
419**Solution**
420
421Check the ability with the specified URI.
422
423## 16100002 Incorrect Ability Type
424
425**Error Message**
426
427Ability type error. The specified ability type is wrong.
428
429**Description**
430
431This error code is reported when the ability type invoked by the API is incorrect.
432
433**Possible Causes**
434
435The ability with the specified type does not support the API call.
436
437**Solution**
438
4391. Check whether the ability name corresponding to the bundle name is correct.
4402. Call the supported APIs based on the ability type.
441
442## 16200001 Caller Released
443
444**Error Message**
445
446Caller released. The caller has been released.
447
448**Description**
449
450This error code is reported when the caller has been released.
451
452**Possible Causes**
453
454The caller has been released.
455
456**Solution**
457
458Register a valid caller again.
459
460## 16200002 Invalid Callee
461
462**Error Message**
463
464Callee Invalid. The callee does not exist.
465
466**Description**
467
468This error code is reported when the callee is invalid.
469
470**Possible Causes**
471
472The callee does not exist.
473
474**Solution**
475
476Use a valid callee.
477
478## 16200003 Release Failure
479
480**Error Message**
481
482Release error. The caller does not call any callee.
483
484**Description**
485
486This error code is reported when the release fails.
487
488**Possible Causes**
489
490The caller is not registered with a callee.
491
492**Solution**
493
494Check whether the caller has registered.
495
496## 16200004 Method Registered
497
498**Error Message**
499
500Method registered. The method has registered.
501
502**Description**
503
504THis error code is reported when the method has been registered.
505
506**Possible Causes**
507
508The method has been registered by the callee.
509
510**Solution**
511
512Check whether the method has been registered.
513
514## 16200005 Method Not Registered
515
516**Error Message**
517
518Method not registered. The method has not registered.
519
520**Description**
521
522This error code is reported when the method has not been registered.
523
524**Possible Causes**
525
526The method has not been registered by the callee.
527
528**Solution**
529
530Check whether the method has been registered.
531
532## 16300001 Nonexistent Mission
533
534**Error Message**
535
536Mission id error. The specified mission id does not exist.
537
538**Description**
539
540This error code is reported when the specified mission does not exist.
541
542**Possible Causes**
543
544The mission does not exist.
545
546**Solution**
547
548Check the mission ID.
549
550## 16300002 Nonexistent Mission Listener
551
552**Error Message**
553
554Input  error. The specified mission listener id does not exist.
555
556**Description**
557
558This error code is reported when the specified mission listener does not exist.
559
560**Possible Causes**
561
562The mission listener does not exist.
563
564**Solution**
565
566Check the mission listener ID.
567
568## 18500001 Invalid Bundle Name
569
570**Error Message**
571
572The specified bundleName is invalid.
573
574**Description**
575
576This error code is reported when the specified bundle name is invalid.
577
578**Possible Causes**
579
580The bundle does not exist or is not installed.
581
582**Solution**
583
584Check whether the bundle has been installed.
585
586## 18500002 Invalid Patch Package
587
588**Error Message**
589
590The specified hqf is invalid. Hqf may not exist or inaccessible.
591
592**Description**
593
594This error code is returned when the specified patch package is invalid.
595
596**Possible Causes**
597
598The patch package does not exist or is inaccessible.
599
600**Solution**
601
6021. Check whether the path of the patch package is valid.
6032. Check whether the application has the permission to access the patch package.
604
605## 18500003 Patch Deployment Failure
606
607**Error Message**
608
609Deploy hqf failed.
610
611**Description**
612
613This error code is reported when the patch package fails to be deployed.
614
615**Possible Causes**
616
6171. The **type** field in the **patch.json** file is set to a value other than **patch** or **hotreload**.
6182. The HAP corresponding to the bundle name is not installed.
6193. 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.
6204. If a patch package has been deployed, the **versionCode** of the new patch package is not later than that of the previous patch package.
6215. If the **type** field is set to **patch**, the signature information is different from that of the application.
6226. If the **type** field is set to **patch** and a debug version is to be installed, a **hotreload** patch is in use.
6237. If the **type** field is set to **hotreload** and a debug version is to be installed, a **patch** patch is in use. If the **type** field is set to **hotreload**, a release version is to be installed.
624
625**Solution**
626
627Check whether the patch package complies with the deployment rules.
628
629## 18500004 Patch Package Enablement Failure
630
631**Error Message**
632
633Switch hqf failed.
634
635**Description**
636
637This error code is reported when the patch package fails to be enabled.
638
639**Possible Causes**
640
641The patch package is in an incorect state.
642
643**Solution**
644
645Check the state of the patch package.
646
647## 18500005 Patch Package Deletion Failure
648
649**Error Message**
650
651Delete hqf failed.
652
653**Description**
654
655This error code is reported when the patch package fails to be deleted.
656
657**Possible Causes**
658
659The patch package is in an incorrect state.
660
661**Solution**
662
663Check the state of the patch package.
664
665## 18500006 Patch Installation Failure
666
667**Error Message**
668
669Load patch failed.
670
671**Description**
672
673This error code is reported when the patch fails to be installed.
674
675**Possible Causes**
676
677The Ark engine fails to install the patch.
678
679**Solution**
680
681Check whether the patch package is correct.
682
683## 18500007 Patch Uninstall Failure
684
685**Error Message**
686
687Unload patch failed.
688
689**Description**
690
691This error code is reported when when the Ark engine fails to uninstall the patch.
692
693**Possible Causes**
694
695The Ark engine fails to uninstall the patch.
696
697**Solution**
698
699Check whether the patch package is correct.
700
701## 18500008 Internal Error
702
703**Error Message**
704
705Internal error.
706
707**Description**
708
709This error code is returned when an error occurs during internal processing, such as memory application or multi-thread processing.
710
711**Possible Causes**
712
713Common kernel errors such as memory application and multi-thread processing errors occur.
714
715**Solution**
716
717Ensure sufficient system memory.
718