Power BI desktop fails to connect to a sharepoint online datasource with the following error:
DataSource.Error: SharePoint: Request failed: <URL of my sharepoint site.xlsx>/_api/contextinfo
Does anyone know what this error means? Seemed to be working fine yesterday and before but since I have updated Power BI Desktop this error keeps showing up.
I had this error and was just able to fix it. Mine occurred from successfully referencing an excel file in OneDrive, then needing to change the folder that the file was in, but keeping the file name the same.
When I cleared credentials and resigned in I still got the error, but when I clicked "Change Source" in Data Source Settings and put in the new file location path and then cleared permissions and re-signed in, it worked.
Seeing the same thing this morning with data sources that were working fine last night, but in my case I haven't updated PBI Desktop to the April version yet...
Strangely, I can access some items on OneDrive just fine - it's when I try to join queries that things are throwing a rod...
Do you connect to Excel file on SharePoint Online site? If so, I test the scenario as yours, I am able to connect to Excel file on SharePoint Online site in the April version of Power BI Desktop.
Are you the owner of the Excel file and have you checked that if there are any issues about your account?
I do. However it seems completely random. About an hour ago it worked (did not change anything). Hoever if I move the folder to another destination on Sharepoint Online (where I have access) I get the same error again.
How about clearing credential of SharePoint Online source in your PBIX file and then connecting to it? And is there any possibility that your password is expired?
This is a must watch for a message from Power BI!
Click here to read more about the December 2020 Updates!
Click here to read the latest blog and learn more about contributing to the Power BI blog!
Mark your calendars and join us for our next Power BI Dev Camp!.