Forum Discussion
Typing probleme during Getting IP Address Details from IP Address
Hello After using this fn to Getting IP Address Details from IP Address
tuto : "https://community.powerbi.com/t5/Desktop/IP-address-mapping/m-p/138436"
I have this result :
with this error message :
"DataSource.Error: The downloaded data is of type HTML, which is not the expected type. The URL may be wrong, or you may not have provided the correct credentials to the server."
I looked at all the other forum topics about this and it seems to work for everyone, I don't understand where the problem could come from.
Waiting for an answer. Thks
- Anonymous4 years ago
amitchandak thx for your your help,
I know where is the problem, from
"Source = Json.Document(Web.Contents("http://freegeoip.net/json/" & #"IP Address")),"
I tryed to change http://freegeoip.net/json/ -> http://freegeoip.net/html/ , but not worked.
And I tryed some others issus but same error message ...
I dont know how import data in JSON or change expecting data in html.
3 Replies
- amitchandakSuper User
Anonymous , It was expecting a JSON and it is getting HTML.
Can you try to take it as web and try
- AnonymousNot applicable
amitchandak thx for your your help,
I know where is the problem, from
"Source = Json.Document(Web.Contents("http://freegeoip.net/json/" & #"IP Address")),"
I tryed to change http://freegeoip.net/json/ -> http://freegeoip.net/html/ , but not worked.
And I tryed some others issus but same error message ...
I dont know how import data in JSON or change expecting data in html.- ZhongyuanFrequent Visitor
Hi Anonymous Have you solved this problem? I had the same error message when mapping ip address.