errorcode-bundle.md 23.5 KB
Newer Older
1 2 3 4 5
# Bundle Error Codes

> **NOTE**
>
> This topic describes only module-specific error codes. For details about universal error codes, see [Universal Error Codes](errorcode-universal.md).
G
Gloria 已提交
6

7
## 17700001 Bundle Name Does Not Exist
G
Gloria 已提交
8 9

**Error Message**
G
Gloria 已提交
10

G
Gloria 已提交
11 12 13
The specified bundle name is not found.

**Description**
G
Gloria 已提交
14

15
When a query API is called, the bundle name passed in does not exist.
G
Gloria 已提交
16 17

**Possible Causes**
G
Gloria 已提交
18

G
Gloria 已提交
19
1. The bundle name is misspelled.
20
2. The corresponding bundle is not installed.
G
Gloria 已提交
21 22 23

**Solution**
1. Check whether the spelling of the bundle name is correct.
24
2. Check whether the corresponding bundle is installed.
G
Gloria 已提交
25

26
## 17700002 Module Name Does Not Exist
G
Gloria 已提交
27 28

**Error Message**
G
Gloria 已提交
29

G
Gloria 已提交
30 31 32
The specified module name is not found.

**Description**
G
Gloria 已提交
33

34
When a query API or an installation-free API is called, the module name passed in does not exist.
G
Gloria 已提交
35 36 37

**Possible Causes**
1. The module name is misspelled.
38
2. The module is not installed.
G
Gloria 已提交
39 40 41

**Solution**
1. Check whether the spelling of the module name is correct.
42
2. Check whether the module is installed.
G
Gloria 已提交
43

44
## 17700003 Ability Name Does Not Exist
G
Gloria 已提交
45 46

**Error Message**
G
Gloria 已提交
47

G
Gloria 已提交
48 49 50
The specified ability name is not found.

**Description**
G
Gloria 已提交
51

52
When a query API is called, the ability name passed in does not exist.
G
Gloria 已提交
53 54 55

**Possible Causes**
1. The ability name is misspelled.
G
Gloria 已提交
56
2. The application does not have the ability specified by **abilityName**.
G
Gloria 已提交
57 58 59

**Solution**
1. Check whether the spelling of the ability name is correct.
G
Gloria 已提交
60
2. Check whether the application has the ability specified by **abilityName**.
G
Gloria 已提交
61

62
## 17700004 User ID Does Not Exist
G
Gloria 已提交
63 64

**Error Message**
G
Gloria 已提交
65

66
The specified user ID is not found.
G
Gloria 已提交
67 68

**Description**
G
Gloria 已提交
69

70
When a user-related API is called, the user ID passed in does not exist.
G
Gloria 已提交
71 72

**Possible Causes**
G
Gloria 已提交
73 74
1. Incorrect username.
2. The user does not exist in the system.
G
Gloria 已提交
75 76 77 78 79

**Solution**
1. Check whether the user ID is correct.
2. Check whether the user exists.

G
Gloria 已提交
80
## 17700005 appId Is an Empty String
G
Gloria 已提交
81 82

**Error Message**
G
Gloria 已提交
83

G
Gloria 已提交
84
The specified app ID is empty string.
G
Gloria 已提交
85 86

**Description**
G
Gloria 已提交
87

88
When an API of the **appControl** module is called, the application ID passed in does not exist.
G
Gloria 已提交
89 90

**Possible Causes**
G
Gloria 已提交
91

G
Gloria 已提交
92 93 94
**appId** is an empty string.

**Solution**
G
Gloria 已提交
95

G
Gloria 已提交
96 97
Check whether **appId** is an empty string.

98
## 17700006 Permission Does Not Exist
G
Gloria 已提交
99 100

**Error Message**
G
Gloria 已提交
101

G
Gloria 已提交
102 103 104
The specified permission is not found.

**Description**
G
Gloria 已提交
105

106
When the **getPermissionDef** API of the **bundleManager** module is called, the permission passed in does not exist.
G
Gloria 已提交
107 108 109 110 111 112 113 114 115 116 117 118

**Possible Causes**
1. The permission name is misspelled.
2. The permission does not exist.

