Forum Discussion
Error 404 DataSource.Error: Web.Contents failed to get contents using Excel file from Sharepoint
Eric_Zhang I'm having the exact same kind of issue for one specific file that I'm trying to connect to.
The file is located in OneDrive and I have no problem to access the file with same URL in for example a browser.
When changing from https to http I'm able to access the file but I really need to use https to be able to use a organizational account once the report is published to Power Bi Service.
I have tried to delete the file and upload it again to OneDrive but still get the same error.
I'm connecting to many other files using same method without issues but this specific file will not work!
Br,
Magnus
I have a similar issue. I used Web.Contents to get data from a Web Api. It works fine in Desktop, but when I publish it, I get prompted to authenticate, even though anonymous authentication should be supported. I get a 404 error even though the same query works fine in Desktop.