Status Code Comparison Table
In order to better troubleshoot the issue, the callback interface will return a response code. The response code list is as follows:
status(status) | in English description | state Description (msg) | Remarks |
---|---|---|---|
0 | RouterErrorInfo.Type.None | No error message | |
1 | RouterErrorInfo.Type.OriDestTooNear | The starting and ending distances are too close | |
2 | RouterErrorInfo.Type.SetOriFailed | Setting the starting point failed, the common reason is that the starting point is far from the road, or there is no data file (.red) | |
3 | RouterErrorInfo.Type.SetDestFailed | Setting the end point failed, the common reason is that the end point is far from the road | |
4 | RouterErrorInfo.Type.ComputeFailed | Route calculation failed | |
5 | RouterErrorInfo.Type.MissingSubfiles | Use the province When the data is packaged, it may be because the planned route is longer. After some other provinces | The data of other provinces are needed to complete the calculation. The missing province information is in the additionalMessage. |
6 | RouterErrorInfo.Type.NotEnoughMemory | Not enough memory to use | |
7 | RouterErrorInfo.Type.NetworkError | Network Connection Error | |
8 | RouterErrorInfo.Type.oriNoData | No data at the starting point | |
9 | RouterErrorInfo.Type.destNoData | There is no data at the end of the location | |
10 | RouterErrorInfo.Type.waypointNoData | There is no data at the location of the route point | |
11 | RouterErrorInfo.Type.oriAuthError | The location of the location data authorization is wrong | |
12 | RouterErrorInfo.Type.destAuthError | The data authorization error at the end location | |
13 | RouterErrorInfo.Type.waypointAuthError | The location data authorization for the waypoint Error | |
14 | RouterErrorInfo.Type.illegalCall | An error caused by an unreasonable call to the interface, such as an engine that does not support walking offline calculations, call offline walk | |
15 | RouterErrorInfo.Type.oriGuidMismatch | The location data of the starting point does not match the base data (base.dat) | |
16 | RouterErrorInfo.Type.destGuidMismatch | Location data and The underlying data (base.dat) does not match | |
17 | RouterErrorInfo.Type.waypointGuidMismatch | Location data and base Data (base.dat) does not match | |
18 | RouterErrorInfo.Type.baseDataInvalidOrMissing | The underlying data (base.dat) is invalid or non-existent |