**Solution**
1. Check whether the spelling of the permission name is correct.
2. Check whether the permission exists.

## 17700007 Incorrect Device ID

**Error Message**
G
Gloria 已提交
119

120
The specified device ID is not found.
G
Gloria 已提交
121 122

**Description**
G
Gloria 已提交
123

124
When an API of the **distributedBundle** module is called, the device ID passed in does not exist.
G
Gloria 已提交
125 126 127 128 129 130 131 132 133

**Possible Causes**
1. The device ID is incorrect.
2. The device ID does not exist.

**Solution**
1. Check whether the device ID is correct.
2. Check whether the device ID exists.

134
## 17700010 Bundle Installation Failure Due to File Parsing Failure
G
Gloria 已提交
135 136

**Error Message**
G
Gloria 已提交
137

138
Failed to install the HAP because the HAP fails to be parsed.
G
Gloria 已提交
139 140

**Description**
G
Gloria 已提交
141

142
When the **install** API of the **installer** module is called, the HAP passed in fails to be parsed.
G
Gloria 已提交
143 144 145 146 147 148 149 150

**Possible Causes**
1. The HAP is not in ZIP format.
2. The configuration file in the HAP is not in JSON format.
3. Necessary fields are missing in the configuration file.

**Solution**
1. Check whether the HAP is in ZIP format.
G
Gloria 已提交
151
2. Check whether the configuration file is in [JSON format](../../quick-start/application-configuration-file-overview-stage.md).
G
Gloria 已提交
152 153
3. Check whether an error message is displayed when DevEco Studio compiles the HAP. If necessary fields are missing, an error message will be displayed.

154
## 17700011 Bundle Installation Failure Due to Signature Verification Failure
G
Gloria 已提交
155 156

**Error Message**
G
Gloria 已提交
157

158
Failed to install the HAP because the HAP signature fails to be verified.
G
Gloria 已提交
159 160

**Description**
G
Gloria 已提交
161

162
Calling the **install** API of the **installer** module to install the bundle fails due to signature verification failure.
G
Gloria 已提交
163 164 165 166 167 168 169 170 171 172

**Possible Causes**

1. The HAP is not signed.
2. The source of the HAP signature information is unreliable.
3. The signature information of the HAP used for an upgrade is different from that of the installed HAP.
4. The signature information of multiple HAPs is inconsistent.

**Solution**
1. Check whether the HAP is signed.
G
Gloria 已提交
173
2. Ensure that the signing certificate of the HAP is applied for from the application market.
G
Gloria 已提交
174 175
3. Check whether the same certificate is used for signing multiple HAPs.
4. Check whether the certificate used for signing the upgrade HAP is the same as the certificate used for signing the installed HAP.
G
Gloria 已提交
176

177
## 17700012 Bundle Installation Failure Due to Invalid File Path or Too Large File
G
Gloria 已提交
178 179

**Error Message**
G
Gloria 已提交
180

181
Failed to install the HAP because the HAP path is invalid or the HAP is too large.
G
Gloria 已提交
182 183

**Description**
G
Gloria 已提交
184

185
Calling the **install** API of the **installer** module to install the bundle fails because the HAP path is invalid or the HAP is too large.
G
Gloria 已提交
186 187 188 189 190 191 192 193 194 195 196

**Possible Causes**
1. The path of the HAP does not exist.
2. The path of the HAP is inaccessible.
3. The size of the HAP exceeds the upper limit 4 GB.

**Solution**
1. Check whether the HAP path exists.
2. Check whether the HAP is read only or executable.
3. Check whether the size of the HAP exceeds 4 GB.

G
Gloria 已提交
197
## 17700015 Bundle Installation Failure Due to Different Configuration Information of Multiple HAPs
G
Gloria 已提交
198 199

**Error Message**
G
Gloria 已提交
200

201
Failed to install the HAPs because they have different configuration information.
G
Gloria 已提交
202 203

**Description**
G
Gloria 已提交
204

205
Calling the **install** API of the **installer** module to install the bundle fails because the HAPs have different configuration information.
G
Gloria 已提交
206 207

