Share via

Error while using the https://dev.virtualearth.net/REST/v1/Routes/Truck

Maxym Bonnette 0 Reputation points
2024-03-08T21:54:48.4+00:00

Hi, I am using this endpoint:
https://dev.virtualearth.net/REST/v1/Routes/Truck?key={Key}&ur=ca&c=en-CA&setfeatures=gsi-poi

and the route i'm using give me back an error.

But when I'm using https://dev.virtualearth.net/REST/v1/Routes/Truck?key={Key}&ur=ca&c=fr-CA&setfeatures=gsi-poi

The request go trough.

Any tought ?

My guess is, depending of your browser language, it will change the value.

The payload is the same in both queries.

Thanks

Windows for home | Windows 11 | Apps
0 comments No comments

1 answer

Sort by: Most helpful
  1. IoTGirl 3,956 Reputation points Microsoft Employee Moderator
    2024-03-12T19:28:38.96+00:00

    Are you providing waypoints with French characters? They might not be recognized by the English Geocoder, but that would surprise me. Can you try "EN-US" and see if it makes a difference?


Your answer

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