• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1# DistributedNotificationService 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## 1600001 Internal Error
8
9**Error Message**
10
11Internal Error.
12
13**Description**
14
15This error code is reported when an internal processing error occurs, such as a memory allocation or multi-thread processing error.
16
17**Possible Causes**
18
191. Common kernel errors such as memory allocation and multi-thread processing errors occur.
20
21**Solution**
22
231. Ensure sufficient system memory.
242. Restart the system.
25
26## 1600002 Data Processing or Interaction Error Between the Application and Notification Subsystem
27
28**Error Message**
29
30IPC Error.
31
32**Description**
33
34This error code is reported when a serialization or deserialization error occurs and the interaction with the notification subsystem fails.
35
36**Possible Causes**
37
381. A serialization and deserialization error occurs.
392. The interaction with the notification subsystem fails.
40
41**Solution**
42
431. Make sure the input parameter value is within the valid range.
442. Make sure the notification subsystem is not being started.
45
46## 1600003 Failed to Connect to the Service
47
48**Error Message**
49
50Failed to connect to service.
51
52**Description**
53
54This error code is reported when the notification subsystem is abnormal due to a service connection failure.
55
56**Possible Causes**
57
58The service is busy or the notification subsystem is not working correctly.
59
60**Solution**
61
621. Try again later.
632. Make sure the notification subsystem is started.
64
65## 1600004 Notification Is Disabled
66
67**Error Message**
68
69Notification is not enabled.
70
71**Description**
72
73This error code is reported when the notification function is disabled.
74
75**Possible Causes**
76
77The notification function is set to its default state (default) or manually disabled.
78
79**Solution**
80
81Enable the notification function.
82
83## 1600005 Notification Slot Is Disabled
84
85**Error Message**
86
87Notification slot is not enabled.
88
89**Description**
90
91This error code is reported when the notification slot is disabled.
92
93**Possible Causes**
94
95The notification slot is disabled.
96
97**Solution**
98
99Make sure the application notification slot is enabled.
100
101## 1600006 Unable to Remove the Notification
102
103**Error Message**
104
105Notification is not allowed to remove.
106
107**Description**
108
109This error code is reported when **isUnremoveable** is set to **true** and an attempt is made to remove all notifications or when **isRemoveAllowed** is set to **false** and an attempt is made to remove a specific notification.
110
111**Possible Causes**
112
1131. When **isUnremoveable** is set to **true**, notifications can only be removed on a one-by-one basis.
1142. When **isRemoveAllowed** is set to **false**, no notification can be deleted.
115
116**Solution**
117
1181. Check whether **unremovable** is set to **true**.
1192. Check whether **isRemoveAllowed** is set to **false**.
120
121## 1600007 Notification Not Found
122
123**Error Message**
124
125The notification is not exist.
126
127**Description**
128
129This error code is reported when the target notification is not found.
130
131**Possible Causes**
132
1331. The notification has been deleted.
1342. The notification has been canceled.
135
136**Solution**
137
138Make sure the notification exists.
139
140## 1600008 User Not Found
141
142**Error Message**
143
144The user is not exist.
145
146**Description**
147
148This error code is reported when the target user is not found.
149
150**Possible Causes**
151
1521. The user ID is incorrect.
1532. No user account has not been activated.
154
155**Solution**
156
157Make sure the user account with the specified ID has been activated.
158
159## 1600009 Maximum Number of Notifications per Second Reached
160
161**Error Message**
162
163Over max number notifications per second.
164
165**Description**
166
167This error code is reported when the number of notifications sent per second has reached the maximum.
168
169**Possible Causes**
170
171More than 10 notifications are sent per second.
172
173**Solution**
174
175Reduce the number of notifications sent per second to 10 or less.
176
177## 1600010 Distributed Processing Error
178
179**Error Message**
180
181Distributed operation failed.
182
183**Description**
184
185This error code is reported when a database processing error occurs or the database operations are too frequent.
186
187**Possible Causes**
188
1891. A database processing error occurs.
1902. The database operations are too frequent.
191
192**Solution**
193
1941. Make sure the distributed data is running properly.
1952. Reduce the database operation frequency.
196
197## 1600011 Failed to read the Template Configuration File
198
199**Error Message**
200
201Read template config failed.
202
203**Description**
204
205This error code is reported when the template configuration file fails to be read.
206
207**Possible Causes**
208
2091. The template configuration file is lost.
2102. The current template version is not supported.
211
212**Solution**
213
2141. Check for the **/system/etc/notification_template/external.json** file.
2152. Update the version to 3.2 or later.
216
217## 17700001 Bundle Name Not Found
218
219**Error Message**
220
221The specified bundle name was not found.
222
223**Description**
224
225This error code is reported when the specified bund name is not found.
226
227**Possible Causes**
228
2291. The bundle name is incorrect.
2302. The application is not installed.
231
232**Solution**
233
2341. Verify the bundle name.
2352. Make sure the application has been installed.
236