Forum Discussion

Philip_Foncke's avatar
Philip_Foncke
Copper Contributor
Jan 25, 2022

'NO_ROUTE_FOUND' error when using truck or car as travelmode

Error when using
https://atlas.microsoft.com/route/directions/json?&subscription-key=xxxxxxx&api-version=1.0&language=nl-BE&maxAlternatives=5&travelMode=truck&query=50.70012%2c3.26978:51.043181141774%2c4.0974215693209945
with mode 'bicycle' it works fine.

1 Reply

  • Would suggest trying this:

     

    1. Switch to api-version=2025-01-01
    2. Confirm both coordinates are on valid drivable roads
    3. Add truck-specific parameters if needed (weight, height, hazardous materials)
    4. Test with car mode after updating API version to confirm stability