I'm trying to trigger a flow from PowerApps form wired to SP list.
OnSelect property of a button, i'm Submitting the form and triggering the flow. There are 6 parameters that i'm passing to the flow. The parameters are made mandatory in the form. When filling out the fields and submitting,i get the below error-
XXXXXFlow.Run failed: The method 'Run' has an invalid value for parameter 'Initializevariable3_Value'.
The error variable (in this case 'Initializevariable3') keeps changing on seperate runs. Once i close the form and open again and press Submit buton, it works. The error occurs only on the first attempt. Errors and Onselect property screenshot attached.
Things i have done as part of troubleshoot-
1. Verified whether the fields passed have value or not (populating a text fields with the values)
I removed the trigger expression and wrote it again. There was one variable (Item ID) which i was using directly in the flow. I initialized this value to a variable and referred this in the flow rather than using it directly.