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

We've captured the moments from FabCon & SQLCon that everyone is talking about, and we are bringing them to the community, live and on-demand. Starts on April 14th. Register now

Reply
Anonymous
Not applicable

Error Connecting to SharePoint List (500): Internal Server Error

With no changes made to the source SharePoint list my report refresh started failing this morning with the error below.   I've had this happen on a different list and never found a fix for it.


Error:
DataSource.Error: Web.Contents failed to get contents from 'https://sharepointed.sharepoint.com/sites/fun-stuff/_api/Web/Lists(guid'9ab1335c-b8fe-1b99-be01-77d5...' (500): Internal Server Error
Details:
DataSourceKind=SharePoint
DataSourcePath=https://sharepointed.sharepoint.com/sites/fun-stuff
Url=https://sharepointed.sharepoint.com/sites/fun-stuff/_api/Web/Lists(guid'9ab1335c-b8fe-1b99-be01-77d5...


Connection steps:
let
Source = SharePoint.Tables("https://sharepointed.sharepoint.com/sites/fun-stuff", [Implementation="2.0", ViewMode="All"]),
#"9ab1335c-b8fe-4b23-be01-88d5f2c3320c" = Source{[Id="9ab1335c-b8fe-1b99-be01-77d5f2c3329c"]}[Items]
in
#"9ab1335c-b8fe-1b99-be01-77d5f2c3329c"

1 ACCEPTED SOLUTION
Anonymous
Not applicable

Nope, opened a ticket with Micorosft Premier support and they said it's a SharePoint issue.  SharePoint support said nothing can be done.  a lot of wasted time.
.
I thought the point of using the Power BI 2.0 connection to SharePoint was to leverage paging and avoid issues like this.

View solution in original post

24 REPLIES 24
NunoMota
New Member

I don't think the issue is only limited to the fact the list has gone over 5000 items. I have one Power BI report that collects data from 5 different SharePoint lists, all using v2 of the connector. Two of these lists have over 50,000 entries, with around 20 columns, most with data, so they are huge lists. Power BI has no problem retrieving data from these lists.

 

Yesterday, one of the other lists went over 5000 entries, and now Power BI is complaining... I checked everything, and all lists are being retrieved in an identical form: using the same v2 connector, no filters, nothing...

 

I literally have no idea what the problem is or how to fix it, but having two huge lists syncing without a problem tells me it is possible to get this to work!

@NunoMota  did you check for aggregates on a column (count, sum, ....) in the SharePoint default view? this could be the reason for this error. If so, just remove the aggregate.

DaFloDo_0-1769084281984.png

 

Thank you! Thank you! Thank you!

I never once thought the aggregates would have anything to do with it.  This solved my issue 🙂

Good point @DaFloDo, I wasn't aware of that! I checked and there is none. I don't think I ever used that to be honest. But thank you for the suggestion.

Updating the query from:

= SharePoint.Tables("https://site", [Implementation="2.0", ViewMode="All"])

to:
= SharePoint.Tables("https://site", [ApiVersion = 15])

 

Seems to have worked though! However, the others with 50k+ items are not configured like this... Very strange!

olsen9
Frequent Visitor

My issue was that someone put a count in the default view under totals.  PowerBi does not like this

DaFloDo
Resolver I
Resolver I

we had the same behavior on one of our lists, that had 20k items long time woking an suddenly did not work anymore.
We found, that there was an aggregation (count) set in the default view of the list. So even, if you use the "all" setting, which should ignore all view settings, the aggregation setting of the default view seems to result in an error.

So for us, removing the aggregation from the default view of the list, solved this issue.

Thank you, this was very helpful, it worked for me as well!

Anonymous
Not applicable

This worked for me. Thank you so much!

This Solution worked for me thank you so much Sir for your help here.

Ola_G
Frequent Visitor

Hi, can you help me with this "removing the aggregation from the default view of the list" - how could I do it?

Thanks!

hi @Ola_G,
in the SharePoint list, in the upper right of the list, select the default view and then click on edit current view.

DaFloDo_0-1684314853915.png

 

if there is an aggregation for any of the columns, set it to "none". This was fixing the problem for us.

DaFloDo_1-1684315091862.png

Don't forget to save these changes

DaFloDo_2-1684315143531.png

 

 

  

Thank you for this! It solved the problem for me!

Thanks. This was the solution that worked here too.

Anonymous
Not applicable

Saved me, thanks... I also seemed to have to remove the grouping from the list as well!  Thanks

Hi @Anonymous 

many thanks, it worked for me as well- it was enough to remove the grouping from the default view.

It works for me, after a few month with this issue!

 

Thanks!

Ola_G
Frequent Visitor

Unfortunately didnt help 😞 but @DaFloDo thanks anyway!

PhilD
Frequent Visitor

You're kidding!! Am I to understand the Power Bi literally just stops working when a SharePoint list crossed the view threshhold and there is no solultion?

wodraeve
Frequent Visitor

I am experiencing the same issue. Did anybody ever find the solution? Thanks

Anonymous
Not applicable

Nope, opened a ticket with Micorosft Premier support and they said it's a SharePoint issue.  SharePoint support said nothing can be done.  a lot of wasted time.
.
I thought the point of using the Power BI 2.0 connection to SharePoint was to leverage paging and avoid issues like this.

Helpful resources

Announcements
New to Fabric survey Carousel

New to Fabric Survey

If you have recently started exploring Fabric, we'd love to hear how it's going. Your feedback can help with product improvements.

Power BI DataViz World Championships carousel

Power BI DataViz World Championships - June 2026

A new Power BI DataViz World Championship is coming this June! Don't miss out on submitting your entry.

Join our Fabric User Panel

Join our Fabric User Panel

Share feedback directly with Fabric product managers, participate in targeted research studies and influence the Fabric roadmap.

March Power BI Update Carousel

Power BI Community Update - March 2026

Check out the March 2026 Power BI update to learn about new features.