Assigned
Status Update
Comments
ca...@google.com <ca...@google.com> #2
Thank you for posting.
Kindly provide more information regarding your issue so we can further investigate.
- Please advise what Google Maps service you are using.
Complete sample request
of the API you are using that encounters issues with all the values of the parameters used.- The
actual
andyour expected
results with theofficial source of information
(like any government approved resources or latest Street view signage) that can confirm. - Screenshots in a standard image format (e.g. PNG or JPEG) or screen recordings and steps to reproduce the issue.
mi...@google.com <mi...@google.com> #3
Thank you for waiting.
We have verified and logged this issue internally. Please note that we cannot give you any timelines, but you can star the issue to get notifications.
Please note that using the trafficModel
request parameter requires setting routingPreference
to TRAFFIC_AWARE_OPTIMAL
(and since your request is missing this, it defaults to TRAFFIC_UNAWARE
). Please see the example request here:
Description
When trying to change to a different traffic model, the API returns the following:
400 - "{\"error\": {\n \"code\": 400,\n \"message\": \"Request contains an invalid argument.\",\n \"status\": \"INVALID_ARGUMENT\"\n }\n}\n"
The JSON used is:
{
"origin": {
"address": "Rontgenweg 154, 2624BE Delft"
},
"destination": {
"address": "Keplerlaan 1, 2201 AZ Noordwijk"
},
"travelMode": "DRIVE",
"computeAlternativeRoutes": false,
"trafficModel": "PESSIMISTIC",
"routeModifiers": {
"avoidTolls": false,
"avoidHighways": false,
"avoidFerries": false
},
"languageCode": "en-US",
"units": "METRIC"
}