cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
WiggityZwiggity
Helper V
Helper V

Failed to Save, Definition contains Invalid Paramters

I am receiving a generic error on an very large flow created and run several times that says "Failed to Save, definition contains invalid paramters".  There is nothing else in the error message that would indicate what that could be.  I can discard edits, re-open, and modify a single thing (delete an action, modify an action) and saving always generates this message.

 

Any way I can figure out what's going on here?

1 ACCEPTED SOLUTION

Accepted Solutions

I was setting a variable with string type to a string, and for some reason without writing out the WDL expressing @string() it would not accept the set variable option.  That seemed to correct it.

 

View solution in original post

7 REPLIES 7
v-yamao-msft
Community Support
Community Support

Hi WiggityZwiggity,

 

Could you tell me how large your flow is and how your flow is configured?


Do you mean that after deleting or modifying an action then you will get the error message when saving the flow?


Could you show me a screenshot for a reference?


If possible, please also provide your Flow Id for a further investigation.

 


Best regards,
Mabel Mao

Community Support Team _ Mabel Mao
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

I was setting a variable with string type to a string, and for some reason without writing out the WDL expressing @string() it would not accept the set variable option.  That seemed to correct it.

 

View solution in original post

I know this is an old post but if you can share how you created the WDL I would be most appreciative. I can't seem to find resources for this anywhere and I am getting the same error as you when trying to initialize a variable.

I used a compose action and then used the @string([Field]) expression.  I then used the output from that compose action as input to set the string type variable.

Yury
Regular Visitor

Hi!

I had the same error showing off. The problem in my case was that after the initial creation of the flow I made some fields in sharepoint list mandatory. Thus, these fields had to be updated after approval/decline and corresponding parts of the flow had to be adjusted as well. So go through all blocks of your flow an check if there are fields with an asterix sign which are empty.

Hope this will help!

My error resolved by upadting the list to set some fields as optional , updating the flow and again setting them as mandatory.

I have documented it with some detail https://syscloudpro.com/2018/08/19/microsoft-flow-definition-contains-invalid-parameters/

 

ntubergen-grymc
Frequent Visitor

A fix that worked for me. Initialize (or set) the entire body as the string variable. MS didn't like some text and a variable. See screencap below. Hope this finds its way back to you people.

ntubergen-grymc_0-1597086472806.png

 

Helpful resources

Announcements
UG GA Amplification 768x460.png

Launching new user group features

Learn how to create your own user groups today!

Community Connections 768x460.jpg

Community & How To Videos

Check out the new Power Platform Community Connections gallery!

M365 768x460.jpg

Microsoft 365 Collaboration Conference | December 7–9, 2021

Join us, in-person, December 7–9 in Las Vegas, for the largest gathering of the Microsoft community in the world.

Top Solution Authors
Users online (1,622)