Closed bryandh closed 8 years ago
Thanks for reporting. We are seeing the same issue and investigate it right now.
We have found the issue and resolved it. It was a misconfiguration on our side. Can you check again if it works as expected now?
It works exactly as expected now. Thank you very much for the quick response and fix!
When I call the Mapbox Directions API for driving directions between two coordinates, it returns data for the cycling profile instead of the driving profile. When calling the API for cycling directions, it returns data for the driving profile instead of the cycling profile.
Only the walking profile seems to work correctly.
The API used to return the correct dataset before. I noticed the change when the duration was very off from what the API used to return.
Example URL for driving https://api.mapbox.com/directions/v5/mapbox/driving/4.334225,51.572969;3.872782,51.486525.json?steps=true&overview=full&geometries=geojson&access_token=[ACCESTOKEN]
Example URL for cycling https://api.mapbox.com/directions/v5/mapbox/cycling/4.334225,51.572969;3.872782,51.486525.json?steps=true&overview=full&geometries=geojson&access_token=[ACCESTOKEN]
Screenshot when calling the API with the cycling profile but getting driving profile data back.
Screenshot when calling the API with the driving profile but getting cycling profile data back.