I’m using Bing Map API to get latitude and longitude from address


Got “authenticationResultCode”:”ValidCredentials” latitude and longitude as 40.486216,-74.451819.
But, when I use the same Bing MAP API key to get my Location detail from the lat and long, I get


Getting InvalidCredentials

{"authenticationResultCode":"InvalidCredentials","brandLogoUri":"https://dev.virtualearth.net/Branding/logo_powered_by.png","copyright":"Copyright © 2024 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":"74c389b15e4e447ba1baf0089141d813|BN00006C5D|"}

What wrong am I doing here. Any help please.

New contributor

Kam is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.

Khám phá các thẻ bài đăng