Skip to content

Directions API

Status Codes/Functional Maximums

The following tables describe the error messages that can be returned from an unsuccessful route request. Each function section also lists any functional maximums acceptable for that call.

Directions Service Call

Status CodeDescription
0A successful route call.
400Invalid Request.
401Invalid Options.
402Invalid Location.
403Key-related error.
500Unknown error
600Invalid session ID.
601Session ID expired
602Baseline failed.
604Exceeded maximum search time.
605Exceeded maximum search distance.
606Exceeded maximum number of locations.
607Failed to get density for all locations.
608Exceeded pedestrian maximum gross distance for locations.
609Exceeded maximum gross distance for locations.
610Ambiguities detected in locations.
611At least two locations required
612No routes available for location.

Route/Optimized Route Call

Status CodeDescription
601Invalid location specified.
602The route failed, normally due to mustAvoidLinkIds options being set in a way that makes the route impossible.
603No dataset found to calculate the route.
610Ambiguities were found in one or more of the locations specified and ambiguities=ignore was not set.
MaximumDescription
50Number of locations acceptable.

Route Matrix Call

Status CodeDescription
601Invalid location specified.
602No routes were found.
603No dataset found to calculate the route.
604Invalid option was specified.
605Partial Success.
606Exceeded maximum locations.
MaximumDescription
25Number of locations acceptable.

Drag Route Call

Status CodeDescription
601Invalid location specified.
602The route failed, normally due to mustAvoidLinkIds options being set in a way that makes the route impossible.
603No dataset found to calculate the route.
MaximumDescription
20Number of via points acceptable.

Route Shape Call

Status CodeDescription
601Invalid session specified.

Path from Route Call

Status CodeDescription
601Partial Success
602Exceeded maximum number of POIs
603Not Specified
604Exceeded maximum search time
605Exceeded maximum search distance
606Failure
607No POIs
608No nodes were found within the supplied corridor limits
MaximumDescription
1000Number of pois.
15 minutesTime to perform search.
10 miles (16 km)Distance to perform search.