• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1# reminderAgentManager Error Codes
2
3> **NOTE**
4>
5> This topic describes only module-specific error codes. For details about universal error codes, see [Universal Error Codes](../errorcode-universal.md).
6
7## 1700001 Notification Disabled
8
9**Error Message**
10
11Notification is not enabled.
12
13**Description**
14
15The application is not allowed to send notifications when **publishReminder()** is called.
16
17**Possible Causes**
18
191. The application has not requested notification to be enabled.
202. The reminder function is disabled.
21
22**Solution**
23
241. Call [Notification.requestEnableNotification](../apis-notification-kit/js-apis-notification.md#notificationrequestenablenotification8) to request notification to be enabled for the application.
252. Check whether the notification function is disabled.
26
27## 1700002 Too Many Reminders
28
29**Error Message**
30
31The number of reminders exceeds the limit.
32
33**Description**
34
35The number of reminders exceeds the limit when **publishReminder()** is called.
36
37**Possible Causes**
38<!--RP1-->
391. In API version 10 or later, the number of reminders generated for the application exceeds 30 (for a common application) or 10,000 (for a system application). In API version 9 or earlier, the number of reminders generated for the application exceeds 30.
402. In API version 10 or later, the total number of reminders generated for all applications exceeds 12,000. In API version 9 or earlier, the total number of reminders generated for all applications exceeds 2,000.
41
42**Solution**
43
44Delete unnecessary reminders.
45<!--RP1End-->
46## 1700003 Nonexistent Reminder
47
48**Error Message**
49
50The reminder does not exist.
51
52**Description**
53
54The reminder passed in **cancelReminder()** does not exist.
55
56**Possible Causes**
57
581. The reminder has expired.
592. The reminder has been deleted.
60
61**Solution**
62
631. Check whether the reminder is valid.
642. Check whether the reminder has been deleted.
65
66## 1700004 Nonexistent Bundle Name
67
68**Error Message**
69
70The bundle name does not exist.
71
72**Description**
73
74The bundle name passed is not found.
75
76**Possible Causes**
77
781. The bundle name is incorrect.
792. The application is not installed.
80
81**Solution**
82
83Check whether the bundle name exists.
84
85## 1700007 Invalid Parameter
86
87**Error Message**
88
89If the input parameter is not valid parameter.
90
91**Description**
92
93The input parameter is invalid.
94
95**Possible Causes**
96
97The parameter does not comply with the rules.
98
99**Solution**
100
101Make 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.
102