• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1# Location Subsystem 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## 3301000 Location Service Unavailable
8
9**Error Information**
10
11Location service is unavailable.
12
13**Description**
14
15This error code is reported when the location service is unavailable and relevant APIs cannot be called.
16
17**Possible Causes**
18
191. The location service fails to be started. As a result, the communication between the application and the location service fails, and the location service is unavailable.
20
212. The GNSS chip fails to be initialized, and thus the GNSS positioning function becomes invalid.
22
233. The network positioning service is abnormal, and thus the network positioning function becomes invalid.
24
25**Solution**
26
27Stop calling the API.
28
29## 3301100 Location Service Unavailable Because of Switch Toggled Off
30
31**Error Information**
32
33The location switch is off.
34
35**Description**
36
37This error code is reported when the location service is unavailable because the service switch is toggled off.
38
39**Possible Causes**
40
41The location service switch is toggled off, which makes basic functions such as continuous positioning and immediate positioning unavailable.
42
43**Solution**
44
45Display a prompt asking for enabling the location service.
46
47## 3301200 Failed to Obtain the Positioning Result
48
49**Error Information**
50
51Failed to obtain the geographical location.
52
53**Description**
54
55This error code is reported if the location service has failed, leading to a failure to obtain the positioning result.
56
57**Possible Causes**
58
591. Positioning timed out because of weak GNSS signals.
60
612. Positioning timed out because the network positioning service is abnormal.
62
63**Solution**
64
65Initiate a positioning request again.
66
67## 3301300 Query Failed During Reverse Geocoding
68
69**Error Information**
70
71Reverse geocoding query failed.
72
73**Description**
74
75This error code is reported if the query during reverse geocoding has failed.
76
77**Possible Causes**
78
79Network connection is poor, which makes the request fail to be sent from the device or the result fail to be returned from the cloud to the device.
80
81**Solution**
82
83Perform a query again.
84
85## 3301400 Query Failed During Geocoding
86
87**Error Information**
88
89Geocoding query failed.
90
91**Description**
92
93This error code is reported if the query during geocoding has failed.
94
95**Possible Causes**
96
97Network connection is poor, which makes the request fail to be sent from the device or the result fail to be returned from the cloud to the device.
98
99**Solution**
100
101Perform a query again.
102
103## 3301500 Area Information Query Failed
104
105**Error Information**
106
107Failed to query the area information.
108
109**Description**
110
111This error code is reported if the query of the area information (including the country code) has failed.
112
113**Possible Causes**
114
115The correct area information is not found.
116
117**Solution**
118
119Stop calling the API for querying the country code.
120
121## 3301600 Geofence Operation Failed
122
123**Error Information**
124
125Failed to operate the geofence.
126
127**Description**
128
129This error code is reported if a geofence operation, for example, adding, deleting, pausing, or resuming a geofence, has failed.
130
131**Possible Causes**
132
1331. The GNSS chip does not support the geofence function.
134
1352. The bottom-layer service logic is abnormal.
136
137**Solution**
138
139Stop calling the geofence operation API.
140
141## 3301700 No Response to the Request
142
143**Error Information**
144
145No response to the request.
146
147**Description**
148
149This error code is reported if no response is received for an asynchronous request that requires a user to click a button for confirmation or requires a response from the GNSS chip or network server.
150
151**Possible Causes**
152
1531. The user does not click a button as required for confirmation.
154
1552. The GNSS chip does not respond.
156
1573. The network server does not respond.
158
159**Solution**
160
161Stop calling relevant APIs.
162
163## 3301800 Failed to Start Wi-Fi or Bluetooth Scanning
164
165**Error Information**
166
167Failed to start WiFi or Bluetooth scanning.
168
169**Description**
170
171This error code is reported if Wi-Fi or Bluetooth scanning fails to start.
172
173**Possible Causes**
174
1751. The Wi-Fi or Bluetooth service incurs an internal error.
176
1772. Power consumption control is activated because of low battery level.
178
1793. Wi-Fi or Bluetooth is not enabled.
180
181**Solution**
182
183Turn off Wi-Fi or Bluetooth, and then turn it on again.
184