Document Maps JavaScript API Advanced Tutorial Foundation State

State

info

Status description

Troubleshooting strategy

OK

Request successful

Request successful

SERVICE_NOT_AVAILABLE

Service unavailable

1.The developer does not have permission to use the corresponding service

2.The path of the interface requested by the developer is misspelled

INVALID_USER_KEY

The key is incorrect or expired

The key passed by the developer when initiating the request is incorrect or expired

INVALID_USER_SCODE

The security code failed verification

Check if the security code matches the key

INVALID_USER_DOMAIN

The bound domain is invalid

The domain bound by the developer is invalid and needs to be reset in the official console

USERKEY_PLAT_NOMATCH

The request key does not match the bound platform

The key used in the request does not match the bound platform, for example: the developer applied for a JS API key but used it to call the web service interface

NOT_SUPPORT_HTTPS

The service does not support HTTPS requests

The service does not support https requests, if you need to apply for support, please submit a ticket to contact us.

INSUFFICIENT_PRIVILEGES

Insufficient permissions, service request was denied

The service was denied due to lack of permission to request the service.

USER_KEY_RECYCLED

The key was deleted

The developer deleted the key, and the key cannot be used normally after deletion

INVALID_PARAMS

Illegal request parameters

The value of the request parameter was not filled in according to the specification. For example, a parameter value range is [1,3], and the developer mistakenly entered '4'

MISSING_REQUIRED_PARAMS

Missing required parameters

Missing required parameters in the interface

UNKNOWN_ERROR

Other unknown errors

Other unknown errors

OUT_OF_SERVICE

The planning points (including start point, end point, waypoints) are not within the land area of China

This issue may occur when using the path planning service interface, the planning points (including start point, end point, waypoints) are not within the land area of China

NO_ROADS_NEARBY

No road can be found near the marked points (start point, end point, waypoints)

This issue may occur when using the path planning service interface, no road can be found near the marked points (start point, end point, waypoints)

ROUTE_FAIL

Route calculation failed, usually due to road connectivity issues

This issue may occur when using the route planning service interface, where the route calculation fails, usually due to the connectivity relationship of the roads.

OVER_DIRECTION_RANGE

The distance between the start and end points is too long.

This issue may occur when using the route planning service interface, where the route calculation fails, usually due to the distance between the start and end points being too long.

ENGINE_RESPONSE_DATA_ERROR

Service response failed.

If an error code starting with 3 appears, it is recommended to first check if the input parameters are correct. If the issue cannot be resolved, please describe the error reproduction information in detail and submit a ticket to us.