• 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/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
391. There are already 2000 reminders for the entire system.
402. There are already 30 reminders for the application.
41
42**Solution**
43
44Delete unnecessary reminders.
45
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