Hi there,
Is there any way to troubleshoot error messages that are received when submitting a PowerApps SharePoint form?
When attempting to edit a list item, I am getting the error "There was a problem saving your changes. The data source may be invalid." However the list item seems to update no problem.
Is there any way I can get more information on what is actually invalid ??
Edit: Here is a snippet of my code for "On save"
If(SharePointFormMode = "CreateForm", Patch('Sales Orders', Defaults('Sales Orders'), SharePointForm1.Updates, SharePointForm2.Updates, SharePointForm3.Updates);SubmitForm(SharePointForm4);ResetForm(SharePointForm1);ResetForm(SharePointForm2);ResetForm(SharePointForm3);ResetForm(SharePointForm4);Navigate(scrSuccessNew, Fade), Patch('Sales Orders', SharePointIntegration.Selected, SharePointForm1_1.Updates, SharePointForm2_1.Updates, SharePointForm3_1.Updates, EditForm1.Updates);
SubmitForm(SharePointForm4_1);ResetForm(SharePointForm1_1);ResetForm(SharePointForm2_1);ResetForm(SharePointForm3_1);ResetForm(EditForm1);ResetForm(SharePointForm4_1);Navigate(scrSuccessEdit, Fade))
SharePointForm1, 2 and 3 are using the same list item and source, they just have different fields on each screen. The SharePointForm4 is a seperate form which is linked to a separate data source, hence the use of both Patch and SubmitForm.
Cheers