• 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 Message**
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 Message**
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 Failure to Obtain the Positioning Result
48
49**Error Message**
50
51Failed to obtain the geographical location.
52
53**Description**
54
55This error code is reported when the location service fails, and no positioning result is obtained.
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 Reverse Geocoding Query Failure
68
69**Error Message**
70
71Reverse geocoding query failed.
72
73**Description**
74
75This error code is reported for a reverse geocoding query failure.
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
83Try the reverse geocoding query again.
84
85## 3301400 Geocoding Query Failure
86
87**Error Message**
88
89Geocoding query failed.
90
91**Description**
92
93This error code is reported for a geocoding query failure.
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
101Try the geocoding query again.
102
103## 3301500 Area Information Query Failure
104
105**Error Message**
106
107Failed to query the area information.
108
109**Description**
110
111This error code is reported for the failure to query the area information (including the country code).
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 Failure
122
123**Error Message**
124
125Failed to operate the geofence.
126
127**Description**
128
129This error code is reported when an operation (like adding, deleting, pausing, and resuming) fails to be performed on the geofence.
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 Message**
144
145No response to the request.
146
147**Description**
148
149This error code is reported when 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