indicates that the provided request was invalid. Common causes of this status include an invalid parameter or parameter value.
indicates the requested route is too long and cannot be processed. This error occurs when more complex directions are returned. Try reducing the number of waypoints, turns, or instructions.
indicates that too many waypoints
were provided in the request. For applications using the Directions API as a web service,
or the directions service in the Maps JavaScript API,
the maximum allowed number of waypoints
is 23, plus the origin and destination.
indicates at least one of the locations specified in the request's origin, destination, or waypoints could not be geocoded.
indicates the response contains a valid result
.
indicates any of the following:
indicates the service has received too many requests from your application within the allowed time period.
indicates that the service denied use of the directions service by your application.
indicates a directions request could not be processed due to a server error. The request may succeed if you try again.
indicates no route could be found between the origin and destination.
The
status
field within the Directions response object contains the status of the request, and may contain debugging information to help you track down why the Directions service failed.Deprecated