• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1# workScheduler 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## 9700001 Memory Operation Failure
8
9**Error Message**
10
11Memory operation failed.
12
13**Description**
14
15This error code is reported when a memory operation fails.
16
17**Possible Causes**
18
191. A memory leak occurs.
202. The system memory is insufficient.
21
22**Solution**
23
241. Release the memory.
252. Check whether memory leak occurs.
26
27## 9700002 Parcel Operation Failure
28
29**Error Message**
30
31Failed to write data into parcel. Possible reasons: 1. Invalid parameters; 2. Failed to apply for memory.
32
33**Description**
34
35This error code is reported when parcel data fails to be read or written during IPC.
36
37**Possible Causes**
38
391. The data object fails to be read or written during IPC.
402. The memory fails to be allocated for the read or write operation.
41
42**Solution**
43
44Try again later or restart the device.
45
46## 9700003 System Service Failure
47
48**Error Message**
49
50System service operation failed.
51
52**Description**
53
54This error code is reported when the client process fails to obtain the system service.
55
56**Possible Causes**
57
581. The system service is not started.
592. The system service is abnormal.
60
61**Solution**
62
63Try again later or restart the device.
64
65## 9700004 workInfo Verification Failure
66
67**Error Message**
68
69Check on workInfo failed.
70
71**Description**
72
73This error code is reported when the **workInfo** parameter is abnormal.
74
75**Possible Causes**
76
771. The value of **bundleName** in **workInfo** does not match the UID of the application.
782. The Work Scheduler task to cancel or query does not exist.
79
80**Solution**
81
82Check the **workInfo** parameters.
83
84## 9700005 startWork Call Failure
85
86**Error Message**
87
88Calling startWork failed.
89
90**Description**
91
92This error code is reported when the request for a deferred task fails.
93
94**Possible Causes**
95
961. The Work Scheduler task already exists.
972. The application has already requested 10 Work Scheduler tasks.
983. The repeat interval of a Work Scheduler task must be at least 20 minutes.
99
100**Solution**
101
102Check the input parameters and application code.
103