This topic describes only module-specific error codes. For details about universal error codes, see Universal Error Codes.
Error Message
Invalid Parameter. Error message: ${messageInfo}.
Possible Causes
Solution
Check and set input parameters correctly.
Error Message
TokenId does not exist.
Possible Causes
Solution
Check and set input parameters correctly.
Error Message
Permission does not exist.
Possible Causes
Solution
Check and set input parameters correctly. For details about the permissions, see Permissions for All Applications.
Error Message
The API is not used in pair with others.
Possible Causes
Solution
Error Message
The number of listeners exceeds the limit.
Possible Causes
The number of listeners exceeds 200.
Solution
Release unused listeners in a timely manner.
Error Message
The specified application does not support the permissions granted or ungranted as specified.
Possible Causes
Solution
Error Message
The service is abnormal.
Possible Causes
Solution
Try again later or restart the device.
Error Message
Out of memory.
Possible Causes
The system memory is insufficient.
Solution
Try again later or restart the device.
Error Message
Common inner error.
Possible Causes
An internal error occurs in the system service.
Solution
Analyze the fault log to identify the error.
Error Message
The request already exists.
Possible Causes
The last request has not been processed yet.
Solution
Wait until the last request is processed.
Error Message
All permissions in the permission list have been granted.
Possible Causes
All requested permissions have been granted.
Solution
No action is required. If this error code is returned, the permission has been granted and the permission settings dialog box will not be displayed.
Error Message
The permission list contains the permission that has not been revoked by the user.
Possible Causes
The requested permissions include the permissions that are not rejected by the user.
Solution
Call requestPermissionsFromUser to request permissions from the user first.
Error Message
The specific global switch is already open.
Possible Causes
The global switch is already turned on.
Solution
No action is required. If this error code is returned, the global switch has been enabled and the dialog box for setting the global switch will not be displayed.