• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1# Distributed Scheduler 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## 16600001 The system ability works abnormally.
8
9**Error Message**
10
11The system ability works abnormally.
12
13**Description**
14
15This error code is reported when the system ability is abnormal.
16
17**Possible Causes**
18
19The possible causes are as follows:
201. The DMS service is not started.
212. The **binder** object of DMS is not obtained.
223. Other services on which ability continuation depends are not started or the **binder** object is not obtained.
23
24**Solution**
25
26Try again later or restart the device.
27
28## 16600002 The specified token or callback is not registered.
29
30**Description**
31
32This error code is reported if the token or callback used in an API of **continuationManager** is not registered when the API is called.
33
34**Error Message**
35
36The specified token or callback is not registered.
37
38**Possible Causes**
39
40The specified token or callback is not registered.
41
42**Solution**
43
44Register the token or callback before calling the API.
45
46## 16600003 The number of token registration times has reached the upper limit.
47
48**Description**
49
50This error code is reported when the number of times that the **continuationManager.registerContinuation** API is called has reached the upper limit.
51
52**Error Message**
53
54The number of token registration times has reached the upper limit.
55
56**Possible Causes**
57
58The number of token registration times has reached the upper limit.
59
60**Solution**
61
62Use a registered token. Do not register the token too frequently.
63
64## 16600004 The specified callback has been registered.
65
66**Description**
67
68This error code is reported when the **continuationManager.on** API is called with a callback the same as a previous one.
69
70**Error Message**
71
72The specified callback has been registered.
73
74**Possible Causes**
75
76The same callback is used for repeated registration.
77
78**Solution**
79
80Use a different callback for registration.
81
82## 16300501 The system ability works abnormally.
83
84**Description**
85
86This error code is reported when the system ability is abnormal.
87
88**Error Message**
89
90The system ability works abnormally.
91
92**Possible Causes**
93
94The possible causes are as follows:
951. The DMS service is not started.
962. The **binder** object of DMS is not obtained.
973. Other services on which ability continuation depends are not started or the **binder** object is not obtained.
98
99**Solution**
100
101Try again later or restart the device.
102
103## 16300502 Failed to get the missionInfo of the specified missionId.
104
105**Description**
106
107This error code is reported when calling the **distributedMissionManager.continueMission** API fails.
108
109**Error Message**
110
111Failed to get the missionInfo of the specified missionId.
112
113**Possible Causes**
114
115The possible causes are as follows:
1161. An incorrect mission ID is passed in.
1172. The mission information corresponding to the mission ID does not exist.
118
119**Solution**
120
121Verify the mission ID.
122
123## 16300503 The application is not installed on the remote end and installation-free is not supported.
124
125**Description**
126
127This error code is reported if the application is not installed on the remote end and the installation-free feature is not supported when the **distributedMissionManager.continueMission** API is called.
128
129**Error Message**
130
131The application is not installed on the remote end and installation-free is not supported.
132
133**Possible Causes**
134
135The application to continue is not installed on the remote end, and the installation-free feature is not supported.
136
137**Solution**
138
1391. Check whether the application has been installed on the remote end.
1402. Check whether the remote end supports installation-free.
141
142## 16300504 The application is not installed on the remote end and installation-free is supported. Try again with the freeInstall flag.
143
144**Description**
145
146This error code is reported if the application is not installed on the remote end and installation-free is supported when the **distributedMissionManager.continueMission** API is called.
147
148**Error Message**
149
150The application is not installed on the remote end and installation-free is supported. Try again with the freeInstall flag.
151
152**Possible Causes**
153
154The application to continue is not installed on the remote end, and installation-free is supported. However, the **freeInstall** flag is not carried.
155
156**Solution**
157
158Try again with the **freeInstall** flag.
159
160## 16300505 The operation device must be the device where the application to be continued is currently located or the target device.
161
162**Description**
163
164This error code is reported if the operation device is not the device where the application to be continued is currently located (source device) or the target device when the **distributedMissionManager.continueMission** API is called.
165
166**Error Message**
167
168The operation device must be the device where the application to be continued is currently located or the target device.
169
170**Possible Causes**
171
172The operation device is not the source or target device.
173
174**Solution**
175
176Use the source or target device for the operation.
177
178## 16300506 The local continuation task is already in progress.
179
180**Description**
181
182This error code is reported if the local continuation task is in progress when the **distributedMissionManager.continueMission** API is called.
183
184**Error Message**
185
186The local continuation task is already in progress.
187
188**Possible Causes**
189
190The continuation task has been initiated and is not complete yet.
191
192**Solution**
193
194Wait until the continuation task is complete.
195
196## 16300507 Failed to get the missionInfo of the specified bundleName.
197
198**Description**
199
200This error code is reported when calling the **distributedMissionManager.continueMission** API with **bundleName** specified fails.
201
202**Error Message**
203
204Failed to get the missionInfo of the specified bundle name.
205
206**Possible Causes**
207
208The possible causes are as follows:
2091. An incorrect bundle name is passed in.
2102. The mission information corresponding to the bundle name does not exist.
211
212**Solution**
213
214Verify the bundle name.
215
216## 3 Failed to flatten the object.
217
218**Description**
219
220This error code is reported if the system parameter **DMS_PROXY_INTERFACE_TOKEN** fails flattening when an API of **continuationManager** is called.
221
222**Error Message**
223
224Failed to flatten the object.
225
226**Possible Causes**
227
228The system parameter **DMS_PROXY_INTERFACE_TOKEN** fails to be written in serialization.
229
230**Solution**
231
232Make sure the system functions properly. Restart the system when needed.
233
234## 7 The object is null.
235
236**Error Message**
237
238The object is null.
239
240**Description**
241
242This error code is reported if DMS and other objects are empty or reading in serialization fails when an API of **continuationManager** is called.
243
244**Possible Causes**
245
246The possible causes are as follows:
2471. Reading the input parameters in serialization fails.
2482. The DMS service is not started or the **binder** object is not obtained.
2493. Other services on which DMS depends are not started or the **binder** object is not obtained.
250
251**Solution**
252
2531. Check whether the input parameters are valid.
2542. Check whether the DMS service is started normally. Restart the service or device when needed.
2553. Check whether other services on which DMS depends are started normally. Restart the services or device when needed.
256
257## 29360207 The number of registrations has reached the upper limit.
258
259**Description**
260
261This error code is reported when the number of times that the **continuationManager.register** API is called exceeds the upper limit.
262
263**Error Message**
264
265The number of registrations has reached the upper limit.
266
267**Possible Causes**
268
269The number of device registration times has reached the upper limit.
270
271**Solution**
272
273Restart the service and avoid frequent registration.
274
275## 29360208 The token is not registered.
276
277**Description**
278
279This error code is reported when an API of **continuationManager** is called with an unregistered token.
280
281**Error Message**
282
283The token is not registered.
284
285**Possible Causes**
286
287The token is not registered.
288
289**Solution**
290
291Register a token and use it in the API.
292
293## 29360209 The callback has been registered.
294
295**Description**
296
297This error code is reported when the **continuationManager.on** API is called with a callback the same as a previous one.
298
299**Error Message**
300
301The callback has been registered.
302
303**Possible Causes**
304
305The specified callback has been registered.
306
307**Solution**
308
309Do not use the same callback for repeated registration.
310
311## 29360210 The callback is not registered.
312
313**Description**
314
315This error code is reported when the **off**, **updateConnectStatus**, or **startDeviceManager** API of **continuationManager** is called with a callback that has been not registered by calling **on**.
316
317**Error Message**
318
319The callback is not registered.
320
321**Possible Causes**
322
323The specified callback is not registered.
324
325**Solution**
326
327Register a callback and use it in the API.
328
329## 29360211 Failed to connect to the ability.
330
331**Description**
332
333This error code is reported if connection to the specified ability fails when the **startDeviceManager** API of **continuationManager** is called.
334
335**Error Message**
336
337Failed to connect to the ability.
338
339**Possible Causes**
340
341The specified token is invalid or the target ability is not working properly.
342
343**Solution**
344
345Check whether the token is valid and whether the corresponding ability is normal. Restart the service or device when needed.
346
347## 29360214 The type of callback is not supported.
348
349**Description**
350
351This error code is reported when the **callback** parameter in the **on** or **off** API of **continuationManager** is set to an incorrect type.
352
353**Error Message**
354
355The type of callback is not supported.
356
357**Possible Causes**
358
359The callback type is not supported.
360
361**Solution**
362
363Pass a supported type for the **callback** parameter.
364
365## 29360215 Invalid connection state.
366
367**Description**
368
369This error code is reported when the **status** parameter in the **updateConnectStatus** API of **continuationManager** is invalid.
370
371**Error Message**
372
373Invalid connection state.
374
375**Possible Causes**
376
377The **status** parameter is invalid.
378
379**Solution**
380
381Use a valid value for the **status** parameter.
382
383## 29360216 Invalid continuation mode.
384
385**Error Message**
386
387Invalid continuation mode.
388
389**Description**
390
391This error code is reported when the **ContinuationExtraParams.continuationMode** parameter in the **register** or **startDeviceManager** API of **continuationManager** is invalid.
392
393**Possible Causes**
394
395The **ContinuationExtraParams.continuationMode** parameter is invalid.
396
397**Solution**
398
399Use a valid value for the **ContinuationExtraParams.continuationMode** parameter.
400