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 11Package 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 55The input method is disconnected from the third-party application due to a service error with the application. 56 57**Solution** 58 59Bind 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. 60 61## 12800004 Not an Input Method 62 63**Error Message** 64 65Not an input method extension. 66 67**Description** 68 69This error code is reported when an API exclusive to input methods is called by an application of another type. 70 71**Possible Causes** 72 73An API that can be called only by an input method is called by an application of another type. 74 75**Solution** 76 77Call the API only in an input method. 78 79## 12800005 Configuration Persistence Error 80 81**Error Message** 82 83Configuration persisting error. 84 85**Description** 86 87This error code is reported when the configuration fails to be saved during input method switching. 88 89**Possible Causes** 90 91An exception occurs with the system parameter configuration module. 92 93**Solution** 94 95Run 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. 96 97## 12800006 Input Method Controller Error 98 99**Error Message** 100 101Input method controller error. 102 103**Description** 104 105This error code is reported when the input method controller fails to be obtained. 106 107**Possible Causes** 108 109An error occurs during invoking of the **getCotroller** API. 110 111**Solution** 112 113None 114 115## 12800007 Input Method Setter Error 116 117**Error Message** 118 119Input method settings extension error. 120 121**Description** 122 123This error code is reported when an **InputMethodSetting** instance fails to be obtained. 124 125**Possible Causes** 126 127An error occurs during invoking of the **getSetting** API. 128 129**Solution** 130 131None 132 133## 12800008 Input Method Manager Service Error 134 135**Error Message** 136 137Input method manager service error. 138 139**Description** 140 141This error code is reported when an API of the [input method framework](js-apis-inputmethod.md) fails to be called. 142 143**Possible Causes** 144 145The input method manager service fails to be obtained. 146 147**Solution** 148 149Run 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. 150 151## 12800009 Input Method Client Detached 152 153**Error Message** 154 155Input method client is detached. 156 157**Description** 158 159This error code is reported when the current application is not attached to an input method. 160 161**Possible Causes** 162 163The current application calls **showTextInput** or **hideTextInput** when not attached to an input method. 164 165**Solution** 166 167Call the **attach** API and then try again. 168 169## 12800010 Not Preconfigured Default Input Method 170 171**Error Message** 172 173Not default input method configured by system. 174 175**Description** 176 177This error code is reported when the invoking application is not the preconfigured default input method. 178 179**Possible Causes** 180 181The API is called by an application other than the preconfigured default input method. 182 183**Solution** 184 185Use [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. 186 187## 12800011 Text Preview Not Supported 188 189**Error Message** 190 191Text preview is not supported. 192 193**Description** 194 195Preview of the text input box is not supported. 196 197**Possible Causes** 198 199Preview of the text input box is not supported. 200 201**Solution** 202 203Use [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. 204 205## 12800012 Soft Keyboard Panel Not Created 206 207**Error Message** 208 209Input method panel doesn't exist. 210 211**Description** 212 213The input method panel of the soft keyboard type is not created. 214 215**Possible Causes** 216 217The input method panel of the soft keyboard type is not created. 218 219**Solution** 220 221Use [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). 222 223## 12800013 Window Manager Service Error 224 225**Error Message** 226 227Window manager service error. 228 229**Description** 230 231The window manager service is not running properly. 232 233**Possible Causes** 234 235After 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. 236 237**Solution** 238 239Restart the device and try again. 240