• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1# Notification Error Codes
2<!--Kit: Notification Kit-->
3<!--Subsystem: Notification-->
4<!--Owner: @michael_woo888-->
5<!--Designer: @dongqingran; @wulong158-->
6<!--Tester: @wanghong1997-->
7<!--Adviser: @huipeizi-->
8
9> **NOTE**
10>
11> This topic describes only module-specific error codes. For details about universal error codes, see [Universal Error Codes](../errorcode-universal.md).
12
13## 1600001 Internal Error
14
15**Error Message**
16
17Internal error.
18
19**Description**
20
21This error code is reported when an error occurs during internal processing, such as multi-thread processing or internal pointer checks.
22
23**Possible Causes**
24
25Common kernel errors such as multi-thread processing and internal processing errors occur.
26
27**Solution**
28
29Make sure the system resources are sufficient.
30
31## 1600002 Marshalling or Unmarshalling Error
32
33**Error Message**
34
35Marshalling or unmarshalling error.
36
37**Description**
38
39This error code is reported when a marshalling or unmarshalling error occurs before data transmission.
40
41**Possible Causes**
42
43A parameter mismatch is detected between the application and the notification service.
44
45**Solution**
46
47Make sure the application SDK version matches the system version.
48
49## 1600003 Failed to Connect to the Notification Service
50
51**Error Message**
52
53Failed to connect to the service.
54
55**Description**
56
57This error code is reported when the application fails to connect to the notification service.
58
59**Possible Causes**
60
61The notification service is busy or abnormal.
62
63**Solution**
64
65Restart the system.
66
67## 1600004 Notification Disabled
68
69**Error Message**
70
71Notification disabled.
72
73**Description**
74
75This error code is reported when notification is disabled.
76
77**Possible Causes**
78
79The notification feature is not enabled for the application.
80
81**Solution**
82
83Enable notification for the application in the notification settings.
84
85## 1600005 Notification Slot Disabled
86
87**Error Message**
88
89Notification slot disabled.
90
91**Description**
92
93This error code is reported when the notification slot is not available.
94
95**Possible Causes**
96
97The notification slot is disabled or has not been added.
98
99**Solution**
100
1011. Access the notification settings and check whether the application has the notification slot. If no, add it.
102
1032. Make sure the notification slot is enabled.
104
105## 1600006 Notification Deletion Failed
106
107**Error Message**
108
109Notification deletion disabled.
110
111**Description**
112
113This error code is reported when notification deletion is disabled.
114
115**Possible Causes**
116
117The notification attribute **isUnremovable** is set to true.
118
119**Solution**
120
121Enable notification deletion. For details, see [NotificationRequest](./js-apis-inner-notification-notificationRequest.md).
122
123## 1600007 Notification Not Found
124
125**Error Message**
126
127The notification does not exist.
128
129**Description**
130
131This error code is reported when the notification service could not find the notification.
132
133**Possible Causes**
134
135The notification has been canceled or deleted.
136
137**Solution**
138
139None.
140
141## 1600008 User Not Found
142
143**Error Message**
144
145The user does not exist.
146
147**Description**
148
149This error code is reported when the specified user is not found in the information system.
150
151**Possible Causes**
152
153The user information passed is incorrect.
154
155**Solution**
156
157Verify the user information.
158
159## 1600009 Notification Sending Limit Reached
160
161**Error Message**
162
163The notification sending frequency reaches the upper limit.
164
165**Description**
166
167This error code is reported when the notification sending frequency reaches the upper limit.
168
169**Possible Causes**
170
171More than 10 notifications are sent per second, or more than 20 notifications are updated per second.
172
173**Solution**
174
175Reduce the notification sending frequency to no more than 10 per second.
176
177## 1600010 Distributed Operation Failed
178
179**Error Message**
180
181Distributed operation failed.
182
183**Description**
184
185This error code is reported when an error occurs with the distributed database operation or distributed API invoking.
186
187**Possible Causes**
188
189The distributed database could not be operated or the distributed API could not be invoked.
190
191**Solution**
192
193Verify the distributed connection.
194
195## 1600011 Failed to Read Template Configuration
196
197**Error Message**
198
199Failed to read the template configuration.
200
201**Description**
202
203This error code is reported when the attempt to read the template configuration file fails.
204
205**Possible Causes**
206
207The template configuration file is lost in the system.
208
209**Solution**
210
211Check for the template configuration file: /system/etc/notification_template/external.json.
212
213## 1600012 Insufficient Memory Space
214
215**Error Message**
216
217No memory space.
218
219**Description**
220
221This error code is reported when a memory allocation error occurs.
222
223**Possible Causes**
224
225A memory allocation error occurs.
226
227**Solution**
228
229Ensure sufficient system memory.
230
231## 1600013 Notification Pop-up Window Displayed
232
233**Error Message**
234
235A notification dialog box is already displayed.
236
237**Description**
238
239This error code is reported when the notification pop-up window is displayed.
240
241**Possible Causes**
242
243The notification pop-up window is displayed.
244
245**Solution**
246
247Check whether the notification pop-up window is displayed.
248
249
250## 1600014 No Related Permission
251
252**Error Message**
253
254No permission.
255
256**Description**
257
258This error code is reported when you do not have the related permission.
259
260**Possible Causes**
261
262You do not have the related permission.
263
264**Solution**
265
266Check whether you have the related permission.
267
268## 1600015 Duplicate Configurations not Allowed for the Current Notification Status
269
270**Error Message**
271
272The current notification status does not support duplicate configurations.
273
274**Description**
275
276This error code is reported when the current notification status does not support duplicate configurations.
277
278**Possible Causes**
279
280The current notification status does not support duplicate configurations.
281
282**Solution**
283
284Check whether the notification status is duplicately configured.
285
286## 1600016 Updated Notification Version Outdated
287
288**Error Message**
289
290The notification version for this update is too low.
291
292**Description**
293
294This error code is reported when the notification version for this update is outdated.
295
296**Possible Causes**
297
298The notification version for this update is outdated.
299
300**Solution**
301
302Check the notification version.
303
304## 1600017 No Configured Proxy Relationship
305
306**Error Message**
307
308There is no corresponding agent relationship configuration.
309
310**Description**
311
312This error code is reported when no proxy relationship is configured.
313
314**Possible Causes**
315
316No corresponding proxy relationship is configured.
317
318**Solution**
319
320Check the proxy relationship configuration.
321
322## 1600018 Notification Settings Page Already Displayed
323
324**Error Message**
325
326The notification settings window is already displayed.
327
328**Description**
329
330This error code is reported when the notification settings page has been displayed.
331
332**Possible Causes**
333
334The notification settings page has been displayed.
335
336**Solution**
337
338Check whether the notification settings page is displayed.
339
340## 1600019 No Configuration Information for a Do Not Disturb Profile
341
342**Error Message**
343
344The do-not-disturb profile does not exist.
345
346**Description**
347
348This error code is reported when the configuration information corresponding to the Do Not Disturb profile ID does not exist.
349
350**Possible Causes**
351
352No configuration information corresponding to the Do Not Disturb profile ID exists.
353
354**Solution**
355
356Check whether the queried Do Not Disturb profile ID is correct.
357
358## 1600020 Applications in the Permission Control List Is Not Allowed to Publish Notifications
359
360**Error Message**
361
362The application is not allowed to send notifications due to permission settings.
363
364**Description**
365
366This error code is reported when an application under the permission control list publishes a notification.
367
368**Possible Causes**
369
370The application is restricted by the enterprise-customized devices.
371
372**Solution**
373
374The application is under permission control of [Enterprise Device Manager](../../mdm/mdm-kit-intro.md) and it cannot exit the permission control list automatically.
375
376## 1600021 Cross-Device Communication Timeout
377
378**Error Message**
379
380Distributed operation timed out.
381
382**Description**
383
384This error code is reported when the cross-device collaboration APIs (for example, redirection or quick reply) of notification is called but the communication times out.
385
386**Possible Causes**
387
388Device connection error.
389
390**Solution**
391
392Make sure that devices (for example, mobile phone and the watch) are properly connected.
393