workScheduler Error Codes
NOTE
This topic describes only module-specific error codes. For details about universal error codes, see Universal Error Codes.
9700001 Memory Operation Failure
Error Message
Memory operation failed.
Description
This error code is reported when a memory operation fails.
Possible Causes
- A memory leak occurs.
- The system memory is insufficient.
Solution
- Release the memory.
- Check whether memory leak occurs.
9700002 Parcel Operation Failure
Error Message
Parcel operation failed.
Description
This error code is reported when parcel data fails to be read or written during IPC.
Possible Causes
An exception occurs when invoking the MessageParcel object to read or write an object.
Solution
Try again later or restart the device.
9700003 System Service Failure
Error Message
System service operation failed.
Description
This error code is reported when the client process fails to obtain the system service.
Possible Causes
- The system service is not started.
- The system service is abnormal.
Solution
Try again later or restart the device.
9700004 workInfo Verification Failure
Error Message
Check workInfo failed.
Description
This error code is reported when the workInfo parameter is abnormal.
Possible Causes
- The value of bundleName in workInfo does not match the UID of the application.
- The Work Scheduler task to cancel or query does not exist.
Solution
Check the workInfo parameters.
9700005 startWork Call Failure
Error Message
StartWork failed.
Description
This error code is reported when the request for a deferred task fails.
Possible Causes
- The Work Scheduler task already exists.
- The application has already requested 10 Work Scheduler tasks.
- The repeat interval of a Work Scheduler task must be at least 20 minutes.
Solution
Check the input parameters and application code.