目录

Result Codes

Result Code

Value

Description

Solution

SERVICE_NOT_EXIST

101

The requested service does not exist.

Verify that the requested service exists.

SERVICE_RESPONSE_ERROR

102

Requested service response error.

Contact the service side for troubleshooting.

ERROR_CONNECTION

105

The request timed out.

Verify that the network is properly connected.

INSUFFICIENT_PRIVILEGES

106

No permission to access the service.

Verify your permission.

OVER_QUOTA

108

The request exceeds the quota.

Control the QPS based on the service quota.

INVALID_USER_KEY

109

Invalid or expired user key.

Ensure that the user key is valid.

UNKNOWN_ERROR

150

Unknown error.

-

INVALID_REQUEST

10007

The start or end point has no home country, or a service error occurs.

Verify that the passed points have home countries and try again later.

INVALID_REQUEST

10008

Route data does not exist.

No route meeting the search criteria exists.

INVALID_REQUEST

10009

Cross-region route planning is not supported.

Verify that the start point and end point are in the same region.

INVALID_REQUEST

10010

Invalid parameter.

Set parameters properly.

INVALID_REQUEST

10025

The start point, end point, or waypoint does not support navigation.

Verify that route planning is supported in the country/region.

INVALID_PARAMS

20200

The parameter is invalid or missing.

Verify that the parameter is correct.

START_MATCH_FAILED

20201

Failed to match the start point.

Verify that the parameter is correct.

END_MATCH_FAILED

20202

Failed to match the end point.

Verify that the parameter is correct.

ROUTE_PLAN_FAILED

20203

Route planning failed.

Verify that the parameter is correct.

DATA_ERROR

20204

Lack of roads, possibly because of a data error.

Verify that the parameter is correct.

START_END_TOO_CLOSE

20205

The start point is too close to the end point.

Verify that the parameter is correct.

WAYPOINT_MATCH_FAILED

20206

Failed to match the waypoint.

Verify that the parameter is correct.

START_END_TOO_FAR

20207

The start point is too far away from the end point.

Verify that the parameter is correct.

INVALID_TASKID

20208

Invalid task ID.

Verify that the parameter is correct.

DRIVING_HMM_MATCH_FAILED

20210

HMM road binding failure during driving route deviation.

Verify that the parameter is correct.

START_HEAP_EMPTY

20301

The minimum heap of the start point is empty.

Verify that the parameter is correct.

END_HEAP_EMPTY

20302

The minimum heap of the end point is empty.

Verify that the parameter is correct.

OVER_MAX_CALC_TIMES

20303

The number of calculations reaches the maximum.

Contact the service side for troubleshooting.

INVALID_RESULT

20304

Invalid result.

Contact the service side for troubleshooting.

LOADING_FAILED

20305

Loading failed.

Contact the service side for troubleshooting.

LOADING_FAILED

20306

Memory error.

Contact the service side for troubleshooting.

GEN_JSON_REAULT_FAILED

20307

Failed to generate the JSON protocol.

Contact the service side for troubleshooting.

OVER_MAX_INDEX_RESOURCE

20308

The number of index resources reaches the upper limit.

Contact the service side for troubleshooting.

NULL_POINTER

20309

Null pointer.

Contact the service side for troubleshooting.

PROTOCAL_FAILED

20310

Invalid protocol content.

Verify that the protocol content is correct.

RC_OUT_RANGE

20316

The parameter value is out of the range.

Verify that the parameter is correct.

PATH_PLANNING_TIMEOUT

20399

Route planning timed out. (The timeout interval is 3 seconds for driving route planning and 20 seconds for walking and cycling route planning.)

Contact the service side for troubleshooting.

OTHER_ERROR

20400

Other errors.

Contact the service side for troubleshooting.

SUB_SERVER_ERROR_CODE_FOOT_ROUTE_TOO_LONG

40001

The start point is too far away from the end point for walking.

Change the transport mode and try again.

SUB_SERVER_ERROR_CODE_CYCLING_ROUTE_TOO_LONG

50001

The start point is too far away from the end point for cycling.

Change the transport mode and try again.