What helped me was setting OnVisible of a scrren ClearCollect and then setting the galery items to the variable.
ClearCollect(MyVariable,Sort(MyList, Created, Descending))
Items of Gallery:
I noticed this message appearing some days ago too.
I have several Browse Galleries showing collections, the collections being populated from various SharePoint Lists. My app allows me to add items to the collection, and then send the collection to SharePoint to update the Lists.
The Gallery wouldn't show the items I was adding in my local collections. In fact any addition I was making in the collection was thrown as a blank record in my collections, and then uploaded as a blank record in SP.
Adding a dummy records fix the problem.
I must add that this behavious is inconsistent between several apps I have (one for each client), refering to various but similar SharePoint List. In one of those apps, I need the dummy record, in others it works perfectly fine with blank lists to start with.
Anyway, this for me looks like a bug/regression as it was never mentionned that lists needed at least one entry to work with.
Thanks for the replies and hats off for the dummy trick !
I think im going to use this method for the time being until MS sort something out, strange they cant replicate the issue as it seems to be a popular error
I just created a new list as a test - I didn't do anything else but create a new list with the default fields, no additional columns, no views, no counting, no creation of views. Then I selected the customize forms and instantly got this error.
This Just happened to me as i was build a new screen. half of all my sharepoint list have been empty when i start the build on the same app. I also thought maybe it was because of no data so i went in and created data in my SP list and refreshed and no luck.
I just made a gallery from a blank form a couple hours ago and had no issue.
If it from no data that its very inconsitant, i went back in and refreshed my SP list that i had added data into and it loaded into the gallery.
Same issue for me. I got this yesterday and the strange thing is everything was working fine till day before yesterday. The error is showing up in my onStart method.
The requested operation is invalid. Server Response: The $top expression "Infinity" is not valid. clientRequestId: <..........> serviceRequestId: <.........>
I don't know why things keep on breaking in middle of the day. May be another unsuccessful deployment. I have experienced this a lot of times with PowerApps.
When it works, it works great but when it breaks it becomes useless. I had a demo today to show it to bussiness but can do so now. I treid some fixes like adding the data sources again, debugging my onStart but nothing works.
Check out these cool Power Apps & vote on your favorite!
Let's talk about the solution provided by Microsoft for Robotic Process Automation (RPA)
Check out whats happening in Power Apps
FIll out a quick form to claim your community user group member badge today!