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 Maps
Windows Maps
A Microsoft app that provides voice navigation and turn-by-turn driving, transit, and walking directions.
257 questions
0 comments No comments
{count} votes

1 answer

Sort by: Most helpful
  1. IoTGirl 3,211 Reputation points Microsoft Employee
    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 Answers by the question author, which helps users to know the answer solved the author's problem.