1# Input Method Framework 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## 12800001 Package Manager Error 8 9**Error Message** 10 11Bundle manager error. 12 13**Description** 14 15This error code is reported when an API of the package manager, such as **getInputMethods** and **listCurrentInputMethodSubtype**, fails to be called to obtain information. 16 17**Possible Causes** 18 19The package manager is not working correctly. 20 21**Solution** 22 23None 24 25## 12800002 Input Method Engine Error 26 27**Error Message** 28 29Input method engine error. 30 31**Description** 32 33This error code is reported when an input method API fails to be called. 34 35**Possible Causes** 36 37The input method process is suspended. 38 39**Solution** 40 41Check whether the input method process is running properly. For example, click the text input box in an application to check whether the input keyboard is displayed. 42 43## 12800003 Input Method Client Error 44 45**Error Message** 46 47Input method client error. 48 49**Description** 50 51This error code is reported when the API for showing or hiding the keyboard fails to be called by a third-party application. 52 53**Possible Causes** 54 551. The input method is disconnected from the third-party application due to a service error with the application. 562. The third-party application is not focused. 57 58**Solution** 59 601. Bind the input method to the third-party application again: Close the background process of the third-party application, start the application again, and touch a text input box. If the keyboard is displayed properly, the issue is resolved. 612. Place the third-party application in the foreground and ensure that it is not covered by other applications or windows. Enable the input method by touching a text input box. 62 63## 12800004 Not an Input Method 64 65**Error Message** 66 67Not an input method. 68 69**Description** 70 71This error code is reported when an API exclusive to input methods is called by an application of another type. 72 73**Possible Causes** 74 75An API that can be called only by an input method is called by an application of another type. 76 77**Solution** 78 79Call the API only in an input method. 80 81## 12800005 Configuration Persistence Error 82 83**Error Message** 84 85Configuration persistence error. 86 87**Description** 88 89This error code is reported when the configuration fails to be saved during input method switching. 90 91**Possible Causes** 92 93An exception occurs with the system parameter configuration module. 94 95**Solution** 96 97Run the **hdc shell param get persist.sys.default_ime** command to check the default input method parameters. If the parameters are displayed, the system parameter configuration module is working properly. In this case, restart the device and try again. 98 99## 12800006 Input Method Controller Error 100 101**Error Message** 102 103Input method controller error. 104 105**Description** 106 107This error code is reported when the input method controller fails to be obtained. 108 109**Possible Causes** 110 111An error occurs during invoking of the **getCotroller** API. 112 113**Solution** 114 115None 116 117## 12800007 Input Method Setter Error 118 119**Error Message** 120 121Input method setter error. 122 123**Description** 124 125This error code is reported when an **InputMethodSetting** instance fails to be obtained. 126 127**Possible Causes** 128 129An error occurs during invoking of the **getSetting** API. 130 131**Solution** 132 133None 134 135## 12800008 Input Method Manager Service Error 136 137**Error Message** 138 139Input method manager service error. 140 141**Description** 142 143This error code is reported when an API of the [input method framework](js-apis-inputmethod.md) fails to be called. 144 145**Possible Causes** 146 147The input method manager service fails to be found. 148 149**Solution** 150 151Run the **ps -A|grep inputmethod** command to check for the process ID of the input method service. If the process ID is found, the service is working properly. 152 153## 12800009 Input Method Client Detached 154 155**Error Message** 156 157Input method client detached. 158 159**Description** 160 161This error code is reported when the current application is not attached to an input method. 162 163**Possible Causes** 164 165The current application calls **showTextInput** or **hideTextInput** when not attached to an input method. 166 167**Solution** 168 169Call the **attach** API and then try again. 170 171## 12800010 Not Preconfigured Default Input Method 172 173**Error Message** 174 175Not the preconfigured default input method. 176 177**Description** 178 179This error code is reported when the invoking application is not the preconfigured default input method. 180 181**Possible Causes** 182 183The API is called by an application other than the preconfigured default input method. 184 185**Solution** 186 187Use [getDefaultInputMethod](js-apis-inputmethod.md#inputmethodgetdefaultinputmethod11) to query the default input method of the system and determine whether the application uses the default input method. If the application does not use the default input method, this API cannot be called. 188 189## 12800011 Text Preview Not Supported 190 191**Error Message** 192 193Text preview not supported. 194 195**Description** 196 197Preview of the text input box is not supported. 198 199**Possible Causes** 200 201Preview of the text input box is not supported. 202 203**Solution** 204 205Use [getEditorAttributeSync](js-apis-inputmethodengine.md#geteditorattributesync10) to obtain the value of **isTextPreviewSupported** of [EditorAttribute](js-apis-inputmethodengine.md#editorattribute). If **isTextPreviewSupported** is **false**, this API cannot be called. 206 207## 12800012 Soft Keyboard Panel Not Created 208 209**Error Message** 210 211The input method panel does not exist. 212 213**Description** 214 215The input method panel of the soft keyboard type is not created. 216 217**Possible Causes** 218 219The input method panel of the soft keyboard type is not created. 220 221**Solution** 222 223Use [createPanel](js-apis-inputmethodengine.md#createpanel10) to create a [panel](js-apis-inputmethodengine.md#panel10) of the [soft keyboard type](js-apis-inputmethodengine.md#paneltype10). 224 225## 12800013 Window Manager Service Error 226 227**Error Message** 228 229Window manager service error. 230 231**Description** 232 233The window manager service is not running properly. 234 235**Possible Causes** 236 237After the API is called, the system uses the capabilities of the window manager module. This error is thrown due to an error of the window manager service. 238 239**Solution** 240 241Restart the device and try again. 242 243## 12800014 Non-Full Access Mode of the Input Method Application 244 245**Error Message** 246 247The intput method is basic mode. 248 249**Description** 250 251The input method application is in non-full access mode. 252 253**Possible Causes** 254 255This error is thrown if the input method is in non-full access mode after you call an API that requires the full access mode to be enabled. 256 257**Solution** 258 259Enable the full access mode of the input method in **Settings**. 260 261## 12800015 Message Receiver Unable to Receive Custom Communication Data 262 263**Error Message** 264 265The another side does not accept the request. 266 267**Description** 268 269The message receiver cannot receive custom communication data. 270 271**Possible Causes** 272 273This error is thrown if the message receiver does not register [MessageHandler](js-apis-inputmethodengine.md#messagehandler15) to receive data when you call the API for sending custom communication data. 274 275**Solution** 276 277To receive custom communication data, register a **MessageHandler** for the message receiver, call [recvMessage](js-apis-inputmethodengine.md#recvmessage15) in the input method application, and call [recvMessage](js-apis-inputmethod.md#recvmessage15) for the input method client. 278 279## 12800016 Input Method Client Not in Edit Mode 280 281**Error Message** 282 283The edit mode need enable. 284 285**Description** 286 287The input method client is not in edit mode. 288 289**Possible Causes** 290 291The input method client exits the edit mode after being attached. For example, [hideTextInput](js-apis-inputmethod.md#hidetextinput10) is called after the self-drawing component is attached to the input method through **Attach**. 292 293**Solution** 294 295Enter the edit mode again after the input method client is attached and exits the edit mode. For example, the self-drawing component should enter the edit mode again by calling [showTextInput](js-apis-inputmethod.md#showtextinput10). 296 297## 12800017 Invalid Panel Type or Panel Flag 298 299**Error Message** 300 301Invalid panel type or panel flag. 302 303**Description** 304 305Invalid panel type or panel flag. 306 307**Possible Causes** 308 309This error is thrown if the [panel type](js-apis-inputmethodengine.md#paneltype10) or [panel flag](js-apis-inputmethodengine.md#panelflag10) of the input method does not support API call, or you cannot pass the type or flag to the API. 310 311**Solution** 312 313Read the API usage description and call the API if you need to adjust the panel type or panel flag of the input method, and input parameters. Otherwise, do not call the API. 314