• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1# Input Device 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<!--Del-->
8## 3900001 Device Not Exist
9
10**Error Message**
11
12The specified device does not exist.
13
14**Description**
15
16This error code is reported if the specified device cannot be found in the multimodal device list.
17
18**Possible Causes**
19
201. The ID of the input device has changed.
212. The physical connection of the input device is disconnected.
22
23**Procedure**
24
251. Use [inputDevice.getDeviceList](js-apis-inputdevice.md#inputdevicegetdevicelist9) to query the device ID, and then pass in the correct device ID.
262. Check whether the keyboard cable is disconnected.<!--DelEnd-->
27
28## 3900002 Keyboard Not Connected
29
30**Error Message**
31
32There is currently no keyboard device connected.
33
34**Description**
35
36This error code is reported if no connected keyboard is detected.
37
38**Possible Causes**
39
40The physical connection of the input device is disconnected.
41
42**Procedure**
43
44Check whether the keyboard cable is disconnected.
45
46## 3900003 API Call Failed for a Non-Input Application
47
48**Error Message**
49
50It is prohibited for non-input applications.
51
52**Description**
53
54Non-input applications are not allowed to call this API.
55
56**Possible Causes**
57
58This API is not supported for a third-party application or a non-input system application.
59
60**Procedure**
61
62Use an input application to call this API.
63