• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
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
31Input parameter value error.
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
69Commit enroll failed.
70
71**Error Description**
72
73This error code is reported if an error occurs after the [commit()](../apis/js-apis-intelligentVoice.md#commit) API of the enrollment engine is called.
74
75**Possible Cause**
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