Forum Discussion
SharePoint: Request failed: The remote server returned an error: (500) Internal Server Error.
Hi,
My solution had been working fine for months, until 3 days ago when my reports started failing. The datasource is SharePoint Online Lists and I have 4 different reports querying the same SharePoint site throughout the day (Within the Pro scheduled refresh limits).
Can I anybody suggest what could be happening. I've ruled out a problem with the data, could this be a SharePoint throttle issue?
"SharePoint: Request failed: The remote server returned an error: (500) Internal Server Error. (Internal Server Error). The exception was raised by the IDataReader interface. Table:"
12 Replies
- GilbertQSuper UserIt would appear that there might be an issue with the way the refresh is happening?
I am assuming because it is SharePoint online that you are not using the On-Premise Data Gateway?
If not I would suggest to log a support ticket for further investigation.- GilbertQSuper UserHi there
That does appear to be really odd.
You can use my blog post on how to raise a support ticket: https://www.fourmoo.com/2019/09/24/using-power-bi-support-to-create-a-support-ticket/
- AnonymousNot applicable
having the same issue - checking in to see if there are any resolutions.
- otraversCommunity Champion
SharePoint is a convenient data source for Power BI which I use often, but I find it slow and less than entirely reliable. You might want to try the followin:
1. Remove and reestablish the SharePoint credentials in the Power BI service (where you set up dataset scheduled refreshes).
2. Download the CSV file with more details about the refresh error.
3. Check that there are no values in the SP list that lead to a failure in Power Query such as an invalid values vs. the expected data type (like text in a column set to Date type).
- AnonymousNot applicable
Team,
My advice for Power BI > Sharepoint Lists
1. Use Odata.Feed (Not default SP connector) and use $SELECT to get only the fields you need
2. If your lists have >500 records, then do not use the field FIELDVALUEASTEXT with expansion as that is a JSON summary field that significantly bloats the RESPONSE payload
3. Make sure that entire M code script runs in under 45 minutes as the AUTHORIZATION token will expire after 60 minutes and you will get wierd "NOT AUTHORIZED" errors
HTH,
Jim
- AnonymousNot applicable
Hi Jim,
I'm getting the same error, but pulling together excel files in a SP folder, doing some transforms and appending... can I also use the OData connector? I've never tried that.
Thanks,
Kim