目录

Notification Error Codes

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

1600001 Internal Error

Error Message

Internal error.

Description

This error code is reported when an error occurs during internal processing, such as multi-thread processing or internal pointer checks.

Possible Causes

Common kernel errors such as multi-thread processing and internal processing errors occur.

Solution

Make sure the system resources are sufficient.

1600002 Marshalling or Unmarshalling Error

Error Message

Marshalling or unmarshalling error.

Description

This error code is reported when a marshalling or unmarshalling error occurs before data transmission.

Possible Causes

A parameter mismatch is detected between the application and the notification service.

Solution

Make sure the application SDK version matches the system version.

1600003 Failed to Connect to the Notification Service

Error Message

Failed to connect to the service.

Description

This error code is reported when the application fails to connect to the notification service.

Possible Causes

The notification service is busy or abnormal.

Solution

Wait for a while and try again, or check the running status of the notification service and restart it if necessary.

1600004 Notification Disabled

Error Message

Notification disabled.

Description

This error code is reported when notification is disabled.

Possible Causes

The notification switch is not enabled for the application.

Solution

Enable the application notification switch in notification settings.

1600005 Notification Slot Disabled

Error Message

Notification slot disabled.

Description

When the notification slot is disabled, the method returns this error code.

Possible Causes

The notification slot is disabled or has not been added.

Solution

  1. In notification settings, check whether the application has a slot of this type. If not, add one.

  2. In notification settings, check the status of the notification slot of this type for the application and keep it enabled.

1600007 Notification Not Found

Error Message

The notification does not exist.

Description

This error code is reported when the notification service could not find the notification.

Possible Causes

The notification has been canceled or deleted.

Solution

None.

1600008 User Not Found

Error Message

The user does not exist.

Description

This error code is reported when the specified user is not found in the information system.

Possible Causes

The user information passed is incorrect.

Solution

Verify that the user information passed in is correct.

1600009 Notification Sending Limit Reached

Error Message

The notification sending frequency reaches the upper limit.

Description

This error code is reported when the notification sending frequency reaches the upper limit.

Possible Causes

More than 10 notifications are sent per second, or more than 20 notifications are updated per second.

Solution

Reduce the notification sending frequency to no more than 10 per second.

1600010 Distributed Operation Failed

Error Message

Distributed operation failed.

Description

This error code is reported when an error occurs with the distributed database operation or distributed API invoking.

Possible Causes

The distributed database could not be operated or the distributed API could not be invoked.

Solution

Verify the distributed connection.

1600012 Insufficient Memory Space

Error Message

No memory space.

Description

This error code is returned if a memory allocation error occurs due to insufficient memory space.

Possible Causes

  1. The memory space is insufficient.

  2. A memory allocation error occurs.

Solution

Ensure sufficient system memory.

1600013 Notification Pop-up Window Displayed

Error Message

A notification dialog box is already displayed.

Description

This error code is reported when the notification dialog box is displayed.

Possible Causes

The notification dialog box is displayed.

Solution

Check whether the notification dialog box is displayed.

1600015 Duplicate Configurations not Allowed for the Current Notification Status

Error Message

The current notification status does not support duplicate configurations.

Description

This error code is reported when the current notification status does not support duplicate configurations.

Possible Causes

The current notification status does not support duplicate configurations.

Solution

Check whether the notification status is duplicately configured.

1600016 Updated Notification Version Outdated

Error Message

The notification version for this update is too low.

Description

This error code is reported when the notification version for this update is outdated.

Possible Causes

The notification version for this update is outdated.

Solution

Check the notification version.

1600018 Notification Settings Page Already Displayed

Error Message

The notification settings window is already displayed.

Description

If the notification settings page has already been launched, the method returns this error code.

Possible Causes

The notification settings page has been displayed.

Solution

Check whether the notification settings page is displayed.

1600020 Applications in the Permission Control List Is Not Allowed to Publish Notifications

Error Message

The application is not allowed to send notifications due to permission settings.

Description

This error code is reported when an application under the permission control list publishes a notification.

Possible Causes

The application is restricted by the enterprise-customized devices.

Solution

The application is under permission control of Enterprise Device Manager and it cannot exit the permission control list automatically.

1600023 NotificationSubscriberExtensionAbility Not Implemented

Error Message

The application does not implement the NotificationSubscriberExtensionAbility.

Description

This error code is returned when the application does not implement NotificationSubscriberExtensionAbility.

Possible Causes

The NotificationSubscriberExtensionAbility is not set or is incorrectly set for the application.

Solution

Create a NotificationSubscriberExtensionAbility for the application. For details about how to configure the extension ability, see NotificationSubscriberExtensionAbility in ExtensionAbility Component.

1600029 Failed to Find the ExtensionAbility for the Custom Extension Area of the Live View Widget

Error Message

The system failed to find the ExtensionAbility instance for the custom Live View widget template.

Description

When the application publishes a third-party live view notification, the system fails to find the ExtensionAbility instance for the custom extension area, and the API returns this error code.

Possible Causes

The application does not configure or incorrectly configures the ExtensionAbility for the custom extension area of the live view widget.

Solution

Check whether the application correctly configures the ExtensionAbility for the custom extension area of the live view widget.