**Possible Causes**
G
Gloria 已提交
208

G
Gloria 已提交
209 210 211
The fields under **app** in the configuration files of these HAPs are inconsistent.

**Solution**
G
Gloria 已提交
212

G
Gloria 已提交
213 214
Check whether the fields under **app** are the same.

215
## 17700016 Bundle Installation Failure Due to Insufficient System Disk Space
G
Gloria 已提交
216 217

**Error Message**
G
Gloria 已提交
218

219
Failed to install the HAP because of insufficient system disk space.
G
Gloria 已提交
220 221

**Description**
G
Gloria 已提交
222

223
Calling the **install** API of the **installer** module to install the bundle fails due to insufficient system disk space.
G
Gloria 已提交
224 225

**Possible Causes**
G
Gloria 已提交
226

G
Gloria 已提交
227 228 229
The system disk space is insufficient.

**Solution**
G
Gloria 已提交
230

G
Gloria 已提交
231 232
Check whether the system has sufficient disk space.

233
## 17700017 Bundle Installation Failure Because the Version to Install is Too Earlier
G
Gloria 已提交
234 235

**Error Message**
G
Gloria 已提交
236

237
Failed to install the HAP since the version of the HAP to install is too early.
G
Gloria 已提交
238 239

**Description**
G
Gloria 已提交
240

241
Calling the **install** API of the **installer** module to install the bundle fails because the version to install is earlier than the version in use.
G
Gloria 已提交
242 243

**Possible Causes**
G
Gloria 已提交
244

G
Gloria 已提交
245 246 247
The version number is earlier than the version in use.

**Solution**
G
Gloria 已提交
248

G
Gloria 已提交
249
Ensure that the version of the bundle to install is not earlier than the version in use.
G
Gloria 已提交
250

G
Gloria 已提交
251 252 253 254 255 256 257 258 259 260 261 262 263 264 265 266 267 268
## 17700018 Bundle Installation Failure Because the Dependent Module Does Not Exist

**Error Message**

Failed to install because the dependent module does not exist.

**Description**

The dependent module does not exist during the HAP or HPS installation.

**Possible Causes**

The dependent module is not installed.

**Solution**

Install the dependent modules first.

G
Gloria 已提交
269 270 271
## 17700020 Failure to Uninstall Preinstalled Applications

**Error Message**
G
Gloria 已提交
272

G
Gloria 已提交
273 274 275
The preinstalled app cannot be uninstalled.

**Description**
G
Gloria 已提交
276

277
Calling the **uninstall** API of the **installer** module to uninstall a preinstalled application fails.
G
Gloria 已提交
278 279

**Possible Causes**
G
Gloria 已提交
280

G
Gloria 已提交
281 282 283 284 285 286 287 288 289 290
1. You might want to uninstall a non-preinstalled application but passed the bundle name of a preinstalled app.
2. The preinstalled application cannot be uninstalled.

**Solution**
1. Check whether the bundle name is correct.
1. Check whether the preinstalled application can be uninstalled.

## 17700021 Invalid UID

**Error Message**
G
Gloria 已提交
291

G
Gloria 已提交
292 293 294
The specified uid is invalid.

**Description**
G
Gloria 已提交
295

296
When the **getBundleNameByUid** API of the **bundleManager** module is called, the UID passed in is invalid.
G
Gloria 已提交
297 298 299 300 301 302 303 304 305 306 307 308

**Possible Causes**
1. The UID is misspelled.
2. The UID does not exist.

**Solution**
1. Check whether the UID is correct.
2. Check whether the UID exists.

## 17700022 Invalid Source File

**Error Message**
G
Gloria 已提交
309

G
Gloria 已提交
310 311 312
The input source file is invalid.

**Description**
G
Gloria 已提交
313

314
When the **getBundleArchiveInfo** API of the **bundleManager** module is called, the HAP path passed in is invalid.
G
Gloria 已提交
315 316 317 318 319 320 321 322 323

**Possible Causes**
1. The source file to be parsed does not exist.
2. The source file to be parsed is not in ZIP format.

**Solution**
1. Check whether the source file to be parsed exists.
2. Check whether the source file to be parsed is in ZIP format.

