Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 

Register now to learn Fabric in free live sessions led by the best Microsoft experts. From Apr 16 to May 9, in English and Spanish.

Reply
row_01
New Member

Getting 404 error on web.contents request

I'm having trouble using PowerBI to read the contents of a new Yahoo Finance web page. Yahoo changed their layout for their earnings calendar page today, and now the query is returning a 404 error with the new URL. The URL loads fine in a browser but seemingly PowerBI is unable to read the contents. Any suggestions how to resolve this?

 

= Web.Page(Web.Contents("http://finance.yahoo.com/calendar/earnings"))

 

 

DataSource.Error: The remote server return an HTTP status code '404' when trying to access 'http://finance.yahoo.com/calendar/earnings/'.
Details:
DataSourceKind=Web
DataSourcePath=http://finance.yahoo.com/calendar/earnings
Url=http://finance.yahoo.com/calendar/earnings/

1 ACCEPTED SOLUTION
Eric_Zhang
Employee
Employee

@row_01

 

It is a public webpage and Power BI can access it without problem in my test. Do you simply click "get data"->"other"->"web"? Can you try to create a new report and try to load that page?

 

Capture.PNG

View solution in original post

2 REPLIES 2
Eric_Zhang
Employee
Employee

@row_01

 

It is a public webpage and Power BI can access it without problem in my test. Do you simply click "get data"->"other"->"web"? Can you try to create a new report and try to load that page?

 

Capture.PNG

Now it is working. I also re-opened my original workbook and refreshed the original query and it loaded this time. Not sure what was causing this - thank you for the quick reply. 

Helpful resources

Announcements
Microsoft Fabric Learn Together

Microsoft Fabric Learn Together

Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City

PBI_APRIL_CAROUSEL1

Power BI Monthly Update - April 2024

Check out the April 2024 Power BI update to learn about new features.

April Fabric Community Update

Fabric Community Update - April 2024

Find out what's new and trending in the Fabric Community.