Forum Discussion
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')/RenderListDataAsStream' (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')/RenderListDataAsStream
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
- AnonymousNot applicable
Hi Anonymous ,
You can refer the method in the following links to resolve the problem:
DataSource.Error Web.Contents failed to get data from (500): Internal Server Error
PowerBI linked to SharePoint Lists require a Personal Gateway?
Best Regards
- AnonymousNot 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"])