cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
SK_Tan
Helper III
Helper III

Unable to process template language expressions in action 'Parse_JSON_2' inputs at line '1' and column '30004': 'Required property 'content' expects a value but got null. Path ''.'.

Hi,

 

I built a flow to add attachment in MS. Forms to SharePoint. One of the attachments is "not mandatory" and hence might not have attachment some time. In the occasion where no attachment is added, my flow failed. See below for more details:

 

SK_Tan_0-1637204651340.png

 

Dows anyone can share how to tackle this?

 

Thanks in advance!

 

1 ACCEPTED SOLUTION

Accepted Solutions
Gopala_Krishna
Super User
Super User

@SK_Tan 

You can try adding a condition before the "Parse JSON 2" action to check for the null values, in the yes part of the condition you can leave as it is and in the no part of the condition you can add the "Parse JSON 2" and the next actions after that.

 

Once you do this change, I don't think you will see any issue with the Parse JSON 2 action.

 

 

If the information shared helps you please consider giving a thumbs up 👍 and mark solution as resolved

Please follow my website PowerCards for more information related to Power Platform

View solution in original post

2 REPLIES 2
Gopala_Krishna
Super User
Super User

@SK_Tan 

You can try adding a condition before the "Parse JSON 2" action to check for the null values, in the yes part of the condition you can leave as it is and in the no part of the condition you can add the "Parse JSON 2" and the next actions after that.

 

Once you do this change, I don't think you will see any issue with the Parse JSON 2 action.

 

 

If the information shared helps you please consider giving a thumbs up 👍 and mark solution as resolved

Please follow my website PowerCards for more information related to Power Platform

View solution in original post

Thank you for your response.

 

I followed and still the same error.

 

SK_Tan_0-1637218736953.png

 

Something wrong with the value I used?

Helpful resources

Announcements
Community Connections 768x460.jpg

Community & How To Videos

Check out the new Power Platform Community Connections gallery!

User Group Leader Meeting January 768x460.png

Calling all User Group Leaders!

Don't miss the User Group Leader meetings on January, 24th & 25th, 2022.

Users online (2,393)