reminderAgentManager Error Codes
NOTE
This topic describes only module-specific error codes. For details about universal error codes, see Universal Error Codes.
1700001 Notification Disabled
Error Message
Notification is not enabled.
Description
The application is not allowed to send notifications when publishReminder() is called.
Possible Causes
- The application has not requested notification to be enabled.
- The reminder function is disabled.
Solution
- Call Notification.requestEnableNotification to request notification to be enabled for the application.
- Check whether the notification function is disabled.
1700002 Too Many Reminders
Error Message
The number of reminders exceeds the limit.
Description
The number of reminders exceeds the limit when publishReminder() is called.
Possible Causes
- There are already 2000 reminders for the entire system.
- There are already 30 reminders for the application.
Solution
Delete unnecessary reminders.
1700003 Nonexistent Reminder
Error Message
The reminder does not exist.
Description
The reminder passed in cancelReminder() does not exist.
Possible Causes
- The reminder has expired.
- The reminder has been deleted.
Solution
- Check whether the reminder is valid.
- Check whether the reminder has been deleted.
1700004 Nonexistent Bundle Name
Error Message
The bundle name does not exist.
Description
The bundle name passed is not found.
Possible Causes
- The bundle name is incorrect.
- The application is not installed.
Solution
Check whether the bundle name exists.