1# Network Sharing 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## 2200001 Invalid Parameter Value
8
9**Error Message**
10
11Invalid parameter value.
12
13**Description**
14
15This error code is reported if the parameter value is invalid.
16
17**Cause**
18
19The input parameter value is not within the valid value range.
20
21**Procedure**
22
23Check whether the input parameter value is within the valid value range.
24
25## 2200002 Service Connection Failure
26
27**Error Message**
28
29Failed to connect to the service.
30
31**Description**
32
33This error code is reported if a service connection failure occurs.
34
35**Cause**
36
37The service is abnormal.
38
39**Procedure**
40
41Check whether system services are running properly.
42
43## 2200003 System Internal Error
44
45**Error Message**
46
47System internal error.
48
49**Description**
50
51This error code is reported if a system internal error occurs.
52
53**Cause**
54
551. The memory is abnormal.
56
572. A null pointer is present.
58
59**Procedure**
60
611. Check whether the memory space is sufficient. If not, clear the memory and try again.
62
632. Check whether the system is normal. If not, try again later or restart the device.
64
65## 2202004 Shared Iface Unavailable
66
67**Error Message**
68
69Try to share an unavailable iface.
70
71**Description**
72
73This error code is reported if an Iface is used.
74
75**Cause**
76
77The specified Iface does not exist or the Iface name is incorrect.
78
79**Procedure**
80
811. Run **ifconfig -a** to check whether the shared Iface is available.
82
832. Check whether the Iface name is correct.
84
85## 2202005 Wi-Fi Sharing Failure
86
87**Error Message**
88
89WiFi sharing failed.
90
91**Description**
92
93This error code is reported if Wi-Fi sharing fails.
94
95**Cause**
96
97No connected network is available and therefore the attempt to obtain the default network fails.
98
99**Procedure**
100
101Check whether the network connection is normal.
102
103## 2202006 Bluetooth Sharing Failure
104
105**Error Message**
106
107Bluetooth sharing failed.
108
109**Description**
110
111This error code is reported if Bluetooth sharing fails.
112
113**Cause**
114
1151. Bluetooth is disabled.
116
1172. No connected network is available and therefore the attempt to obtain the default network fails.
118
119**Procedure**
120
1211. Touch the Bluetooth icon to turn on Bluetooth mode.
122
1232. Check whether the network connection is normal.
124
125## 2202009 Failed to Enable Forwarding for Network Sharing
126
127**Error Message**
128
129Failed to enable forwarding for network sharing.
130
131**Description**
132
133This error code is reported if an error occurs while enabling forwarding for network sharing.
134
135**Cause**
136
137The Iptables rule setting fails and therefore an error occurs while combining Iptables commands fails.
138
139**Procedure**
140
141Enable the debug log function, and check whether Iptables commands are correctly combined.
142
143## 2202011 Failed to Obtain the Network Sharing Configuration
144
145**Error Message**
146
147Cannot get network sharing configuration.
148
149**Description**
150
151This error code is reported if an error occurs while obtaining the network sharing configuration.
152
153**Cause**
154
155The configuration file directory is incorrect.
156
157**Procedure**
158
159Specify a correct configuration file directory.
160