This topic describes only module-specific error codes. For details about universal error codes, see Universal Error Codes.
Error Message
The operation on the system permission is denied.
Description
This error code is reported when the application does not have the permission of the corresponding field, such as the ohos.permission.sec.ACCESS_UDID permission.
Possible Causes
The application does not have the required permission, such as ohos.permission.sec.ACCESS_UDID.
Solution
Add the required permission to the configuration file, for example, {"name": "ohos.permission.sec.ACCESS_UDID"}. Different fields may require different permissions. For details, see @ohos.deviceInfo (Device Information).