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 Leader_768x460.jpg

Manage your user group events

Check out the News & Announcements to learn more.

Community Connections 768x460.jpg

Community & How To Videos

Check out the new Power Platform Community Connections gallery!

Welcome Super Users.jpg

Super User Season 2

Congratulations, the new Super User Season 2 for 2021 has started!

Carousel 2021 Release Wave 2 Plan 768x460.jpg

2021 Release Wave 2 Plan

Power Platform release plan for the 2021 release wave 2 describes all new features releasing from October 2021 through March 2022.

Top Solution Authors
Users online (1,031)