1e41f4b71Sopenharmony_ci# Intelligent Voice Error Codes
2e41f4b71Sopenharmony_ci
3e41f4b71Sopenharmony_ci> **NOTE**
4e41f4b71Sopenharmony_ci>
5e41f4b71Sopenharmony_ci> This topic describes only module-specific error codes. For details about universal error codes, see [Universal Error Codes](../errorcode-universal.md).
6e41f4b71Sopenharmony_ci
7e41f4b71Sopenharmony_ci## 22700101 Insufficient Memory
8e41f4b71Sopenharmony_ci
9e41f4b71Sopenharmony_ci**Error Message**
10e41f4b71Sopenharmony_ci
11e41f4b71Sopenharmony_ciNo memory.
12e41f4b71Sopenharmony_ci
13e41f4b71Sopenharmony_ci**Error Description**
14e41f4b71Sopenharmony_ci
15e41f4b71Sopenharmony_ciThis error code is reported if a memory allocation failure or null pointer occurs when an API is called.
16e41f4b71Sopenharmony_ci
17e41f4b71Sopenharmony_ci**Possible Causes**
18e41f4b71Sopenharmony_ci
19e41f4b71Sopenharmony_ci1. The system does not have sufficient memory for mapping.
20e41f4b71Sopenharmony_ci2. Invalid instances are not destroyed in time to release the memory.
21e41f4b71Sopenharmony_ci
22e41f4b71Sopenharmony_ci**Solution**
23e41f4b71Sopenharmony_ci
24e41f4b71Sopenharmony_ci1. Stop the current operation or suspend other applications to free up memory.
25e41f4b71Sopenharmony_ci2. Clear invalid instances to free up memory, and then create new instances as needed. If the problem persists, stop related operations.
26e41f4b71Sopenharmony_ci
27e41f4b71Sopenharmony_ci## 22700102 Invalid Parameter
28e41f4b71Sopenharmony_ci
29e41f4b71Sopenharmony_ci**Error Message**
30e41f4b71Sopenharmony_ci
31e41f4b71Sopenharmony_ciInvalid parameter.
32e41f4b71Sopenharmony_ci
33e41f4b71Sopenharmony_ci**Error Description**
34e41f4b71Sopenharmony_ci
35e41f4b71Sopenharmony_ciThis error code is reported if a certain parameter passed in the API is invalid.
36e41f4b71Sopenharmony_ci
37e41f4b71Sopenharmony_ci**Possible Cause**
38e41f4b71Sopenharmony_ci
39e41f4b71Sopenharmony_ciThe parameter is invalid. For example, the parameter value is not within the range supported.
40e41f4b71Sopenharmony_ci
41e41f4b71Sopenharmony_ci**Solution**
42e41f4b71Sopenharmony_ci
43e41f4b71Sopenharmony_ciPass the correct parameters in the API.
44e41f4b71Sopenharmony_ci
45e41f4b71Sopenharmony_ci## 22700103 Initialization Failed
46e41f4b71Sopenharmony_ci
47e41f4b71Sopenharmony_ci**Error Message**
48e41f4b71Sopenharmony_ci
49e41f4b71Sopenharmony_ciInit failed.
50e41f4b71Sopenharmony_ci
51e41f4b71Sopenharmony_ci**Error Description**
52e41f4b71Sopenharmony_ci
53e41f4b71Sopenharmony_ciThis error code is reported if an error occurs while the enrollment engine is initialized.
54e41f4b71Sopenharmony_ci
55e41f4b71Sopenharmony_ci**Possible Cause**
56e41f4b71Sopenharmony_ci
57e41f4b71Sopenharmony_ci1. Repeated initialization.
58e41f4b71Sopenharmony_ci2. Lack of resources for initialization of the enrollment engine.
59e41f4b71Sopenharmony_ci
60e41f4b71Sopenharmony_ci**Solution**
61e41f4b71Sopenharmony_ci
62e41f4b71Sopenharmony_ci1. Avoid performing initialization repeatedly.
63e41f4b71Sopenharmony_ci2. Ensure that the resources required for initialization, such as acoustic model files, are ready.
64e41f4b71Sopenharmony_ci
65e41f4b71Sopenharmony_ci## 22700104 Enrollment Commit Failure
66e41f4b71Sopenharmony_ci
67e41f4b71Sopenharmony_ci**Error Message**
68e41f4b71Sopenharmony_ci
69e41f4b71Sopenharmony_ciFailed to commit the enrollment.
70e41f4b71Sopenharmony_ci
71e41f4b71Sopenharmony_ci**Error Description**
72e41f4b71Sopenharmony_ci
73e41f4b71Sopenharmony_ciThis error code is reported if the attempt to call [commit()](js-apis-intelligentVoice-sys.md#commit) fails.
74e41f4b71Sopenharmony_ci
75e41f4b71Sopenharmony_ci**Possible Causes**
76e41f4b71Sopenharmony_ci
77e41f4b71Sopenharmony_ciThe specified number of enrollment procedures are not completed.
78e41f4b71Sopenharmony_ci
79e41f4b71Sopenharmony_ci**Solution**
80e41f4b71Sopenharmony_ci
81e41f4b71Sopenharmony_ciCommit the enrollment after the specified number of enrollment procedures are completed.
82e41f4b71Sopenharmony_ci
83e41f4b71Sopenharmony_ci## 22700105 Failed to Start the Capturer
84e41f4b71Sopenharmony_ci
85e41f4b71Sopenharmony_ci**Error Message**
86e41f4b71Sopenharmony_ci
87e41f4b71Sopenharmony_ciStart capturer failed.
88e41f4b71Sopenharmony_ci
89e41f4b71Sopenharmony_ci**Error Description**
90e41f4b71Sopenharmony_ci
91e41f4b71Sopenharmony_ciThis error code is reported if the attempt to start the capturer by using [startCapturer()](js-apis-intelligentVoice-sys.md#startcapturer12) fails.
92e41f4b71Sopenharmony_ci
93e41f4b71Sopenharmony_ci**Possible Causes**
94e41f4b71Sopenharmony_ci
95e41f4b71Sopenharmony_ciThe audio recording service has been stopped.
96e41f4b71Sopenharmony_ci
97e41f4b71Sopenharmony_ci**Solution**
98e41f4b71Sopenharmony_ci
99e41f4b71Sopenharmony_ciStop the capturer. Start it upon next wakeup.
100e41f4b71Sopenharmony_ci
101e41f4b71Sopenharmony_ci## 22700106 Failed to Read Data
102e41f4b71Sopenharmony_ci
103e41f4b71Sopenharmony_ci**Error Message**
104e41f4b71Sopenharmony_ci
105e41f4b71Sopenharmony_ciRead failed.
106e41f4b71Sopenharmony_ci
107e41f4b71Sopenharmony_ci**Error Description**
108e41f4b71Sopenharmony_ci
109e41f4b71Sopenharmony_ciThis error code is reported if the attempt to start the capturer to read data by calling [read()](js-apis-intelligentVoice-sys.md#read12) fails.
110e41f4b71Sopenharmony_ci
111e41f4b71Sopenharmony_ci**Possible Causes**
112e41f4b71Sopenharmony_ci
113e41f4b71Sopenharmony_ci1. Starting the capturer fails.
114e41f4b71Sopenharmony_ci2. Data reading times out.
115e41f4b71Sopenharmony_ci
116e41f4b71Sopenharmony_ci**Solution**
117e41f4b71Sopenharmony_ci
118e41f4b71Sopenharmony_ciStop the capturer. Call [read()](js-apis-intelligentVoice-sys.md#read12) to read data upon next wakeup.
119e41f4b71Sopenharmony_ci
120e41f4b71Sopenharmony_ci## 22700107 System Error
121e41f4b71Sopenharmony_ci
122e41f4b71Sopenharmony_ci**Error Message**
123e41f4b71Sopenharmony_ci
124e41f4b71Sopenharmony_ciSystem error.
125e41f4b71Sopenharmony_ci
126e41f4b71Sopenharmony_ci**Error Description**
127e41f4b71Sopenharmony_ci
128e41f4b71Sopenharmony_ciThis error code is reported if the system encounters an error.
129e41f4b71Sopenharmony_ci
130e41f4b71Sopenharmony_ci**Possible Causes**
131e41f4b71Sopenharmony_ci
132e41f4b71Sopenharmony_ciThe system processing is abnormal, for example, system service restart or IPC exceptions.
133e41f4b71Sopenharmony_ci
134e41f4b71Sopenharmony_ci**Solution**
135e41f4b71Sopenharmony_ci
136e41f4b71Sopenharmony_ciCreate the service again.
137