Directions Service: 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 Code Description
0A successful route call.
400Error with input - The error message will start with: "Illegal argument from request:" followed by the specific error condition.
403Key related error - The error message will attempt to explain why there was an error with the key and should provide a link to the Developer Network.
500Unknown error - The error message will start with: "Error processing request:" followed by the message from the exception.
600 - 699 Other error - Although the route request was valid, it could not be completed (e.g. because the estimate route length exceeded the maximum allowed value). See the error message included with the response for more details

Route/Optimized Route Call

Status Code Description
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.
Maximum Description
50Number of locations acceptable.

Route Matrix Call

Status Code Description
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.
604Invalid option was specified.
605Partial Success.
606Exceeded maximum locations.
Maximum Description
25Number of locations acceptable.

Drag Route Call

Status Code Description
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.
Maximum Description
20Number of via points acceptable.

Route Shape Call

Status Code Description
601Invalid session specified.

Path from Route Call

Status Code Description
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
Maximum Description
1000Number of pois.
15 minutesTime to perform search.
10 miles (16 km)Distance to perform search.
  © MapQuest, Inc. All rights reserved.    Privacy Policy | Terms of Use