cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Highlighted
pmtgcd Frequent Visitor
Frequent Visitor

Authentication issues when using Bing Maps REST API

Capture.PNG

4 REPLIES 4
pmtgcd Frequent Visitor
Frequent Visitor

Re: Authentication issues when using Bing Maps REST API

I am using the following web source:

http://dev.virtualearth.net/REST/v1/Locations/%address1%?o=xml&key={mykey}

 

I am able to authenticate myself using mykey and get the data I need, however, once I hit save and apply I get this error. I have tried multiple different ways to authenticate myself but it won't accept anything.

Community Support Team
Community Support Team

Re: Authentication issues when using Bing Maps REST API

Hi @pmtgcd ,

It seems like this api not support anonymous credentials, please use organization account to instead or invoke 'login' function before other REST API function.

Regards,

Xiaoxin Sheng

Community Support Team _ Xiaoxin Sheng
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.



For learning resources/Release notes, please visit: | |
pmtgcd Frequent Visitor
Frequent Visitor

Re: Authentication issues when using Bing Maps REST API

This API does not accept organizational logins

Community Support Team
Community Support Team

Re: Authentication issues when using Bing Maps REST API

HI @pmtgcd ,

You can try to modify your query and enable RelativePath Parameter in web.connector function to use anonymous mode to authorization with root path:

Web.Contents("http://dev.virtualearth.net", [Headers=[#"key"=mykey], RelativePath="/REST/v1/Locations/address"])

Regards,

Xiaoxin Sheng

Community Support Team _ Xiaoxin Sheng
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.



For learning resources/Release notes, please visit: | |