Getting Error with patch Function all of a sudden.
Error: "Network error when using Patch function: The requested operation is invalid."
But the Data is added/updated in the SharePoint List despite the error.
I have tried the below with no luck:
- Checking all the columns in the SP List
- Made sure that I still can add items to the list from there
- Creating a Brand New List with same Name/Columns and linking to that
- Only Adding the Title Field via the App
- Removing and Reconnecting the Data Connection in Apps
Here is the Code:
Patch('Employee Hire Forms',Defaults('Employee Hire Forms'),RMUser.Updates,{
Title: "T",
ReSubmit:{Value:"Yes"},
AuthCode: "G712$",
'Current Flow State':{Value: "Pending Manager Approval"},
Status:{Value: "Pending Approval"},
'Send Reminder': "Yes",
'Lock Record For Processing': "Yes",
'Request Type': "Termination",
'Base Salary': 1,
Hours: 1
});
If(
// check if there were any errors when the test score was submitted
!IsEmpty(Errors('Employee Hire Forms')),
// else, go to success screen
Navigate(Success)
)

Report
All responses (
Answers (