1# Enterprise Device Management 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## 9200001 DeviceAdmin Not Enabled 8 9**Error Message** 10 11The application is not an administrator application of the device. 12 13**Description** 14 15This error code is reported when the caller is not an enabled device administrator application. 16 17**Possible Causes** 18 19The enterprise device management APIs can be called only by a device administrator application that has been enabled. 20 21**Solution** 22 23Check whether the caller is a device administrator application that is enabled. 24 25## 9200002 Permission Denied 26 27**Error Message** 28 29The administrator application does not have permission to manage the device. 30 31**Description** 32 33This error code is reported when the device administrator application does not have the permission to call the API. 34 35**Possible Causes** 36 37A device administrator application calls an API that is accessible only by a super administrator application. 38 39**Solution** 40 41Check that the device administrator type enabled for the caller is the same as that required by the API. 42 43## 9200003 Invalid Administrator Ability Component 44 45**Error Message** 46 47The administrator ability component is invalid. 48 49**Description** 50 51This error code is reported when the specified device manager ability component is invalid. 52 53**Possible Causes** 54 55The specified administrator ability component is invalid due to any of the following causes: 561. The administrator ability component does not exist when the device administrator application is enabled. 572. The administrator ability component is not a valid enterprise administrator ability component. 58 59**Solution** 60 611. Check that the name of the administrator ability component is included in the application bundle when the application is enabled as a device administrator application. 622. Check that the administrator ability component inherits from the **EnterpriseAdminExtensionAbility** component defined by the enterprise device management framework. 63 64## 9200004 Failed to Enable the Device Administrator Application 65 66**Error Message** 67 68Failed to activate the administrator application of the device. 69 70**Description** 71 72This error code is reported when an application fails to be enabled as a device administrator application. 73 74**Possible Causes** 75 761. Multiple applications are enabled as the super device administrator application. 772. The application has been enabled as a device administrator application, but the administrator type has changed. 783. Multiple device administrator ability components are enabled for the same application. 79 80**Solution** 81 821. Check that only one super device administrator application exists. 832. Check whether the current application has been enabled as a device administrator with a different device administrator type. If yes, deactivate the device administrator application and try again. 843. Check whether a device administrator ability component has been enabled for the application. Only one device administrator ability component can be enabled for an application. 85 86## 9200005 Failed to Disable the Device Administrator Application 87 88**Error Message** 89 90Failed to deactivate the administrator application of the device. 91 92**Description** 93 94This error code is reported when the operation for disabling a device administrator application fails. 95 96**Possible Causes** 97 981. The device administrator application to be disabled has not been enabled. 992. The caller cannot disable other device administrator applications. 100 101**Solution** 102 1031. Check that the target device administrator application has been enabled. 1042. Check that the specified device administrator ability component of the target device administrator application has been enabled. 1053. Check that the device administrator application to be disabled is the caller itself. 106 107## 9200006 Invalid User ID 108 109**Error Message** 110 111The specified user ID is invalid. 112 113**Description** 114 115This 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. 116 117**Possible Causes** 118 1191. The user ID specified for setting a user policy does not exist. 1202. When the application is not a super device administrator application, the specified user ID is different from the caller's user ID. 121 122**Solution** 123 1241. Check that the specified user ID is valid. 1252. Check that caller's user ID is the same as the specified user ID. If the application is not a super device administrator application, policies cannot be set across users. 126 127## 9200007 System Ability Error 128 129**Error Message** 130 131The system ability works abnormally. 132 133**Description** 134 135This error code is reported when the enterprise device management ability is not working properly. 136 137**Possible Causes** 138 1391. The EnterpriseAdminAbility is not started. 1402. The RPC object for enterprise device management cannot be obtained. 1413. Other abilities, on which the EnterpriseAdminAbility depends, are not started, or the RPC object cannot be obtained. 1424. A system exception occurs during the running of EnterpriseAdminAbility. 143 144**Solution** 145 146Try again later or restart the device. 147 148## 9200008 Invalid System Subscription Event 149 150**Error Message** 151 152The specified system event is invalid. 153 154**Description** 155 156This error code is reported when the enterprise device management module does not support subscription to the specified event or the specified event is invalid. 157 158**Possible Causes** 159 160The enterprise device management module does not support subscription to the specified event or the specified event is invalid. 161 162**Solution** 163 164Check that the specified event is valid and supported by the enterprise device management module. 165 166## 9200009 Failed to Grant Permissions to an Application 167 168**Error Message** 169 170Failed to grant the permission to the application. 171 172**Description** 173 174This error code is reported when the super device administrator application fails to grant administrator rights to other applications. 175 176**Possible Causes** 177 178The target application is not installed by the administrator. 179 180**Solution** 181 182Check that the target application has been installed by the administrator. 183 184## 9200010 Policy Conflict 185 186**Error Message** 187 188A conflict policy has been configured. 189 190**Description** 191 192This error code is reported when a conflict policy is being delivered. 193 194**Possible Causes** 195 196A conflict policy is defined and to be delivered. 197 198**Solution** 199 200Resolve the conflict, and then deliver the policy. 201 202## 9201001 Failed to Manage the Certificate 203 204**Error Message** 205 206Failed to manage the certificate. 207 208**Description** 209 210This error code is reported when the super device administrator application fails to install or uninstall a user certificate. 211 212**Possible Causes** 213 214The user certificate is incorrect. 215 216**Solution** 217 218Check that the user certificate is correct. 219 220## 9201002 Failed to Install the Application 221 222**Error Message** 223 224Failed to install the application. 225 226**Description** 227 228This error code is reported when a device administrator application fails to install an enterprise application. 229 230**Possible Causes** 231 2321. The application installation path is empty or invalid, or does not exist. 2332. The operation attempts to install multiple applications with different bundle names. 2343. The application to be installed already exists when the installation parameter flag is 0. 2354. The user ID is invalid. 236 237**Solution** 238 2391. Check that the application installation path is valid. 2402. Check that all the installation parameters are valid. 2413. Check that the same application is installed. 242 243## 9201003 Failed to Add an Account 244 245**Error Message** 246 247Failed to add an OS account. 248 249**Description** 250 251This error code is reported when an account fails to be added. 252 253**Possible Causes** 254 2551. The account already exists. 2562. The account name is invalid. 2573. The network is not connected when the account is added. 2584. The system does not support multiple accounts. 259 260**Solution** 261 2621. Check whether the account name exists. If yes, change the account name and try again. 2632. Check that the account name is valid. 2643. Check that the network is connected when the account is added. 265 266## 9201004 Update Package Not Exist or Fails to be Parsed 267 268**Error Message** 269 270The update packages do not exist or analyzing failed. 271 272**Description** 273 274This error code is reported when the enterprise device administrator application fails to notify the system of the package update. 275 276**Possible Causes** 277 2781. The system update package does not exist. 2792. The verification of the system update package name fails. 2803. The system update package fails to be opened. 2814. The system update package fails to be parsed. 282 283**Solution** 284 2851. Check whether the system update package exists. 2862. Check whether the name of the system update package is valid. 2873. Check whether the system update package is readable. 2884. Check whether the system update package is complete. 289