Could you please share a bit more about the issue within your app?
I have made a test on my side, and don't have the issue that you mentioned. Based on the error message that you mentioned, it seems to tell that there is something wrong with the data source your Edit form connected to.
Please check if you have specified proper data source within the DataSource property of the Edit form control.
In addition, I think there may have something issue with the formula you provided within the Item property of the Edit form. Please modify the formula within the Item property of the Edit form to following:
Gallery1.Selected /* <-- Gallery1 represents the Gallery control the Edit form relates/links to */
Note: If you don't set a default value for any field in your data source, the Defaults(datasource) formula would return a empty record.
More details about Defaults function in PowerApps, please check the following article:
The Item property for the edit forms that link to galleries are set up as you describe.
So my problem is that the only way I can run the app is to open it in edit mode and preview it. If I try to just open the app normally I get the error messages I describe.
Here is the set up for the app - It's a tool used to add employees to project numbers so that they can log time appropriately. The only data sources linked to are -
The app's make up breaks down like this -
Stay up tp date on the latest blogs and activities in the community News & Announcements.
Mark your calendars and join us for the next Power Apps Community Call on January 20th, 8a PST
Dive into the Power Platform stack with hands-on sessions and labs, virtually delivered to you by experts and community leaders.
Watch Nick Doelman's session from the 2020 Power Platform Community Conference on demand!