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 the notification to be enabled.
- The notification feature is not enabled for the application.
Solution
- Use notificationManager.requestEnableNotification to request the notification to be enabled.
- Enable notification for the application in the notification settings.
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
- Since API version 10, the number of reminders generated for the application exceeds 30 (for a regular application) or 10,000 (for a system application). In API version 9 and earlier versions, the number of reminders for a single application exceeds 30.
- Since API version 10, the total number of reminders for all applications exceeds 12,000. For API version 9 and earlier versions, the total number of reminders exceeds 2,000.
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.
1700007 Invalid Parameter
Error Message
If the input parameter is not valid parameter.
Description
The input parameter is invalid.
Possible Causes
The parameter does not comply with the rules.
Solution
Make sure all the mandatory parameters are passed in and the parameter types are valid. If parameter verification fails, read the parameter specifications and locate the fault based on the possible causes.