Unexpected "604: Unable to calculate route. Start time occurs in the past." when routing based on idealized time.

2 posts / 0 new
Last post
huygee
Unexpected "604: Unable to calculate route. Start time occurs in the past." when routing based on idealized time.

It seems that when routing using an idealized arrival time (day-of-week + time-of-day), if the wallclock time is too close to the target arrival time, the routing request fails with the error "Unable to calculate route. Start time occurs in the past."

Sample request:

http://www.mapquestapi.com/directions/v2/route?key=[your key]&routeType=fastest&timeType=3&useTraffic=true&doReverseGeocode=false&to=34.1385992,-118.354598&from=33.8123454,-117.92119&dateType=5&localTime=9:30

(select dateType and localTime to just after the current time)

It seems that this should be able to shift the target arrival time forward a week and successfully route, as is the case if you specify an arrival time a minute in the past. Are there any options that will force it to do so?


MQBrianCoakley
There are no options to force
There are no options to force this but this has been submitted as an enhancement request. Thanks for the information.