web
You’re offline. This is a read only version of the page.
close
Skip to main content

Announcements

News and Announcements icon
Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Automate / Invalid Template error...
Power Automate
Answered

Invalid Template error with JSON analysis

(0) ShareShare
ReportReport
Posted on by 12

Dear all,

 

I am working on a PowerAutomate workflow linked to a Forms. When a user puts an attachment to the forms, it is saved in a Sharepoint. The PowerAutomate flow takes the attachment and places it in an other folder.

This perticular flow used to be working, but now I get this error : 

InvalidTemplate. Unable to process template language expressions in action 'Analyser_JSON' inputs at line '1' and column '22433': 'Required property 'content' expects a value but got null. Path ''.'.
 
Here is a caption of what it looks like.
PAUPHILC_0-1630656850480.png

 

Is there any solution you could provide me with ?
Thanks in advance and have a great day
Categories:
  • Verified answer
    eric-cheng Profile Picture
    5,171 on at

    Hi @PAUPHILC ,

     

    Looks like your file upload field is an optional field and the fact there are no attachments is breaking your Parse JSON action.

     

    Please refer to this earlier thread.  You can use Length() to check if there is an upload before parsing.

     

    --------------------------------------------------------------------------
    If I have answered your question, please mark my post as a solution
    If you have found my response helpful, please give it a thumbs up

    Connect on LinkedIn

  • PAUPHILC Profile Picture
    12 on at

    Hi Eric, in fact the question is not optional, but the field was not correct ! I updated it and now it works fine. Thank you and have a good day. 

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

Season of Sharing Community Challenge Winners!

Congratulations to our community stars!

Kudos to our 2025 Community Spotlight Honorees

Expanding mentorship, skilling, and AI innovation

Leaderboard > Power Automate

#1
Mohsin Ali Profile Picture

Mohsin Ali 424

#2
11manish Profile Picture

11manish 328 Super User 2026 Season 2

#3
M Bilal Khan Profile Picture

M Bilal Khan 274

Last 30 days Overall leaderboard