d78a6cde创建于 2025年10月16日历史提交

User Preference Error Codes

NOTE

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

15500000 Internal Error

Error Message

Inner error.

Description

An internal error occurred.

Possible Causes

View the error log to determine the cause of the error. Possible causes include the following:

  1. The internal state is abnormal.
  2. There is an API that is incorrectly used.
  3. A system error, such as insufficient memory, I/O error, or JS engine exception, occurs.

Solution

  1. Check whether a closed object is reused.
  2. Check whether the APIs are correctly used.
  3. If the problem persists, ask the user to restart or update the application or upgrade the device version.

15500010 Failed to Delete the User Preference Persistence File

Error Message

Failed to delete the user preferences persistence 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 the 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.

15501001 Stage Model Required

Error Message

The operation is supported in stage mode only.

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 Invalid dataGroupId Parameter in Options

Error Message

Invalid dataGroupId.

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.