Hello,
I have an app that works offline and has been working for a long time now and now I wanted to make a few edits and as part of that, I wanted to load the data from the data saved in the phone into a new collection and I was calling it coltempdata as shown below. This code is what runs on app start and I get this frustrating error that says "The function "clear" has some invalid arguments" and "The function "LoadData" has some invalid arguments" which makes zero sense as there is another LoadData command right under this that works with no issues.
I also see this error sporadically "Collection has an empty schema. No columns will be accessible after this operation. Consider using an existing collection or writable data source with a known schema instead."
I am scratching my head for 2 days why I am getting this error and tried multiple things such as initializing a blank collect with
a ClearCollect(colfullsurveytemp,Blank()); statement which them Powerapps somehow likes and stops throwing the error on LoadData. I have never initialized blank collections like this ever.
Any one has any idea why PowerApps is angry on my loaddata into a new collection?
