This topic describes only module-specific error codes. For details about universal error codes, see Universal Error Codes.
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.
Cause
Common kernel errors such as multi-thread processing and internal processing errors occur.
Solution
Make sure the system resources are sufficient.
Error Message
Marshalling or unmarshalling error.
Description
This error code is reported when a marshalling or unmarshalling error occurs before data transmission.
Cause
A parameter mismatch is detected between the application and the notification service.
Solution
Make sure the application SDK version matches the system version.
Error Message
Failed to connect to the service.
Description
This error code is reported when the application fails to connect to the notification service.
Cause
The notification service is busy or abnormal.
Solution
Restart the system.
Error Message
Notification disabled.
Description
This error code is reported when notification is disabled.
Cause
The notification feature is not enabled for the application.
Solution
Enable notification for the application in the notification settings.
Error Message
Notification slot disabled.
Description
This error code is reported when the notification slot is not available.
Cause
The notification slot is disabled or has not been added.
Solution
Access the notification settings and check whether the application has the notification slot. If no, add it.
Make sure the notification slot is enabled.
Error Message
Notification deletion disabled.
Description
This error code is reported when notification deletion is disabled.
Cause
The notification attribute isUnremovable is set to true.
Solution
Enable notification deletion. For details, see NotificationRequest.
Error Message
The notification does not exist.
Description
This error code is reported when the notification service could not find the notification.
Cause
The notification has been canceled or deleted.
Solution
N/A
Error Message
The user does not exist.
Description
This error code is reported when the specified user is not found in the information system.
Cause
The user information passed is incorrect.
Solution
Verify the user information.
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.
Cause
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.
Error Message
Distributed operation failed.
Description
This error code is reported when an error occurs with the distributed database operation or distributed API invoking.
Cause
The distributed database could not be operated or the distributed API could not be invoked.
Solution
Verify the distributed connection.
Error Message
Failed to read the template configuration.
Description
This error code is reported when the attempt to read the template configuration file fails.
Cause
The template configuration file is lost in the system.
Solution
Check for the template configuration file: /system/etc/notification_template/external.json.
Error Message
No memory space.
Description
This error code is reported when a memory allocation error occurs.
Cause
A memory allocation error occurs.
Solution
Ensure sufficient system memory.
Error Message
A notification dialog box is already displayed.
Description
This error code is reported when the notification pop-up window is displayed.
Cause
The notification pop-up window is displayed.
Solution
Check whether the notification pop-up window is displayed.
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.
Cause
The current notification status does not support duplicate configurations.
Solution
Check whether the notification status is duplicately configured.
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.
Cause
The notification version for this update is outdated.
Solution
Check the notification version.
Error Message
There is no corresponding agent relationship configuration.
Description
This error code is reported when no proxy relationship is configured.
Cause
No corresponding proxy relationship is configured.
Solution
Check the proxy relationship configuration.
Error Message
Network unreachable.
Description
This error code is reported when the network cannot be accessed.
Cause
The network cannot be accessed.
Solution
Check the network status.
Error Message
The specified bundle name was not found.
Description
This error code is reported when the bundle name is incorrect or the application is not installed.
Cause
Solution