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 191. The event domain name contains more than 16 characters. 202. The event domain name contains special characters. 213. The event domain name is empty. 22 23**Solution** 24 25Specify a valid event domain name. 26 27## 1120002 Invalid Event Name 28 29**Error Message** 30 31Invalid event name. 32 33**Description** 34 35This 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. 36 37**Possible Causes** 38 391. The event name contains more than 32 characters. 402. The event name contains special characters. 413. The event name is empty. 42 43**Solution** 44 45Check whether the event name is valid. 46 47## 11200003 Environment Error 48 49**Error Message** 50 51Abnormal environment. 52 53**Description** 54 55This 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. 56 57**Possible Causes** 58 591. The hiview service fails to be started. 602. The socket of the hiview service is abnormal. 61 62**Solution** 63 64Call the **write** API again to perform event logging. 65 66## 11200004 Invalid Event Length 67 68**Error Message** 69 70Length of the event is over limit. 71 72**Description** 73 74This 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. 75 76**Possible Causes** 77 78The total event length exceeds 384 KB. 79 80**Solution** 81 82Check whether the total event length is greater than 384 KB. 83 84## 11200051 Invalid Event Parameter 85 86**Error Message** 87 88Invalid event parameter. 89 90**Description** 91 92This 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. 93 94**Possible Causes** 95 961. The event parameter name contains more than 32 characters. 972. The event parameter name contains special characters. 983. The event parameter name is empty. 99 100**Solution** 101 102Check whether the event parameter name is valid. 103 104## 11200052 Length of Event Parameter Values of the String Type Exceeding the Limit 105 106**Error Message** 107 108Size of the event parameter of the string type is over limit. 109 110**Description** 111 112This 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. 113 114**Possible Causes** 115 116The length of parameter values of the string type exceeds 10 KB. 117 118**Solution** 119 120Check whether the length of parameter values of the string type exceeds 10 KB. 121 122## 11200053 Number of Event Parameters Exceeding the Limit 123 124**Error Message** 125 126Count of event parameters is over limit. 127 128**Description** 129 130This 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. 131 132**Possible Causes** 133 134The number of event parameters exceeds 128. 135 136**Solution** 137 138Check whether the number of event parameters exceeds 128. 139 140## 11200054 Length of Event Parameter Values of the Array Type Exceeding the Limit 141 142**Error Message** 143 144Count of event parameter of the array type is over limit. 145 146**Description** 147 148This 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. 149 150**Possible Causes** 151 152The length of a parameter values of the array type exceeds 100. 153 154**Solution** 155 156Check whether the length of the parameter value of the array type exceeds 100. 157 158## 11200101 Number of Event Watchers Exceeding the Limit 159 160**Error Message** 161 162Count of watchers is over limit. 163 164**Description** 165 166This 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. 167 168**Possible Causes** 169 170A total of 30 event watchers have been added. 171 172**Solution** 173 174Check whether the number of event watchers exceeds 30. 175 176## 11200102 Number of Event Watcher Rules Exceeding the Limit 177 178**Error Message** 179 180Count of watch rules is over limit. 181 182**Description** 183 184This 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. 185 186**Possible Causes** 187 188A total of 20 event watcher rules have been added. 189 190**Solution** 191 192Check whether the number of event watcher rules exceeds 20. 193 194## 11200201 Event Watcher Not Exist 195 196**Error Message** 197 198The watcher does not exist. 199 200**Description** 201 202This 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. 203 204**Possible Causes** 205 2061. The event watcher to be removed is empty. 2072. The event watcher to be removed has not been successfully added. 208 209**Solution** 210 211Check whether the event watcher to the removed is empty or whether the event watcher has been successfully added. 212 213## 11200301 Number of Query Rules Exceeding the Limit 214 215**Error Message** 216 217Count of query rules is over limit. 218 219**Description** 220 221This 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. 222 223**Possible Causes** 224 225The number of query rules exceeds 10. 226 227**Solution** 228 229Check whether the number of query rules exceeds 10. 230 231 232## 11200302 Invalid Query Rule 233 234**Error Message** 235 236Invalid query rule. 237 238 239**Description** 240 241This 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. 242 243**Possible Causes** 244 2451. The event domain name in the query rule contains more than 16 characters or the event name contains more than 32 characters. 2462. The event domain name or event name in the query rule contains special characters. 2473. The event domain name or event name in the query rule is empty. 248 249**Solution** 250 251Check whether the event domain name and event name configured in the query rule are valid. 252 253## 11200303 Number of Concurrent Queries Exceeding the Limit 254 255**Error Message** 256 257Count of concurrent queries is over limit. 258 259**Description** 260 261This 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. 262 263**Possible Causes** 264 265The number of concurrent queries exceeds 4. 266 267**Solution** 268 269Check whether more than four queries are performed at the same time. 270 271## 11200304 Query Frequency Exceeding the Limit 272 273**Error Message** 274 275Query frequency is over limit. 276 277**Description** 278 279This 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. 280 281**Possible Causes** 282 283More than one query is performed in one second. 284 285**Solution** 286 287Check whether more than one query is performed in one second. 288