cannot run SnapToRoad example with my key

Gary Li 20 Reputation points
2023-06-12T20:31:01.9966667+00:00

Hi,

I try to run SnapToRoad example with mykey (not posted here), but got error that says the mykey is invalid:

https://dev.virtualearth.net/REST/v1/Routes/SnapToRoad?points=47.590868,-122.336729;47.601604,-122.336042;47.60849,-122.34241;47.610568,-122.345064&includeTruckSpeedLimit=true&IncludeSpeedLimit=true&speedUnit=MPH&travelMode=driving&key={mykey}

Here is what shows on my account:

Key: Show key
Application Url:
Key type: Basic / Dev/Test
Created date: 06/08/2023
Expiration date: None
Key Status: Enabled
Security Enabled: No

Gary
Here is the error I got:

{"authenticationResultCode":"InvalidCredentials","brandLogoUri":"http:\/\/dev.virtualearth.net\/Branding\/logo_powered_by.png","copyright":"Copyright © 2023 Microsoft and its suppliers. All rights reserved. This API cannot be accessed and the content and any results may not be used, reproduced or transmitted in any manner without express written permission from Microsoft Corporation.","errorDetails":["Access was denied. You may have entered your credentials incorrectly, or you might not have access to the requested resource or operation."],"resourceSets":[],"statusCode":401,"statusDescription":"Unauthorized","traceId":"b7044d0f2c794ed39818e953bba9894d|MWH0032BE8|0.0.0.0"}
Windows Maps
Windows Maps
A Microsoft app that provides voice navigation and turn-by-turn driving, transit, and walking directions.
253 questions
0 comments No comments
{count} votes

1 answer

Sort by: Most helpful
  1. IoTGirl 3,051 Reputation points Microsoft Employee
    2023-06-14T00:27:31.5533333+00:00

    Hi Gary,

    For Account Support you can reach out to MPNet@Microsoft.com. For licensing questions, you can start with MapLic@Microsoft.com.

    Sincerely,

    IoTGirl