This topic describes only module-specific error codes. For details about universal error codes, see Universal Error Codes.
Error Message
The application is not an administrator application of the device.
Description
This error code is reported when the caller is not an enabled device administrator application.
Possible Causes
The enterprise device management APIs can be called only by a device administrator application that has been enabled.
Solution
Check whether the caller is a device administrator application that is enabled.
Error Message
The administrator application does not have permission to manage the device.
Description
This error code is reported when the device administrator application does not have the permission to call the API.
Possible Causes
A device administrator application calls an API that is accessible only by a super administrator application.
Solution
Check that the device administrator type enabled for the caller is the same as that required by the API.
Error Message
The administrator ability component is invalid.
Description
This error code is reported when the specified device manager ability component is invalid.
Possible Causes
The specified administrator ability component is invalid due to any of the following causes:
Solution
Error Message
Failed to activate the administrator application of the device.
Description
This error code is reported when an application fails to be enabled as a device administrator application.
Possible Causes
The possible causes are as follows:
Solution
Error Message
Failed to deactivate the administrator application of the device.
Description
This error code is reported when the operation for disabling a device administrator application fails.
Possible Causes
The possible causes are as follows:
Solution
Error Message
The specified user ID is invalid.
Description
This error code is reported when the specified user ID does not exist or the specified user ID is different from the caller's user ID.
Possible Causes
The possible causes are as follows:
Solution
Error Message
The system ability works abnormally.
Description
This error code is reported when the enterprise device management ability is not working properly.
Possible Causes
The possible causes are as follows:
Solution
Try again later or restart the device.
Error Message
The specified system event is invalid.
Description
This error code is reported when the enterprise device management module does not support subscription to the specified event or the specified event is invalid.
Possible Causes
The enterprise device management module does not support subscription to the specified event or the specified event is invalid.
Solution
Check that the specified event is valid and supported by the enterprise device management module.
Error Message
Failed to grant the permission to the application.
Description
This error code is reported when the super device administrator application fails to grant administrator rights to other applications.
Possible Causes
The target application is not installed by the administrator.
Solution
Check that the target application has been installed by the administrator.
Error Message
A conflict policy has been configured.
Description
This error code is reported when a conflict policy is being delivered.
Possible Causes
A conflict policy is defined and to be delivered.
Solution
Resolve the conflict, and then deliver the policy.
Error Message
Failed to manage the certificate.
Description
This error code is reported when the super device administrator application fails to install or uninstall a user certificate.
Possible Causes
The user certificate is incorrect.
Solution
Check that the user certificate is correct.
Error Message
Failed to install the application.
Description
This error code is reported when a device administrator application fails to install an enterprise application.
Possible Causes
The possible causes are as follows:
Solution
Error Message
Failed to add an OS account.
Description
This error code is reported when an account fails to be added.
Possible Causes
The possible causes are as follows:
Solution
Error Message
The update packages do not exist or analyzing failed.
Description
This error code is reported when the enterprise device administrator application fails to notify the system of the package update.
Possible Causes
The possible causes are as follows:
Solution