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

Don't miss out! 2025 Microsoft Fabric Community Conference, March 31 - April 2, Las Vegas, Nevada. Use code MSCUST for a $150 discount. Prices go up February 11th. Register now.

Reply
Anonymous
Not applicable

Error Connecting to SharePoint Online List: Processing errorWeb.Contents failed to get contents

My report was connected to a SharePoint list, now it will not refresh or connect.  The report connects to the site but fails to pull data from the target list.

Error:

DataSource.Error: Web.Contents failed to get contents from 'https://abc.sharepoint.com/sites/the-site/_api/Web/Lists(guid'1111-2222-4808-b7ef-26fd76962fcb')/Ren...' (500): Internal Server Error
Details:
DataSourceKind=SharePoint
DataSourcePath=https://abc.sharepoint.com/sites/the-site
Url=https://abc.sharepoint.com/sites/the-site/_api/Web/Lists(guid'1111-2222-4808-b7ef-26fd76962fcb')/Ren...

Implementation: 2.0 beta
View Mode - All

let
Source = SharePoint.Tables("https://abc.sharepoint.com/sites/the-site/", [Implementation="2.0", ViewMode="All"]),
#"1111-2222-4808-b7ef-26fd76962fcb" = Source{[Id="1111-2222-4808-b7ef-26fd76962fcb"]}[Items],

 

This is the point of failure.

 

 

2 REPLIES 2
v-yiruan-msft
Community Support
Community Support

Hi @Anonymous ,

You can refer the method in the following links to resolve the problem:

"Web.contents failed to get content from site URL" displayed after trying to establish a connection in Power BI to Assemble

DataSource.Error Web.Contents failed to get data from (500): Internal Server Error

PowerBI linked to SharePoint Lists require a Personal Gateway?

Best Regards

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

There is no API=X option when using the 2.0 connection.

= SharePoint.Tables("https://abc.sharepoint.com/sites/the-site/", [Implementation="2.0", ViewMode="All"])

Helpful resources

Announcements
Las Vegas 2025

Join us at the Microsoft Fabric Community Conference

March 31 - April 2, 2025, in Las Vegas, Nevada. Use code MSCUST for a $150 discount! Prices go up Feb. 11th.

Jan25PBI_Carousel

Power BI Monthly Update - January 2025

Check out the January 2025 Power BI update to learn about new features in Reporting, Modeling, and Data Connectivity.

Jan NL Carousel

Fabric Community Update - January 2025

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