1# HiSysEvent 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## 1120001 Invalid Event Domain 8 9**Error Message** 10 11Invalid event domain. 12 13**Description** 14 15This error code is reported if the **write** API is called to perform system event logging but the system ignores the logging operation because the input event domain name is invalid. 16 17**Possible Causes** 18 19The specified event domain name does not comply with the following rules: 20 21- The event domain name contains only digits, letters, and underscores (\_). 22- The event domain name starts with a letter. 23- The event domain name is not empty and contains a maximum of 16 characters. 24 25**Solution** 26 27Specify a valid event domain name. 28 29## 1120002 Invalid Event Name 30 31**Error Message** 32 33Invalid event name. 34 35**Description** 36 37This error code is reported if the **write** API is called to perform system event logging but the system ignores the logging operation because the input event name is invalid. 38 39**Possible Causes** 40 41The specified event name does not comply with the following rules: 42 43- The event name contains only digits, letters, and underscores (\_). 44- The event name starts with a letter. 45- The event name is not empty and contains a maximum of 32 characters. 46 47**Solution** 48 49Check whether the event name is valid. 50 51## 11200003 Environment Error 52 53**Error Message** 54 55Abnormal environment. 56 57**Description** 58 59This error code is reported if the **write** API is called to perform system event logging but the system ignores the logging operation because the environment is abnormal. 60 61**Possible Causes** 62 631. The hiview service fails to be started. 642. The socket of the hiview service is abnormal. 65 66**Solution** 67 68Call the **write** API again to perform event logging. 69 70## 11200004 Invalid Event Length 71 72**Error Message** 73 74The event length exceeds the limit. 75 76**Description** 77 78This error code is reported if the **write** API is called to perform system event logging but the system ignores the logging operation because the total event length is invalid. 79 80**Possible Causes** 81 82The total event length exceeds 384 KB. 83 84**Solution** 85 86Check whether the total event length is greater than 384 KB. 87 88## 11200051 Invalid Event Parameter 89 90**Error Message** 91 92Invalid event parameter. 93 94**Description** 95 96This error code is reported if the **write** API is called to perform system event logging but the system throws an exception because the input parameter name is invalid. However, the system will continue to complete the logging operation. 97 98**Possible Causes** 99 100The specified event parameter name does not comply with the following rules: 101 102- The event parameter name contains only digits, letters, and underscores (\_). 103- The event parameter name starts with a letter. 104- The event parameter name is not empty and contains a maximum of 48 characters. 105 106**Solution** 107 108Check whether the event parameter name is valid. 109 110## 11200052 Length of Event Parameter Values of the String Type Exceeding the Limit 111 112**Error Message** 113 114The size of the event parameter of the string type exceeds the limit. 115 116**Description** 117 118This error code is reported if the **write** API is called to perform system event logging but the system throws an exception because the length of event parameter values of the string type is invalid. However, the system will continue to complete the logging operation. 119 120**Possible Causes** 121 122The length of parameter values of the string type exceeds 10 KB. 123 124**Solution** 125 126Check whether the length of parameter values of the string type exceeds 10 KB. 127 128## 11200053 Number of Event Parameters Exceeding the Limit 129 130**Error Message** 131 132The number of event parameters exceeds the limit. 133 134**Description** 135 136This error code is reported if the **write** API is called to perform system event logging but the system throws an exception because the number of event parameters is invalid. However, the system will continue to complete the logging operation. 137 138**Possible Causes** 139 140The number of event parameters exceeds 128. 141 142**Solution** 143 144Check whether the number of event parameters exceeds 128. 145 146## 11200054 Length of Event Parameter Values of the Array Type Exceeding the Limit 147 148**Error Message** 149 150The number of event parameters of the array type exceeds the limit. 151 152**Description** 153 154This error code is reported if the **write** API is called to perform system event logging but the system throws an exception because the length of event parameter values of the array type is invalid. However, the system will continue to complete the logging operation. 155 156**Possible Causes** 157 158The length of a parameter values of the array type exceeds 100. 159 160**Solution** 161 162Check whether the length of the parameter value of the array type exceeds 100. 163 164## 11200101 Number of Event Watchers Exceeding the Limit 165 166**Error Message** 167 168The number of watchers exceeds the limit. 169 170**Description** 171 172This error code is reported if the **addWatcher** API is called to add an event watcher but the system rejects the operation because the number of watchers has exceeded the limit. 173 174**Possible Causes** 175 176A total of 30 event watchers have been added. 177 178**Solution** 179 180Check whether the number of event watchers exceeds 30. 181 182## 11200102 Number of Event Watcher Rules Exceeding the Limit 183 184**Error Message** 185 186The number of watch rules exceeds the limit. 187 188**Description** 189 190This error code is reported if the **addWatcher** API is called to add an event watcher but the system rejects the operation because the number of watcher rules has exceeded the limit. 191 192**Possible Causes** 193 194A total of 20 event watcher rules have been added. 195 196**Solution** 197 198Check whether the number of event watcher rules exceeds 20. 199 200## 11200201 Event Watcher Not Exist 201 202**Error Message** 203 204The watcher does not exist. 205 206**Description** 207 208This error code is reported if the **removeWatcher** API is called to remove an event watcher but the system rejects the operation because the watcher does not exist. 209 210**Possible Causes** 211 2121. The event watcher to be removed is empty. 2132. The event watcher to be removed has not been successfully added. 214 215**Solution** 216 217Check whether the event watcher to the removed is empty or whether the event watcher has been successfully added. 218 219## 11200301 Number of Query Rules Exceeding the Limit 220 221**Error Message** 222 223The number of query rules exceeds the limit. 224 225**Description** 226 227This error code is reported if the **query** API is called to query system events but the system ignores the operation because the number of query rules has exceeded the limit. 228 229**Possible Causes** 230 231The number of query rules exceeds 100. 232 233**Solution** 234 235Check whether the number of query rules exceeds 100. 236 237 238## 11200302 Invalid Query Rule 239 240**Error Message** 241 242Invalid query rule. 243 244 245**Description** 246 247This error code is reported if the **query** API is called to query system events but the system ignores the operation because the input query rule is invalid. 248 249**Possible Causes** 250 2511. The event domain name in the query rule contains more than 16 characters or the event name contains more than 32 characters. 2522. The event domain name or event name in the query rule contains special characters. 2533. The event domain name or event name in the query rule is empty. 254 255**Solution** 256 257Check whether the event domain name and event name configured in the query rule are valid. 258 259## 11200303 Number of Concurrent Queries Exceeding the Limit 260 261**Error Message** 262 263The number of concurrent queriers exceeds the limit. 264 265**Description** 266 267This error code is reported if the **query** API is called to query system events but the system ignores the operation because the number of concurrent queries has exceeded the limit. 268 269**Possible Causes** 270 271The number of concurrent queries exceeds 4. 272 273**Solution** 274 275Check whether more than four queries are performed at the same time. 276 277## 11200304 Query Frequency Exceeding the Limit 278 279**Error Message** 280 281The query frequency exceeds the limit. 282 283**Description** 284 285This error code is reported if the **query** API is called to query system events but the system ignores the operation because the query frequency has exceeded the limit. 286 287**Possible Causes** 288 289More than 50 queries are performed in one second. 290 291**Solution** 292 293Check whether more than 50 queries are performed in one second. 294 295## 11200305 Unsubscription Failed 296 297**Error Message** 298 299Unsubscription failed. 300 301**Description** 302 303This error code is reported when the **unsubscribe()** API fails to be called. 304 305**Possible Causes** 306 307The HiView service is abnormal. 308 309**Solution** 310 311Call the **unsubscribe()** API again. 312