Showing results for 
Search instead for 
Did you mean: 
Memorable Member
Memorable Member

Error: Variables - Set Variable "The request content was invalid and could not be deserialized:"

I get error about Variables - Set Variable action.


Error message:

The request content was invalid and could not be deserialized: 'Error converting value "SetVariable" to type 'System.Nullable`1[Microsoft.Azure.Flow.Templates.Schema.FlowTemplateOperationType]'. Path 'properties.definition.actions.Set_variable.type', line 1, position


Repro step:

1. Trigger : manual button.

2. Action : Variables - Initialize variable ( Name = Count, Type = Integer, Value = 0 )

3. Action : Variables - Set variable ( Name = Count, Value = 1 )

4. Action : Alert the teams

5. Update flow.

6. Get Error message1.png




When the action "Set variable" remove, I can update well.

I want to use "Set variable" to do more by Microsoft Flow.



Yoshihiro Kawabata






Hi all,


The deployment with this fix is currently rolling out. Assuming no delays, it will be available in all regions Monday.


We appreciate everyone's patience in resolving this!




View solution in original post

Not applicable

I can confirm this is now working for me.


Many thanks @TravisB for keeping us updated.  Keep up the good work with Flow! 🙂

Thank you @TravisB


"Set Variable" action work well.






Yoshihiro Kawabata

Helpful resources

MPA User Group

Welcome to the User Group Public Preview

Check out new user group experience and if you are a leader please create your group


Experience what’s next for Power Virtual Agents

See the latest Power Automate innovations, updates, and demos from the Microsoft Business Applications Launch Event.

New Super Users

Meet the Power Automate Super Users!

Many congratulations to the Season 1 2021 Flownaut Crew!

Power Platform ISV STudio

Power Platform ISV Studio

ISV Studio is the go-to Power Platform destination for ISV’s to monitor & manage applications post-AppSource publish.

Top Solution Authors
Users online (60,666)