Forum Discussion
MRosk95
1 year agoFrequent Visitor
Access to Resource Forbidden - Web Contents
Hi there, Until today, I have been accessing a public website through Power Query and pulling content down. All of a sudden I am getting an "Access to Resource is Forbidden" error. This is my ...
MRosk95
1 year agoFrequent Visitor
Hey lbendlin thank you so much for your response.
The issue that I continuall come across with Web.BrowserContents() is that I can't get it to refresh in Power Bi Service without installing a on-premises personal gateway?
I could be wrong but why do I need an on-premises gateway to hit a public website? as such Web.Contents is the only option I can seem to use to achieve the outcome I want.
If you have a workaround or any ideas it would be a huge help.
Thanks,
M
lbendlin
1 year agoSuper User
What you are doing is basically screen scraping. This is frowned upon. The "correct" way would be to use the data API that your data source should provide. That's what Web.Contents is designed for - for APIs, not for webpage scraping.