324
## 17700023 Default Application Does Not Exist
G
Gloria 已提交
325 326

**Error Message**
G
Gloria 已提交
327

G
Gloria 已提交
328 329 330
The specified default app does not exist.

**Description**
G
Gloria 已提交
331

332
When the **getDefaultApplication** API of the **defaultAppManager** module is called, the specified default application does not exist.
G
Gloria 已提交
333 334

**Possible Causes**
G
Gloria 已提交
335

G
Gloria 已提交
336 337 338
No default application is set for the device.

**Solution**
G
Gloria 已提交
339

G
Gloria 已提交
340 341
Check whether the default application is set on the device.

342
## 17700024 Configuration File Does Not Exist
G
Gloria 已提交
343 344

**Error Message**
G
Gloria 已提交
345

346
Failed to get the profile because there is no profile in the HAP.
G
Gloria 已提交
347 348

**Description**
G
Gloria 已提交
349

350
When an API for querying the profile is called, the configuration file does not exist 
G
Gloria 已提交
351 352

**Possible Causes**
G
Gloria 已提交
353

G
Gloria 已提交
354 355 356 357 358 359 360 361 362 363
1. The metadata name passed in the API does not exist in the configuration file.
2. The content of the configuration file is not in JSON format.

**Solution**
1. Check whether the metadata name in the **ability** or **extensionAbility** to be queried exists.
2. Check whether the content of the profile to be queried is in JSON format.

## 17700025 Invalid Type

**Error Message**
G
Gloria 已提交
364

G
Gloria 已提交
365 366 367
The specified type is invalid.

**Description**
G
Gloria 已提交
368

369
When an API of the **defaultAppManager** module is called, the type passed in is invalid.
G
Gloria 已提交
370 371 372 373 374 375

**Possible Causes**
1. The type passed in the API is misspelled.
2. The type passed in the API does not exist.

**Solution**
G
Gloria 已提交
376 377
1. Check whether the spelling of type is correct.
2. Enter a type that exists.
G
Gloria 已提交
378

379
## 17700026 Bundle Disabled
G
Gloria 已提交
380 381

**Error Message**
G
Gloria 已提交
382

G
Gloria 已提交
383 384 385
The specified bundle is disabled.

**Description**
G
Gloria 已提交
386

387
When an API for querying bundle information is called, the specified bundle is disabled.
G
Gloria 已提交
388 389

**Possible Causes**
G
Gloria 已提交
390

391
The bundle on the device has been disabled and cannot be queried.
G
Gloria 已提交
392 393

**Solution**
G
Gloria 已提交
394

395
Check whether the bundle on the device is disabled.
G
Gloria 已提交
396

397
## 17700027 Distributed Service Is Not Started
G
Gloria 已提交
398 399

**Error Message**
G
Gloria 已提交
400

G
Gloria 已提交
401 402 403
The distributed service is not running.

**Description**
G
Gloria 已提交
404

405
When an API of the **distributedBundle** module is called, the distributed service is not started.
G
Gloria 已提交
406 407

**Possible Causes**
G
Gloria 已提交
408

G
Gloria 已提交
409 410 411
The device is not networked.

**Solution**
G
Gloria 已提交
412

G
Gloria 已提交
413
Check whether the device is networked.
G
Gloria 已提交
414

G
Gloria 已提交
415 416 417
## 17700028 Mismatch Between Ability and Type

**Error Message**
G
Gloria 已提交
418

G
Gloria 已提交
419 420 421
The ability does not match the type.

**Description**
G
Gloria 已提交
422

423
When the **setDefaultApplication** API of the **defaultAppManager** module is called, the **ability** and **type** passed in do not match.
G
Gloria 已提交
424 425

**Possible Causes**
G
Gloria 已提交
426

G
Gloria 已提交
427 428 429
The ability and type are misspelled.

**Solution**
G
Gloria 已提交
430

G
Gloria 已提交
431 432 433 434 435
Check whether the spellings of ability and type are correct.

## 17700029 Disabled Ability

**Error Message**
G
Gloria 已提交
436

