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