• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
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 Application Not a Device Administrator
8
9**Error Message**
10
11The application is not a administrator of the device.
12
13**Description**
14
15This error code is reported when the calling application is not an administrator of the device.
16
17**Possible Causes**
18
19The calling application has not been enabled as an administrator of the device.
20
21**Solution**
22
23Make sure the application is enabled as an administrator of the device.
24
25## 9200002 Insufficient Permission for Systsm Administration
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 API requires a permission level higher than that granted to the calling application.
34
35**Possible Causes**
36
37The application is a device administrator application, and the called API is restricted to a device super administrator application.
38
39**Solution**
40
41Make sure the enabled device administrator type is the same as that required by the called 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 administrator ability component specified in the input parameters is invalid.
52
53**Possible Causes**
54
55The specified administrator ability component is invalid due to any of the following:
561. The administrator ability component does not exist when the application is enabled as a device administrator application.
572. The administrator ability component is not valid in an enterprise setting.
58
59**Solution**
60
611. Make sure the name of the device administrator ability component is included in the application bundle when the application is enabled as a device administrator application.
622. Make sure the administrator ability component inherits the **EnterpriseAdminExtensionAbility** component defined by the enterprise device administrator 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 the application fails to be enabled as a device administrator application.
73
74**Possible Causes**
75
76
771. Multiple applications are enabled as super device administrators (SDAs).
782. The application has been enabled as a device administrator, and the device administrator type has changed.
793. Multiple device administrator ability components of the same application are enabled.
80
81**Solution**
82
831. Make sure only one application is enabled as SDA.
842. Check whether the application has been enabled as a device administrator and whether the device administrator type changes when it is enabled again. If this is the case, disable the device administrator and enable it again.
853. Check whether any ability component in the application has been enabled as the device administrator. Only one ability component in an application can be enabled as the device administrator.
86
87## 9200005 Failed to Disable the Device Administrator Application
88
89**Error Message**
90
91Failed to deactivate the administrator application of the device.
92
93**Description**
94
95This error code is reported when the application to disable has not been enabled as a device administrator application or the attempt to disable the device administrator application is made by a device administrator application.
96
97**Possible Causes**
98
99
1001. The application to disable has not been enabled as a device administrator application.
1012. The attempt to disable the device administrator application is made by a device administrator application.
102
103**Solution**
104
1051. Check whether the target application has been enabled as a device administrator application.
1062. Check whether the specified ability component in the target application has been enabled as a device administrator.
1073. Check whether the attempt to disable the device administrator application is made by a device administrator application.
108
109## 9200006 Invalid User ID
110
111**Error Message**
112
113The specified user ID is invalid.
114
115**Description**
116
117This error code is reported when the application calls an API to set the user policy but the specified user ID does not exist or the specified user ID is different from the caller user ID.
118
119**Possible Causes**
120
121
1221. The user ID used to set a user policy does not exist.
1232. The specified user ID is different from the caller user ID, and the application is not a super device administrator (SDA) application.
124
125**Solution**
126
1271. Make sure the user ID specified in the called API is valid.
1282. Check whether the caller user ID and the specified user ID are the same. In non-SDA mode, policies cannot be set across users.
129
130## 9200007 System Service Error
131
132**Error Message**
133
134The system ability work abnormally.
135
136**Description**
137
138This error code is reported when the enterprise device management service is not working correctly.
139
140**Possible Causes**
141
142
1431. The enterprise device management service is not started properly.
1442. The RPC object for enterprise device management cannot be obtained.
1453. Other services on which the enterprise device management service depends are not started properly or the RPC object cannot be obtained for them.
1464. A system exception occurs during the running of the enterprise device management service.
147
148**Solution**
149
150Try again later or restart the device.
151
152## 9200008 Invalid System Event Subscription
153
154**Error Message**
155
156The specified system events enum is invalid.
157
158**Description**
159
160This error code is reported when the enterprise device management module does not support subscription to the specified event or the specified event is invalid.
161
162**Possible Causes**
163
164The enterprise device management module does not support subscription to the specified event or the specified event is invalid.
165
166**Solution**
167
168Make sure the event to subscribe to is a valid management event supported by the enterprise device management module.
169