1# Application Event Logging 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## 11100001 Application Event Logging Disabled 8 9**Error Message** 10 11Function is disabled. 12 13**Description** 14 15This error code is reported if the **write** API is called to perform application event logging but the system ignores related events because the logging function is disabled. 16 17**Possible Causes** 18 19The application event logging function is disabled. 20 21**Solution** 22 23Invoke the **configure** API to enable the application event logging function. 24 25 ```js 26 hiAppEvent.configure({ 27 disable: false 28 }); 29 ``` 30 31## 11101001 Invalid Event Domain Name 32**Error Message** 33 34Invalid event domain. 35 36**Description** 37 38This error code is reported if the **write** API is called to perform application event logging but the system ignores related events because the input event domain name is invalid. 39 40**Possible Causes** 41 42The specified event domain name does not comply with the following rules: 43 44- The event domain name contains only digits, lowercase letters, and underscores (\_). 45- The event domain name starts with a lowercase letter and does not end with an underscore (\_). 46- The event domain name is not empty and contains a maximum of 32 characters. 47 48**Solution** 49 50Specify a valid event domain name. 51 52## 11101002 Invalid Event Name 53 54**Error Message** 55 56Invalid event name. 57 58**Description** 59 60This error code is reported if the **write** API is called to perform application event logging but the system ignores related events because the input event name is invalid. 61 62**Possible Causes** 63 64The specified event name does not comply with the following rules: 65 66- The event name contains only digits, lowercase letters, and underscores (\_). 67- The event name starts with a lowercase letter and does not end with an underscore (\_). 68- The event name is not empty and contains a maximum of 48 characters. 69 70**Solution** 71 72Specify a valid event name. 73 74## 11101003 Invalid Number of Event Parameters 75 76**Error Message** 77 78Invalid number of event parameters. 79 80**Description** 81 82This error code is reported if the **write** API is called to perform application event logging but the system discards extra event parameters because the number of input event parameters exceeds the limit. 83 84**Possible Causes** 85 86The number of input event parameters exceeds 32. 87 88**Solution** 89 90Specify a valid number of event parameters. 91 92## 11101004 Invalid Event Parameter String Length 93 94**Error Message** 95 96Invalid string length of the event parameter. 97 98**Description** 99 100This error code is reported if the **write** API is called to perform application event logging but the system ignores related event parameters because the value of the input event parameter is excessively long. 101 102**Possible Causes** 103 104The length of the input event parameter value exceeds 8 x 1024 characters. 105 106**Solution** 107 108Specify an event parameter value with a valid length. 109 110## 11101005 Invalid Event Parameter Name 111 112**Error Message** 113 114Invalid event parameter name. 115 116**Description** 117 118This error code is reported if the **write** API is called to perform application event logging but the system ignores related event parameters because the input event parameter name is invalid. 119 120**Possible Causes** 121 122The specified event parameter name does not comply with the following rules: 123 124- The event parameter name contains only digits, lowercase letters, and underscores (\_). 125- The event parameter name starts with a lowercase letter and does not end with an underscore (\_). 126- The event parameter name is not empty and contains a maximum of 16 characters. 127 128**Solution** 129 130Specify a valid event parameter name. 131 132## 11101006 Invalid Array Length of Event Parameter Values 133 134**Error Message** 135 136Invalid array length of the event parameter. 137 138**Description** 139 140This error code is reported if the **write** API is called to perform application event logging but the system discards extra array elements because the array of the event parameter value is excessively long. 141 142**Possible Causes** 143 144The array length of the event parameter value exceeds 100. 145 146**Solution** 147 148Specify a valid array length for the event parameter value. 149 150## 11102001 Invalid Watcher Name 151 152**Error Message** 153 154Invalid watcher name. 155 156**Description** 157 158This error code is reported if the **addWatcher** API is called to subscribe to application events but the system ignores the subscription because the specified watcher name is invalid. 159 160**Possible Causes** 161 162The specified watcher name does not comply with the following rules: 163 164- The watcher name can contain only digits, lowercase letters, and underscores (\_). 165- The watcher name starts with a lowercase letter and does not end with an underscore (\_). 166- The watcher name is not empty and contains a maximum of 32 characters. 167 168**Solution** 169 170Specify a valid watcher name. 171 172## 11102002 Invalid Filtering Event Domain Name 173 174**Error Message** 175 176Invalid filtering event domain. 177 178**Description** 179 180This error code is reported if the **addWatcher** API is called to subscribe to application events but the system ignores the subscription because the specified filtering event domain name is invalid. 181 182**Possible Causes** 183 184The specified filtering event domain name does not comply with the following rules: 185 186- The event domain name contains only digits, lowercase letters, and underscores (\_). 187- The event domain name starts with a lowercase letter and does not end with an underscore (\_). 188- The event domain name is not empty and contains a maximum of 32 characters. 189 190**Solution** 191 192Specify a valid filtering event domain name. 193 194## 11102003 Invalid Event Number 195 196**Error Message** 197 198Invalid row value. 199 200**Description** 201 202This error code is reported if the **addWatcher** API is called to subscribe to application events but the system ignores the subscription because an invalid event number is passed in the callback trigger condition. 203 204**Possible Causes** 205 206The event number passed in the input callback triggering condition is a negative number. 207 208**Solution** 209 210Specify a valid event number. 211 212## 11102004 Invalid Event Size 213 214**Error Message** 215 216Invalid size value. 217 218**Description** 219 220This error code is reported if the **addWatcher** API is called to subscribe to application events but the system ignores the subscription because an invalid event size is passed in the callback trigger condition. 221 222**Possible Causes** 223 224The event size passed in the input callback triggering condition is a negative number. 225 226**Solution** 227 228Specify a valid event size. 229 230## 11102005 Invalid Timeout Value 231 232**Error Message** 233 234Invalid timeout value. 235 236**Description** 237 238This error code is reported if the **addWatcher** API is called to subscribe to application events but the system ignores the subscription because an invalid timeout value is passed in the callback trigger condition. 239 240**Possible Causes** 241 242The timeout value passed in the input callback triggering condition is a negative number. 243 244**Solution** 245 246Specify a valid timeout value. 247 248## 11103001 Invalid Maximum Storage Quota 249 250**Error Message** 251 252Invalid max storage quota value. 253 254**Description** 255 256This error code is reported if the **configure** API is called to subscribe to application events but the system ignores the setting because the specified maximum storage quota is invalid. 257 258**Possible Causes** 259 260The maximum storage quota does not meet the following rules: 261 262- The quota value consists of only digits and a unit (including b|k|kb|m|mb|g|gb|t|tb, which are case-insensitive). 263- The quota value must start with a digit. You can determine whether to pass the unit. If the unit is left empty, **b** (that is, byte) is used by default. 264 265**Solution** 266 267Specify a valid maximum storage quota. 268 269## 11104001 Invalid Event Package Size 270 271**Error Message** 272 273Invalid size value. 274 275**Description** 276 277This error code is reported if the **setSize** API is called to set the threshold of the event package size but the system ignores the setting because the specified event package size is invalid. 278 279**Possible Causes** 280 281The specified event package size is a negative number. 282 283**Solution** 284 285Specify a valid event package size. 286