• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1# Time and Time Zone Service 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## -1 Screen Unlock Error
8
9**Error Message**
10
11The parameter check failed or permission denied or system error.
12
13**Description**
14
15This error code is reported when a parameter check failure, permission verification failure, or system operation error occurs.
16
17**Possible Cause**
18
19
201. The input parameter is invalid.
212. The required permission is not configured. For example, **ohos.permission.SET_TIME** is not configured for setting the time or **ohos.permission.SET_TIME_ZONE** is not configured for setting the time zone.
223. The system is not running properly due to a common kernel error, such as a memory allocation and multi-thread processing error.
23
24**Solution**
25
261.  Make sure input parameters are passed in as required.
272. Configure the **ohos.permission.SET_TIME** permission for setting the time and the **ohos.permission.SET_TIME_ZONE** permission for setting the time zone.
283.  Make sure the memory is sufficient.
29
30