ETA for routes > 12 hrs
Posted: Fri Aug 15, 2025 3:14 pm
I have a question about the Developer.ROuting Method getEstimatedTimeOfArrival:
Here's what the documentation says about the validity period of a routeId:
Now the driver starts the trip right after the RouteID has been determined.
Will we be able to create the ETA >12 hours after the trip was started?
Or is the ROuteID vanishing and the ETA returns a "routeID unknown"?
Here's what the documentation says about the validity period of a routeId:
Imagine I compute a long route at 06:00 in the morning. The traveltime for the route itself is said to be 48 hours as it covers an international transport from Barcelona to Warszawa (roughly 2500km, 36hrs bare driving time plus rests)...A route can be represented by a route ID which can be used in subsequent requests to refer to that route and is valid for 12 hours.
Now the driver starts the trip right after the RouteID has been determined.
Will we be able to create the ETA >12 hours after the trip was started?
Or is the ROuteID vanishing and the ETA returns a "routeID unknown"?
Code: Select all
{
"Message": "Error calling CalculateRoute: {
"description": "The validation of the request failed. Details can be found in 'causes'.",
"errorCode": "GENERAL_VALIDATION_ERROR",
"traceId": "....",
"causes":[{
"description": "The 'routeId' cannot be found.",
"errorCode": "ROUTING_ROUTE_ID_NOT_FOUND",
"parameter":"routeId","details":{"value":"...."}
}