Showing results for 
Search instead for 
Did you mean: 
Helper I
Helper I

Gallery not fetching items from Sharepoint list

I have a sharepoint list called ListA. I have added a gallery container in my canvas app and when I add ListA as the data source, it shows the following error on the gallery :

"The requested operation is invalid. Server Response: The $top expression infinity is not valid"


Kindly find the screenshot attached below

Not applicable

Re: Gallery not fetching items from Sharepoint list

Hi @sufiyan_akhtar 


Please refer to - 


As of now, add a dummy record in the SP List to avoid this error.



Community Support
Community Support

Re: Gallery not fetching items from Sharepoint list

Hi @sufiyan_akhtar ,

Based on the issue that you mentioned, I have made a test on my side, and don't have the issue that you mentioned.


The user @PowerGell54 has faced same issue with you, please check the alternative solution within the following thread:


On your side, please consider save your SP List records into a Collection, then use the Collection as data source in your app instead of the Original SP List data source.

Set the OnStart property of the App control to following:

ClearCollect(RecordsCollection, 'YourSPList')

then set the Items property of the Gallery to following:


If the issue still exists, please consider remove the SP list connection from your app, then re-create a new one from your app, then try above solution, check if the issue is solved.


Also please check if there are records existed in your SP List, if not, please add a record into your SP List in your SP List page directly, then refresh the SP List data source in your app, check if the issue is solved.


Please take a try with above alternative solution, then check if the issue is solved. I would also post this issue to my product team, if this issue is solved, I would reply here.


Best regards,

Community Support Team _ Kris Dai
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
Frequent Visitor

Re: Gallery not fetching items from Sharepoint list

@v-xida-msft  Hi, this bug still are on. MS Team must do something 'cause many of users around the word are just getting crazy

Not applicable

Re: Gallery not fetching items from Sharepoint list

Hi @bemvilac_brito have you tried either of the above solutions? 



Helpful resources


New Return to Workplace

Reopen responsibly, monitor intelligently, and protect continuously with solutions for a safer work environment.

August 2020 CYST Challenge

Check out the winners of the recent 'Can You Solve These?' community challenge!

Experience what’s next for Power Apps

Join us for an in-depth look at the new Power Apps features and capabilities at the free Microsoft Business Applications Launch Event.

Check this Out

Helpful information

Featuring samples like Return to the Workplace and Emergency Response Applications


Power Platform 2020 release wave 2 plan

Features releasing from October 2020 through March 2021

Top Solution Authors
Users online (3,402)