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

Flow error when attachments are not added

Hi all,


I hope you can help me with this issue. I am trying to make a flow from data extracted of a form. This form has the option (not mandatory) to add attachments. the flow should trigger an email with the attachments in it.

For now, I made possible to get the attachments in outlook, but whenever the form is filled in without attachments, this fails. 

When I try to add a condition before the Parse JSON depending on if there is attachments or not, I can't complete the path when there is attachments, because I can't make the step of "initialize variable" in the sub-path of "Yes". I get the following error:
Does anyone have an alternative for it? 
Thank you very much, it has been driving me crazy...
New Member

The first screenshot has been removed of my message:


Helpful resources

PP Bootcamp Carousel

Global Power Platform Bootcamp

Dive into the Power Platform stack with hands-on sessions and labs, virtually delivered to you by experts and community leaders.


Power Platform Community Conference On Demand

Watch Nick Doelman's session from the 2020 Power Platform Community Conference on demand!

MPA Community Blog

Power Automate Community Blog

Check out the community blog page where you can find valuable learning material from community and product team members!

Top Solution Authors
Users online (7,661)