G
Gloria 已提交
437 438 439
The specified ability is disabled.

**Description**
G
Gloria 已提交
440

441
When an API for querying ability information is called, the specified ability is disabled.
G
Gloria 已提交
442 443

**Possible Causes**
G
Gloria 已提交
444

G
Gloria 已提交
445 446 447
The specified ability is disabled.

**Solution**
G
Gloria 已提交
448

449
Check whether the ability is disabled. You can run the [bm commands](../../../readme/bundle-management.md#bm-commands) to query the information.
G
Gloria 已提交
450 451 452 453

## 17700030 Failure in Clearing Cache Files

**Error Message**
G
Gloria 已提交
454

455
The specified bundle does not support clearing of cache files.
G
Gloria 已提交
456 457

**Description**
G
Gloria 已提交
458

459
When the **cleanBundleCacheFiles** API of the **bundleManager** module is called, the specified bundle does not support cache file clearing.
G
Gloria 已提交
460 461

**Possible Causes**
G
Gloria 已提交
462

G
Gloria 已提交
463 464 465 466
The application is a system application and the **AllowAppDataNotCleared** field is configured in the signing certificate.

**Solution**
1. Check whether the application is a system application. You can run the [bm commands](../../../readme/bundle-management.md#bm-commands) to query the application information and check whether the value of **isSystemApp** is **true**.
G
Gloria 已提交
467
2. Check whether the **AllowAppDataNotCleared** field is configured for the application. You can run the [bm commands](../../../readme/bundle-management.md#bm-commands) to query the application information and check whether the value of **userDataClearable** is **true**.
G
Gloria 已提交
468

G
Gloria 已提交
469 470 471 472 473 474 475 476 477 478 479 480 481 482 483 484 485 486 487 488 489 490
## 17700031 HAP Installation Fails Due to Overlay Feature Verification Failure

**Error Message**

Failed to install the HAP because the overlay check of the HAP is failed.

**Description**

The target application and the to-be-installed application with the overlay feature are not preset applications, or the target application or target module is one with the overlay feature.

**Possible Causes**
1. To use the overlay feature between applications, the following conditions must be met:<br>The application with the overlay feature must be a preset application.
2. The target application must be a preset application.
3. The target application cannot be an application with the overlay feature.
4. The target module cannot be a module with the overlay feature.

**Solution**
1. Ensure that the application with the overlay feature is a preset application.
2. Ensure that the target application is a preset application.
3. Ensure that the target application is not an application with the overlay feature.
4. Ensure that the target module is not a module with the overlay feature.

G
Gloria 已提交
491 492 493 494 495 496 497 498 499 500 501 502 503 504 505 506 507 508 509 510 511 512
## 17700032 Application Does Not Contain a Module with the Overlay Feature

**Error Message**

The specified bundle does not contain any overlay module.

**Description**

An API is called to obtain the **overlayModuleInfo** object of another application, but that application does not contain a module with the overlay feature.

**Possible Causes**

The specified application does not contain a module with the overlay feature.

**Solution**

Check whether the application contains a module with the overlay feature.

## 17700033 Module Is Not Configured with the Overlay Feature

**Error Message**

513
The specified module is not an overlay module.
G
Gloria 已提交
514 515 516 517 518 519 520 521 522 523 524 525 526 527 528 529 530

**Description**

An API is called to obtain the **overlayModuleInfo** object of a module, but the module is not configured with the overlay feature.

**Possible Causes**

The specified module is not a module with the overlay feature.

**Solution**

Check whether the module is configured with the overlay feature.

## 17700034 Module Is Configured with the Overlay Feature

**Error Message**

531
The specified module is an overlay module.
G
Gloria 已提交
532 533 534 535 536 537 538 539 540 541 542 543 544 545 546 547 548

**Description**

An API is called to obtain the **overlayModuleInfo** object based on the target module name, but that module is configured with the overlay feature.

**Possible Causes**

The specified module is configured with the overlay feature.

**Solution**

Check whether the specified module is configured with the overlay feature.

## 17700035 Application Contains Only Modules with the Overlay Feature

**Error Message**

549
The specified bundle is an overlay bundle.
G
Gloria 已提交
550 551 552 553 554 555 556 557 558 559 560 561 562 563 564 565 566

**Description**

An API is called to obtain the **overlayModuleInfo** object based on the target module name of another application, but that application contains only modules with the overlay feature.

**Possible Causes**

The specified application contains only modules with the overlay feature.

**Solution**

Check whether the application contains only modules with the overlay feature.

## 17700036 Failure in Installing the Shared Library Because of No AllowAppShareLibrary Privilege

**Error Message**

567
Failed to install the HSP because lacks appropriate permissions.
G
Gloria 已提交
568 569 570 571 572 573 574 575 576 577 578 579 580 581 582 583 584 585 586 587 588

**Description**

The shared library is not configured with the **AllowAppShareLibrary** privilege, resulting in security and privacy risks. As a result, the installation fails.

**Possible Causes**

The shared library does not request the **AllowAppShareLibrary** privilege before being released.

**Solution**

Configure the **AllowAppShareLibrary** privilege for the shared library, re-sign the library, and release it.

## 17700037 Failure in Uninstalling the Shared Library Due to Dependency

**Error Message**

The version of shared bundle is dependent on other applications.

**Description**

589
Other applications depend on the shared library, causing the uninstall to fail.
G
Gloria 已提交
590 591

**Possible Causes**
592 593
1. The version specified during the uninstall is the latest version of the shared library, and the shared library is depended on by other applications.
2. No version is not specified during the uninstall, meaning that all versions of the shared library will be uninstalled, and the shared library is depended on by other applications.
G
Gloria 已提交
594 595 596 597 598 599 600 601 602 603

**Solution**
1. Check whether the shared library to uninstall is depended on by other applications.
2. Check whether the version of the shared library to uninstall is the latest version of the shared library.

## 17700038 Shared Library to Uninstall Does Not Exist

**Error Message**

The specified shared bundle does not exist.
G
Gloria 已提交
604

G
Gloria 已提交
605 606 607 608 609
**Description**

The shared library to uninstall does not exist.

**Possible Causes**
610
1. The version specified during the uninstall is different from the version of the shared library installed.
G
Gloria 已提交
611 612 613 614 615
2. The shared library to uninstall is not installed.

**Solution**
1. Check whether the shared library exists.
2. Check whether the version of the shared library is the same as that installed.
616 617 618 619 620 621 622 623 624 625 626 627 628 629 630 631 632 633 634 635 636 637 638 639 640 641 642 643 644 645 646 647 648 649 650 651

## 17700039 Failure in Installing an Inter-Application Shared Library

**Error Message**

Failed to install because disallow install a shared bundle by hapFilePaths.

**Description**

During application installation, the installation package passed in is of the inter-application shared library type.

**Possible Causes**
1. When the Bundle Manager tool is used to install an application, the **-p** parameter is set to the installation package path of an inter-application shared library.
2. When the **install** API is called to install an application, the **hapFilePaths** parameter is set to the installation package path of an inter-application shared library.

**Solution**
1. Use the **-s** parameter to specify the installation package path of an inter-application shared library.
2. Use the **sharedBundleDirPaths** parameter in **installParam** to specify the installation package path of an inter-application shared library.

## 17700040 Failure in Uninstalling an Inter-Application Shared Library

**Error Message**

The specified bundle is a shared bundle which cannot be uninstalled.

**Description**

During application uninstall, the bundle name of an inter-application shared library is passed in.

**Possible Causes**
1. When the Bundle Manager tool is used to uninstall an application, the **-n** parameter is set to the bundle name of an inter-application shared library.
2. When the **install** API is called to uninstall an application, the **bundleName** parameter is set to the bundle name of an inter-application shared library.

**Solution**
1. Use the **-s** parameter to specify the application to be uninstalled as a shared library application.
2. Use the **bundleName** and **versionCode** parameters in **UninstallParam** to specify the bundle name and version of the shared library to be uninstalled.
652 653 654 655 656 657 658 659 660 661 662 663 664 665 666 667 668 669 670 671 672 673 674 675 676 677 678 679 680 681 682 683 684 685 686 687 688 689 690 691 692 693 694 695 696 697 698 699 700 701 702 703 704 705 706 707 708 709 710 711 712 713 714 715 716 717 718 719 720 721

## 17700041 Application Installation Is Not Allowed by Enterprise Device Management

**Error Message**

Failed to install because enterprise device management disallow install.

**Description**

The installation of this application is prohibited by enterprise device management.

**Possible Causes**

The enterprise device management does not allow the installation of this application.

**Solution**

Check whether the application installation is prohibited by the enterprise device management.

## 17700042 Incorrect URI in the Data Proxy

**Error Message**

Failed to install the HAP because of incorrect URI in the data proxy.

**Description**

During application installation, the URI of the data proxy is incorrectly configured.

**Possible Causes**

1. The bundle name in the URI is different from that of the current application.
2. The URI is duplicate.

**Solution**

1. Change the bundle name in the URI to that of the current application.
2. Change duplicate URIs. Ensure that the URI of each data proxy is unique.

## 17700043 Incorrect Permission Configuration in the Data Proxy

**Error Message**

Failed to install the HAP because of low APL in the non-system data proxy (required APL: system_basic or system_core).

**Description**

During application installation, the permission level of the data proxy of a non-system application is too low. The permission level should be **system_basic** or **system_core**.

**Possible Causes**

1. No permission is configured for the data proxy of a non-system application.
1. The permission level of the data proxy of a non-system application is too low.

**Solution**

1. Configure the read and write permissions in the data proxy.
2. Change the read and write permissions in the data proxy and ensure that the permission level is **system_basic** or **system_core**.

## 17700044 Field isolationMode in the HAP Conflicts with the Device Isolation Mode

**Error Message**

Failed to install the HAP because the isolationMode configured is not supported.

**Description**

During application installation, the value of **isolationMode** in the HAP conflicts with the isolation mode of the device.

**Possible Causes**
722 723
1. The device supports the isolation mode (the value of **persist.bms.supportIsolationMode** is **true**), whereas the value of **isolationMode** in the HAP is **nonisolationOnly**.
2. The device does not support the isolation mode (the value of **persist.bms.supportIsolationMode** is **false**), whereas the value of **isolationMode** in the HAP is **isolationOnly**.
724 725 726 727 728 729 730 731 732 733 734 735 736 737 738 739 740 741 742 743 744 745 746 747 748 749 750 751 752 753 754 755 756 757 758 759 760 761 762 763 764 765

**Solution**

Set the **isolationMode** field in the HAP based on the isolation mode of the device.

## 17700045 Application Uninstall Is Not Allowed by Enterprise Device Management

**Error Message**

Failed to uninstall because enterprise device management disallow uninstall.

**Description**

The uninstall of this application is prohibited by enterprise device management.

**Possible Causes**

The enterprise device management does not allow the uninstall of this application.

**Solution**

Check whether the application uninstall is prohibited by the enterprise device management.

## 17700047 Application Version To Be Updated Is Not Later Than the Current Version

**Error Message**

Failed to install the HAP because the VersionCode to be updated is not greater than the current VersionCode.

**Description**

The version of the application to be updated is not later than the current version.

**Possible Causes**

1. The version number of the application to be updated is earlier than or equal to that of the current version number.
2. When **installFlag** is set to **NORMAL**, the version number of the application to be updated must be later than the installed version number.

**Solution**

1. Set the version number of the application to be later than the current version number.
2. If you want to update the application without changing the version number, set **installFlag** to **REPLACE_EXISTING**.
766 767 768 769 770 771 772 773 774 775 776 777 778 779 780 781 782 783 784 785 786

## 17700048 Code Signature Verification Failure
**Error Message**

Failed to install the HAP because the code signature verification is failed.

**Description**

During application installation, the code signature file of the installation package fails to be verified.

**Possible Causes**

1. The module corresponding to the code signature file does not exist in the installation package.
2. The path of the code signature file is invalid.
3. The code signature file does not match the installation package.

**Solution**

1. Ensure that the module corresponding to the code signature file is contained in the installation package.
2. Provide a valid path of the code signature file.
3. Use the code signature file that matches the installation package.