• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1# Proxy Channel Management 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## 32390001 Bluetooth Disabled
8
9**Error Message**
10
11BR is disabled.
12
13**Description**
14
15This error code is reported if Bluetooth is disabled on the local device.
16
17**Possible Causes**
18
19Bluetooth is disabled on the local device.
20
21**Solution**
22
23Enable Bluetooth on the local device and try again.
24
25## 32390002 Bluetooth Unpaired
26
27**Error Message**
28
29Device not paired.
30
31**Description**
32
33This error code is reported if the local device has not established a Bluetooth pairing.
34
35**Possible Causes**
36
371. The local device has not established a Bluetooth pairing with the target device.
382. The Bluetooth service on the peer device has not enabled listening for pairing requests.
393. An invalid MAC address or UUID is used.
40
41**Solution**
42
431. Use the Health & Fitness app to add the device and pair it via Bluetooth.
442. Check whether the Bluetooth service on the peer device has enabled listening for pairing requests.
453. Check whether the input MAC address and UUID are valid.
46
47## 32390004 Invalid or Unavailable Channel ID
48
49**Error Message**
50
51ChannelId is invalid or unavailable.
52
53**Description**
54
55This error code is reported if the channel ID is invalid or unavailable.
56
57**Possible Causes**
58
591. The input **channelId** is invalid, that is, it is not the one returned by **openProxyChannel**.
602. The related channel has been closed.
61
62**Solution**
63
641. Review the code logic to determine if **channelId** is the one returned by **openProxyChannel**.
652. Review the code logic to determine if **channelId** is still used after the channel is closed.
66
67## 32390006 Parameter Verification Error
68
69**Error Message**
70
71Parameter error.
72
73**Description**
74
75This error code is reported if the parameter verification fails.
76
77**Possible Causes**
78
791. The format of the input MAC address or service UUID is incorrect.
802. The type of the input parameters is incorrect.
81
82**Solution**
83
84Review the code logic to determine if the MAC address and service UUID are in correct format and the type of the input parameters is correct.
85
86## 32390100 Internal Error
87
88**Error Message**
89
90Internal error.
91
92**Description**
93
94This error code is reported if an internal error occurs.
95
96**Possible Causes**
97
98System errors, such as null pointer, insufficient memory, unexpected distributed service restart, IPC exception, and JS engine exception.
99
100**Solution**
101
102Try again. If the fault persists, restart the application, update the application, or update the device version.
103
104## 32390101 Call Restricted
105
106**Error Message**
107
108Call is restricted.
109
110**Description**
111
112This error code is reported if an API call is restricted.
113
114**Possible Causes**
115
116The callers is not authorized to perform the operation.
117
118**Solution**
119
120Apply for the required permissions.
121
122## 32390102 Operation Failed or Connection Timed Out
123
124**Error Message**
125
126Operation failed or Connection timed out.
127
128**Description**
129
130This error code is reported if the operation fails or the connection times out.
131
132**Possible Causes**
133
134The underlying Bluetooth is faulty, leading to a connection failure or timeout.
135
136**Solution**
137
1381. Enable and disable Bluetooth on the local device and the target device.
1392. Restart the local device and the target device, and then enable Bluetooth on the devices.
140
141## 32390103 Data Too Long
142
143**Error Message**
144
145Data too long.
146
147**Description**
148
149This error code is reported if the data to be sent exceeds the length limit.
150
151**Possible Causes**
152
153The length of the data to be sent exceeds 4096 bytes.
154
155**Solution**
156
157Check the length of the data to be sent.
158
159## 32390104 Data Sending Failed
160
161**Error Message**
162
163Send failed.
164
165**Description**
166
167This error code is reported if data fails to be sent via Bluetooth.
168
169**Possible Causes**
170
171The underlying Bluetooth is faulty.
172
173**Solution**
174
1751. Restart Bluetooth on the local device and the target device.
1762. Restart the local device and the target device.
177