Azure Maps failing with NO_ROUTE_FOUND

Landon Sulick 20 Reputation points
2025-04-14T22:21:04.9233333+00:00

Hello, I am trying to get the distance between two coordinates and Azure Maps is failing and returning a NO_ROUTE_FOUND error. Here is API request that I am using that is failing:
https://atlas.microsoft.com/route/directions/json?subscription-key=<redacted>&api-version=1.0&query=37.3901399,-121.9443419:37.3606615,-121.8470229&routeType=fastest&traffic=false

Would you be able to update the database the Azure Maps uses to get these addresses working? Both locations seem to be legitimate buildings.

thank you!

Landon

Azure Maps
Azure Maps
An Azure service that provides geospatial APIs to add maps, spatial analytics, and mobility solutions to apps.
809 questions
{count} votes

Accepted answer
  1. rbrundritt 20,201 Reputation points Microsoft Employee
    2025-04-15T16:07:29.7033333+00:00

    Looks like you are using the old v1 routing service. Try the newer service: https://learn.microsoft.com/en-us/rest/api/maps/route?view=rest-maps-2025-01-01

    The older service used TomTom data and services directly behind the scenes, and there where the odd location where a route couldn't be calculated.

    The newer service uses the same data and backend as Bing Maps (bing.com/maps) which has a lot more data and improved logic.

    Note that the API interface and response format of the new version is very different from the v1 service. Also, the new service only accepts post requests. The main reason for this is that there are a lot more options available and it is not possible to use half the options before a GET URL would be too long and cause issues in some system.

    1 person found this answer helpful.

0 additional answers

Sort by: Most helpful

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.