• 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## 16000017 Waiting for the Previous Abilities to Finish Startup
190
191**Error Message**
192
193The previous ability is starting, wait start later.
194
195**Description**
196
197Too 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.
198
199**Possible Causes**
200
201The system has a large number of concurrent requests.
202
203**Solution**
204
205No action is required. Wait for the previous abilities to finish startup.
206
207## 100001 Internal Error
208
209**Error Message**
210
211Internal Error.
212
213**Description**
214
215This error code is reported when an error occurs during internal processing, such as memory application or multi-thread processing.
216
217**Possible Causes**
218
219Common kernel errors such as memory application and multi-thread processing errors occur.
220
221**Solution**
222
223Ensure sufficient sytem memory.
224
225## 16000051 Network Error
226
227**Error Message**
228
229Network error. The network is abnormal.
230
231**Description**
232
233This error code is reported when the network is abnormal.
234
235**Possible Causes**
236
237The network is unavailable.
238
239**Solution**
240
241Try again later or reconnect to the network.
242
243## 16000052 Installation-Free Is Not Supported
244
245**Error Message**
246
247Free install not support. The applicaiotn dose not support free install.
248
249**Description**
250
251This error code is reported when the application does not support installation-free.
252
253**Possible Causes**
254
255The application package does not meet the installation-free requirements. For example, the package is too large.
256
257**Solution**
258
259Check whether the application supports installation-free.
260
261## 16000053 Ability Is Not on Top
262
263**Error Message**
264
265Not top ability. The application is not top ability.
266
267**Description**
268
269This error code is reported when the ability is not displayed on the top of the UI.
270
271**Possible Causes**
272
273The ability is not displayed on the top of the UI.
274
275**Solution**
276
277Ensure that the ability is displayed on the top of the UI.
278
279## 16000054 Installation-Free Busy
280
281**Error Message**
282
283Free install busyness. There are concurrent tasks, waiting for retry.
284
285**Description**
286
287This error code is reported when the installation-free service is busy.
288
289**Possible Causes**
290
291Another installation-free task is in progress.
292
293**Solution**
294
295Try again later.
296
297## 16000055 Installation-Free Timeout
298
299**Error Message**
300
301Free install timeout.
302
303**Description**
304
305This error code is reported when the installation-free task times out.
306
307**Possible Causes**
308
309Installation-free times out.
310
311**Solution**
312
313Try again later.
314
315## 16000056 Installation-Free Is Not Allowed for Other Applications
316
317**Error Message**
318
319Can not free install other ability.
320
321**Description**
322
323This error code is reported when users try to apply installation-free for other applications.
324
325**Possible Causes**
326
327Installation-free is allowed only for the current application.
328
329**Solution**
330
331Apply installation-free only for the current application.
332
333## 16000057 Cross-Device Installation-Free Is Not Supported
334
335**Error Message**
336
337Not support cross device free install.
338
339**Description**
340
341This error code is reported when users try to apply installation-free across devices.
342
343**Possible Causes**
344
345Cross-device installation-free is not supported.
346
347**Solution**
348
349Use installation-free on the same device.
350
351## 16000101 shell Command Failure
352
353**Error Message**
354
355execute shell command failed.
356
357**Description**
358
359This error code is reported when the command is not a valid shell command.
360
361**Possible Causes**
362
363The command is not a valid shell command.
364
365**Solution**
366
367Use a valid shell command.
368
369## 16000151 Invalid wantAgent Object
370
371**Error Message**
372
373Invalid wantagent object.
374
375**Description**
376
377This error code is reported when the **wantAgent** object passed in the API is invalid.
378
379**Possible Causes**
380
381The **wantAgent** object is invalid.
382
383**Solution**
384
385Pass a valid **wantAgent** object in the API.
386
387## 16000152 wantAgent Object Does Not Exist
388
389**Error Message**
390
391wantAgent object not found.
392
393**Description**
394
395This error code is reported when the **wantAgent** object passed in the API does not exist.
396
397**Possible Causes**
398
399The **wantAgent** object does not exist.
400
401**Solution**
402
403Pass a valid **wantAgent** object in the API.
404
405## 16000153 wangAgent Object Canceled
406
407**Error Message**
408
409wangAgent object canceled.
410
411**Description**
412
413This error code is reported when the **wangAgent** object passed in the API has been canceled.
414
415**Possible Causes**
416
417The **wantAgent** object has been canceled.
418
419**Solution**
420
421Pass a valid **wantAgent** object in the API.
422
423## 16100001 Ability of the Specified URI Does Not Exist
424
425**Error Message**
426
427Input error. The specified uri does not exist.
428
429**Description**
430
431This error code is reported when the ability with the specified URI does not exist.
432
433**Possible Causes**
434
435The ability to query does not exist.
436
437**Solution**
438
439Check the ability with the specified URI.
440
441## 16100002 Incorrect Ability Type
442
443**Error Message**
444
445Ability type error. The specified ability type is wrong.
446
447**Description**
448
449This error code is reported when the ability type invoked by the API is incorrect.
450
451**Possible Causes**
452
453The ability with the specified type does not support the API call.
454
455**Solution**
456
4571. Check whether the ability name corresponding to the bundle name is correct.
4582. Call the supported APIs based on the ability type.
459
460## 16200001 Caller Released
461
462**Error Message**
463
464Caller released. The caller has been released.
465
466**Description**
467
468This error code is reported when the caller has been released.
469
470**Possible Causes**
471
472The caller has been released.
473
474**Solution**
475
476Register a valid caller again.
477
478## 16200002 Invalid Callee
479
480**Error Message**
481
482Callee Invalid. The callee does not exist.
483
484**Description**
485
486This error code is reported when the callee is invalid.
487
488**Possible Causes**
489
490The callee does not exist.
491
492**Solution**
493
494Use a valid callee.
495
496## 16200003 Release Failure
497
498**Error Message**
499
500Release error. The caller does not call any callee.
501
502**Description**
503
504This error code is reported when the release fails.
505
506**Possible Causes**
507
508The caller is not registered with a callee.
509
510**Solution**
511
512Check whether the caller has registered.
513
514## 16200004 Method Registered
515
516**Error Message**
517
518Method registered. The method has registered.
519
520**Description**
521
522THis error code is reported when the method has been registered.
523
524**Possible Causes**
525
526The method has been registered by the callee.
527
528**Solution**
529
530Check whether the method has been registered.
531
532## 16200005 Method Not Registered
533
534**Error Message**
535
536Method not registered. The method has not registered.
537
538**Description**
539
540This error code is reported when the method has not been registered.
541
542**Possible Causes**
543
544The method has not been registered by the callee.
545
546**Solution**
547
548Check whether the method has been registered.
549
550## 16300001 Nonexistent Mission
551
552**Error Message**
553
554Mission id error. The specified mission id does not exist.
555
556**Description**
557
558This error code is reported when the specified mission does not exist.
559
560**Possible Causes**
561
562The mission does not exist.
563
564**Solution**
565
566Check the mission ID.
567
568## 16300002 Nonexistent Mission Listener
569
570**Error Message**
571
572Input  error. The specified mission listener id does not exist.
573
574**Description**
575
576This error code is reported when the specified mission listener does not exist.
577
578**Possible Causes**
579
580The mission listener does not exist.
581
582**Solution**
583
584Check the mission listener ID.
585
586## 18500001 Invalid Bundle Name
587
588**Error Message**
589
590The specified bundleName is invalid.
591
592**Description**
593
594This error code is reported when the specified bundle name is invalid.
595
596**Possible Causes**
597
598The bundle does not exist or is not installed.
599
600**Solution**
601
602Check whether the bundle has been installed.
603
604## 18500002 Invalid Patch Package
605
606**Error Message**
607
608The specified hqf is invalid. Hqf may not exist or inaccessible.
609
610**Description**
611
612This error code is returned when the specified patch package is invalid.
613
614**Possible Causes**
615
616The patch package does not exist or is inaccessible.
617
618**Solution**
619
6201. Check whether the path of the patch package is valid.
6212. Check whether the application has the permission to access the patch package.
622
623## 18500003 Patch Deployment Failure
624
625**Error Message**
626
627Deploy hqf failed.
628
629**Description**
630
631This error code is reported when the patch package fails to be deployed.
632
633**Possible Causes**
634
6351. The **type** field in the **patch.json** file is set to a value other than **patch** or **hotreload**.
6362. The HAP corresponding to the bundle name is not installed.
6373. 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.
6384. If a patch package has been deployed, the **versionCode** of the new patch package is not later than that of the previous patch package.
6395. If the **type** field is set to **patch**, the signature information is different from that of the application.
6406. If the **type** field is set to **patch** and a debug version is to be installed, a **hotreload** patch is in use.
6417. 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.
642
643**Solution**
644
645Check whether the patch package complies with the deployment rules.
646
647## 18500004 Patch Package Enablement Failure
648
649**Error Message**
650
651Switch hqf failed.
652
653**Description**
654
655This error code is reported when the patch package fails to be enabled.
656
657**Possible Causes**
658
659The patch package is in an incorect state.
660
661**Solution**
662
663Check the state of the patch package.
664
665## 18500005 Patch Package Deletion Failure
666
667**Error Message**
668
669Delete hqf failed.
670
671**Description**
672
673This error code is reported when the patch package fails to be deleted.
674
675**Possible Causes**
676
677The patch package is in an incorrect state.
678
679**Solution**
680
681Check the state of the patch package.
682
683## 18500006 Patch Installation Failure
684
685**Error Message**
686
687Load patch failed.
688
689**Description**
690
691This error code is reported when the patch fails to be installed.
692
693**Possible Causes**
694
695The Ark engine fails to install the patch.
696
697**Solution**
698
699Check whether the patch package is correct.
700
701## 18500007 Patch Uninstall Failure
702
703**Error Message**
704
705Unload patch failed.
706
707**Description**
708
709This error code is reported when when the Ark engine fails to uninstall the patch.
710
711**Possible Causes**
712
713The Ark engine fails to uninstall the patch.
714
715**Solution**
716
717Check whether the patch package is correct.
718
719## 18500008 Internal Error
720
721**Error Message**
722
723Internal error.
724
725**Description**
726
727This error code is reported when an error occurs during internal processing, such as memory application or multi-thread processing.
728
729**Possible Causes**
730
731Common kernel errors such as memory application and multi-thread processing errors occur.
732
733**Solution**
734
735Ensure sufficient system memory.
736