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