harmony 鸿蒙User Preference Error Codes

  • 2022-12-05
  • 浏览 (663)

User Preference Error Codes

NOTE

This topic describes only module-specific error codes. For details about universal error codes, see Universal Error Codes.

15500010 Failed to Delete the User Preference Persistence File

Error Message

Failed to delete preferences file.

Description

The operation of deleting the user preference persistence file failed.

Possible Causes

The possible causes are as follows: 1. The file name is incorrect. 2. The file path is incorrect.

Solution

  1. Check that the file name is correct.
  2. Check that the file path is correct.

15500019 Failed to Obtain the Subscription Service

Error Message

Failed to obtain subscription service.

Description

Failed to obtain the subscription service in inter-process event subscription.

Possible Causes

The platform does not support service subscription.

Solution

Deploy the subscription service on the platform.

14801001 Stage Model Required

Error Message

Only supported in stage mode.

Description

This operation can be performed only on the stage model.

Possible Causes

The context is not a stage model.

Solution

Perform the operation on the stage model.

15501002 The dataGroupId parameter in Options is invalid.

Error Message

The data group id is not valid.

Description

The dataGroupId parameter is invalid.

Possible Causes

The dataGroupId is not obtained from the AppGallery.

Solution

Obtain dataGroupId from the AppGallery and pass it correctly.

你可能感兴趣的鸿蒙文章

harmony 鸿蒙Error Codes

harmony 鸿蒙Event Error Codes

harmony 鸿蒙DeviceUsageStatistics Error Codes

harmony 鸿蒙DistributedNotificationService Error Codes

harmony 鸿蒙Distributed Scheduler Error Codes

harmony 鸿蒙Ability Error Codes

harmony 鸿蒙Access Control Error Codes

harmony 鸿蒙Accessibility Error Codes

harmony 鸿蒙Account Management Error Codes

harmony 鸿蒙Animator Error Codes

0  赞