Hai,
I have built an app to store user given data to a SharePoint list. I have used the Path function to insert data to the list and it works fine. But recently I have informed that some of the users have facing problems when click on the button to patch data to the list as button is not responding to the click. When checked I got the the following error message "Network error when using Patch function: The requested operation is invalid". It is happening only randomly , 99% times it works perfectly.
The path code is given below.
Patch(
'Site Details', Defaults('Site Details'),
{
Title: SiteNameInput.Text,
'URL Name': SiteURLInput.Text,
'Site Type': {Value: "Extranets"},
Template: {Value: Concat(TemplateSelectedID, TemplateID, "")},
Description: DescriptionInput.Text,
'Client Number': Concat(SearchedClientNo.ClientNo, Text(ClientNo)),
'Matter Number': Concat(MatterListFiltered.Result, Text(Result),","),
Department: Concat(SelectedDepartmentList.Result, Text(Result), ","),
Category: Concat(SelectedCategoryList.Result, Text(Result), ","),
'Requested By':{'@odata.type': "#Microsoft.Azure.Connectors.SharePoint.SPListExpandedUser",
Department: "",
Claims: "i:0#.f|membership|" & RequesterNameInput.Text,
DisplayName: "",
Email: RequesterNameInput.Text,
JobTitle: "",
Picture: ""
},
Owners: If((SearchClientInput.Text = "0"), Concat(VarSecondaryOwnersList.mail, Text(mail), ";"), Concat(OwnerListFiltered.Result, Text(Result), ";")),
'Notify Owners': SendEmailNotofication.Value,
Status: {Value: "In Progress"}
}
);
I have attached the form where the users are entering data.