cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Highlighted
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

4 REPLIES 4
Highlighted
Anonymous
Not applicable

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.

Highlighted
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:

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.
Highlighted
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

Highlighted
Community Champion
Community Champion

Re: Gallery not fetching items from Sharepoint list

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

 

@TopShelf-MSFT 

Helpful resources

Announcements
August 2020 Community Challenge: Can You Solve These?

August 2020 Community Challenge: Can You Solve These?

We're excited to announce our first cross-community 'Can You Solve These?' challenge!

secondImage

Return to Workplace

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

secondImage

Super Users Coming in August

We are excited for the next Super User season.

secondImage

Community User Group Member Badges

FIll out a quick form to claim your community user group member badge today!

secondImage

Power Platform 2020 release wave 2 plan

Features releasing from October 2020 through March 2021

Top Solution Authors
Top Kudoed Authors
Users online (831)