DistributedNotificationService Error Codes
NOTE
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 internal error occurs, such as a memory allocation or multi-thread processing error.
Possible Causes
A common kernel error, such as a memory allocation or multi-thread processing error, occurs.
Solution
- Ensure sufficient system memory.
- Restart the system.
1600002 Data Processing or Interaction Error Between the Application and Notification Subsystem
Error Message
IPC Error.
Description
This error code is reported when a serialization or deserialization error occurs and the interaction with the notification subsystem fails.
Possible Causes
- A serialization and deserialization error occurs.
- The interaction with the notification subsystem fails.
Solution
- Make sure the input parameter value length is within the valid range.
- Make sure the input parameter value is valid.
- Make sure the notification subsystem has been started.
1600003 Failed to Connect to the Service
Error Message
Failed to connect to service.
Description
This error code is reported when the connection with the notification subsystem fails.
Possible Causes
The service is busy or the notification subsystem is not working correctly.
Solution
- Try again later.
- Make sure the notification subsystem is started.
1600004 Notification Is Disabled
Error Message
Notification is not enabled.
Description
This error code is reported when the notification feature is disabled.
Possible Causes
The notification feature is not enabled manually. By default, this feature is disabled.
Solution
Enable the notification feature.
1600005 Notification Slot Is Disabled
Error Message
Notification slot is not enabled.
Description
This error code is reported when the notification slot is disabled.
Possible Causes
The notification slot is disabled.
Solution
Make sure the application notification slot is enabled.
1600006 Unable to Remove the Notification
Error Message
Notification is not allowed to remove.
Description
This error code is reported when the notification removal does not comply with the permission settings.
Possible Causes
- When isUnremovable is set to true, notifications can only be removed on a one-by-one basis.
- When isRemoveAllowed is set to false, no notification can be removed.
Solution
- Check whether isUnremovable is set to true
- Check whether isRemoveAllowed is set to false.
1600007 Notification Not Found
Error Message
The notification is not exist.
Description
This error code is reported when the target notification is not found.
Possible Causes
- The notification has been deleted.
- The notification has been canceled.
Solution
- Make sure the notification exists.
1600008 User Not Found
Error Message
The user is not exist.
Description
This error code is reported when the target user is not found.
Possible Causes
- The user ID is incorrect.
- No user account has not been activated.
Solution
Make sure the user account with the specified ID has been activated.
1600009 Maximum Number of Notifications per Second Reached
Error Message
Over max number notifications per second.
Description
This error code is reported when the number of notifications sent per second has reached the maximum.
Possible Causes
More than 10 notifications are sent per second.
Solution
Reduce the number of notifications sent per second to 10 or less.
1600010 Distributed Processing Error
Error Message
Distributed operation failed.
Description
This error code is reported when a database processing error occurs or the database operations are too frequent.
Possible Causes
- A database processing error occurs.
- The database operations are too frequent.
Solution
- Make sure the distributed data is running properly.
- Reduce the database operation frequency.
1600011 Failed to read the Template Configuration File
Error Message
Read template config failed.
Description
This error code is reported when the template configuration file fails to be read.
Possible Causes
- The template configuration file is lost.
- The current template version is not supported.
Solution
- Check for the /system/etc/notification_template/external.json file.
- Update the system version to 3.2 or later.
17700001 Bundle Name Not Found
Error Message
The specified bundle name was not found.
Description
This error code is reported when the specified bund name is not found.
Possible Causes
- The bundle name is incorrect.
- The application is not installed.
Solution
-
Verify the bundle name.
-
Make sure the application has been installed.