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

Enhance your career with this limited time 50% discount on Fabric and Power BI exams. Ends August 31st. Request your voucher.

Reply
AliPoTD
Advocate II
Advocate II

Sudden error getting data from SharePoint - DataSource.Error: Web.Contents failed to get contents

Hello all,

 

I have today suddenly started to have problems with existing reports getting data from SharePoint files.

 

I have several reports which use SharePoint.Contents("https://xxx.sharepoint.com/sites/yyy", [ApiVersion = 15]).

 

These have been working without error, but today, around midday, I started to get errors such as the below, which appears to be due to getting files saved on SharePoint. This was whilst working in Power BI Desktop, but I have also noticed some other existing reports showing errors on Power BI Service when trying to refresh with similar error messages stating they cannot get the data from SharePoint.

 

Is this a known bug? Does anyone know why this has suddenly started happening?

 

Any help grately appreciated, thank you.

 

Example A: 

DataSource.Error: Web.Contents failed to get contents from 'https://trewithen.sharepoint.com/sites/DataStore/_api/web/getfilebyserverrelativeurl('/sites/yyy/Sha...' (500): Internal Server Error
Details:
DataSourceKind=SharePoint
DataSourcePath=https://xxx.sharepoint.com/sites/yyy
Url=https://xxx.sharepoint.com/sites/yyy/_api/web/getfilebyserverrelativeurl('/sites/yyy/Shared%20Docume...

 

Example B:

An error occurred in the ‘xxxData 2021’ query. DataSource.Error: SharePoint: Request failed: The remote server returned an error: (500) Internal Server Error. (Internal Server Error)
Details:
DataSourceKind=SharePoint
DataSourcePath=https://xx.sharepoint.com/sites/yyy
Url=https://xxx.sharepoint.com/sites/yyy/_api/Web/GetFolderByServerRelativePath(decodedurl='/sites/yyy/S... Documents/Farm Collections/NML')/Files

1 ACCEPTED SOLUTION
AliPoTD
Advocate II
Advocate II

Looks as though there is an outage today - I've just been advised by our IT department that

"SharePoint is having issues today that are affecting some users globally. Microsoft is aware and are working to fix it, however in the mean time they're recommending to save any files they're working on locally.

Another recommendation is to try updating all Office apps by opening any Office app like Word and navigate to:
File > Account > Microsoft 365 and Office Updates > Update Options > Update Now"

 

Have added here in case anyone else searhces for the same issue.

View solution in original post

6 REPLIES 6
parry2k
Super User
Super User

@AliPoTD always something unique. Good luck!



Subscribe to the @PowerBIHowTo YT channel for an upcoming video on List and Record functions in Power Query!!

Learn Power BI and Fabric - subscribe to our YT channel - Click here: @PowerBIHowTo

If my solution proved useful, I'd be delighted to receive Kudos. When you put effort into asking a question, it's equally thoughtful to acknowledge and give Kudos to the individual who helped you solve the problem. It's a small gesture that shows appreciation and encouragement! ❤


Did I answer your question? Mark my post as a solution. Proud to be a Super User! Appreciate your Kudos 🙂
Feel free to email me with any of your BI needs.

AliPoTD
Advocate II
Advocate II

Looks as though there is an outage today - I've just been advised by our IT department that

"SharePoint is having issues today that are affecting some users globally. Microsoft is aware and are working to fix it, however in the mean time they're recommending to save any files they're working on locally.

Another recommendation is to try updating all Office apps by opening any Office app like Word and navigate to:
File > Account > Microsoft 365 and Office Updates > Update Options > Update Now"

 

Have added here in case anyone else searhces for the same issue.

christinepayton
Super User
Super User

I would check and make sure none of the folders in the path or the file were renamed or moved. It looks like your query has the full path in there, and that is a common thing to cause sudden issues. 

Thanks but everything is the same as it was before.

parry2k
Super User
Super User

@AliPoTD can you browse the files manually?



Subscribe to the @PowerBIHowTo YT channel for an upcoming video on List and Record functions in Power Query!!

Learn Power BI and Fabric - subscribe to our YT channel - Click here: @PowerBIHowTo

If my solution proved useful, I'd be delighted to receive Kudos. When you put effort into asking a question, it's equally thoughtful to acknowledge and give Kudos to the individual who helped you solve the problem. It's a small gesture that shows appreciation and encouragement! ❤


Did I answer your question? Mark my post as a solution. Proud to be a Super User! Appreciate your Kudos 🙂
Feel free to email me with any of your BI needs.

Yes I can.

Helpful resources

Announcements
July 2025 community update carousel

Fabric Community Update - July 2025

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

July PBI25 Carousel

Power BI Monthly Update - July 2025

Check out the July 2025 Power BI update to learn about new features.

Join our Fabric User Panel

Join our Fabric User Panel

This is your chance to engage directly with the engineering team behind Fabric and Power BI. Share your experiences and shape the future.