cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
sufiyan_akhtar
Level: Powered On

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

4 REPLIES 4
Highlighted
shailendra74
Level 10

Re: Gallery not fetching items from Sharepoint list

Hi @sufiyan_akhtar 

 

Please refer to - https://powerusers.microsoft.com/t5/General-Discussion/Request-Operation-is-Invalid-The-top-expressi... 

 

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

 

Thanks.

Community Support Team
Community Support Team

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:

https://powerusers.microsoft.com/t5/General-Discussion/Request-Operation-is-Invalid-The-top-expressi...

 

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:

RecordsCollection

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.
bemvilac_brito
Level: Powered On

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

TopShelf-MSFT
Level 10

Re: Gallery not fetching items from Sharepoint list

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

 

@TopShelf-MSFT 

Helpful resources

Announcements
thirdimage

Power Automate Community User Group Member Badge

Fill out a quick form to claim your user group badge now!

sixthImage

Power Platform World Tour

Find out where you can attend!

Power Platform 2019 release wave 2 plan

Power Platform 2019 release wave 2 plan

Features releasing from October 2019 through March 2020

fifthimage

Microsoft Learn

Learn how to build the business apps that you need.

Top Kudoed Authors (Last 30 Days)
Users online (5,387)