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

Flow fails if no attachment

Hi guys,


 I created a flow with around 50 attachments. I created Json for each of the questions. Everything is ok, but if we don't upload an attachment to a question, the flow fails and the rest of the attachments are not uploaded. I used the flow to transfer responses from Forms to a SharePoint List. 


I used the code that was suggested in other posts but with no success. Is anyone able to point me to a possible solution? I would like, if we don't have an attachment to a question to move to the next question.


"content": {
"type": ["number","null"]




 "content": {}, 

Helper V
Helper V

@CiprianPop  I think we need a little more context on how you are treating this in your flow. Maybe you create a conditional step and check the content with length(..)>0

Helpful resources

Power Automate News & Announcements

Power Automate News & Announcements

Keep up to date with current events and community announcements in the Power Automate community.

Power Automate Community Blog

Power Automate Community Blog

Check out the latest Community Blog from the community!

Users online (3,305)