This topic describes only module-specific error codes. For details about universal error codes, see Universal Error Codes.
Error Message
The system ability work abnormally.
Possible Causes
System services are not working properly. The possible causes are as follows:
Solution
System services do not work properly. Try again later or restart the device.
Error Message
The application has not enabled the data protection under lock screen.
Possible Causes
Solution
Configure the ohos.permission.PROTECT_SCREEN_LOCK_DATA permission through requestpermissions to enable sensitive data access management on the lock screen.
Error Message
File access is denied.
Possible Causes
The permission to access sensitive data on the lock screen has been revoked.
Solution
Sensitive data cannot be accessed on the lock screen. If necessary, ask the user to unlock the screen again. The sensitive data can be used only after the screen is unlocked.
Error Message
File access was not acquired.
Possible Causes
The permission to access sensitive data on the lock screen is not requested.
Solution
Ensure that the permission to access sensitive data on the lock screen is requested before calling the API to revoke the permission.