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

The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now! Learn more

Reply
AgTooOldForThis
Frequent Visitor

[DataSource.Error] SharePoint /_api/contextinfo

Hello,

 

I have a dataset that imports from multiple excel files within a SharePoint Folder (~10 tables from ~20 files).  I am using the transform file method as columns can vary.  It has worked fine for many months.  Within the last month or so, I started to get periodic and now persistent "SharePoint: Request Failed" local desktop refresh errors.

 

The specific error is "OLE DB or ODBC error: [DataSource.Error] SharePoint: Request failed: https://xxxxxxx.sharepoint.com/sites/.../xFileName_xlsm/_api/contextinfo".

 

I can see almost everything loads (appears each file has been accessed at some point okay) and then the error is thrown.  I have tried several times to clear/reset SharePoint credentials, clear cache, etc..  It does not necessarily repeat with the same file or even query in the error message.  I had this with July version as well as September and now the latest October releases.

 

Thankfully the published dataset refreshes daily as expected.  If I download the same published PBIX file, it usually refreshes locally okay on desktop the first time.  However, I then get persistent errors regardless if I make any changes.  I am stuck if I need to make any changes at the moment.

 

Note the error metions API, and I have been using API Version 15 without issues in the past.  However, I get the same errors using either 14 or auto.  Again, the published dataset refreshes daily with no issues using API Version 15.

 

Some other posts mention clearing credentials, etc., however this has not helped.  Again, the first refresh after downloading the PBIX works once after downloading, so it doesn't seem some credential related.

 

Has anyone experienced this?  Any ideas?  I appreciate any help.

3 REPLIES 3
Jaime_Garzon_Gu
Regular Visitor

Hi, I had the same issue for two months, after doing several test, I saw thaht I had a lot of latency, which caused the connection to SharePoint to restart. I read somewhere a while ago that disabling the IPv6 protocol helped reduce latency in some cases, so I tried it to see if it worked for the connection problem between SharePoint and Power BI, and Eureka, I’ve been working all day and the connection hasn’t dropped again.

amitchandak
Super User
Super User

@AgTooOldForThis , report an issue at -https://community.powerbi.com/t5/Issues/idb-p/Issues

Share with Power BI Enthusiasts: Full Power BI Video (20 Hours) YouTube
Microsoft Fabric Series 60+ Videos YouTube
Microsoft Fabric Hindi End to End YouTube

@amitchandak thank you.  I've posted as an issue as suggested.

 

[DataSource.Error] SharePoint /_api/contextinfo 

Helpful resources

Announcements
Power BI DataViz World Championships

Power BI Dataviz World Championships

The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now!

December 2025 Power BI Update Carousel

Power BI Monthly Update - December 2025

Check out the December 2025 Power BI Holiday Recap!

FabCon Atlanta 2026 carousel

FabCon Atlanta 2026

Join us at FabCon Atlanta, March 16-20, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.