Skip to main content
Community site session details

Community site session details

Session Id :
Power Automate - Building Flows
Suggested answer

InvalidTemplate error in get file content

(1) ShareShare
ReportReport
Posted on by 48
Hello All,
I have error in my flow and a don't know what happen.
 
But with another items the flow work OK!
I don't Understand.
 
 
 
encodeUriComponent(replace(body('Parse_JSON_4')?['serverRelativeUrl'],'/sites/PAEXPFINDAADUCTION',''))
 
 
Please helpme
  • Suggested answer
    SudeepGhatakNZ Profile Picture
    14,381 Most Valuable Professional on at
    InvalidTemplate error in get file content
    Add a parallel branch to handle exception.
     
     
  • angeldiaz96 Profile Picture
    48 on at
    InvalidTemplate error in get file content
    Can you help me how to do that?
    Sorry!
  • Suggested answer
    SudeepGhatakNZ Profile Picture
    14,381 Most Valuable Professional on at
    InvalidTemplate error in get file content
    You could add an Exception scope to go past the first one.
  • angeldiaz96 Profile Picture
    48 on at
    InvalidTemplate error in get file content
    Hi @sudeepGhatakNZ 
    I think this is the problem.
    for the others items it is not returning the values . Only for the firts one that i configured before in the JSON.
     
  • SudeepGhatakNZ Profile Picture
    14,381 Most Valuable Professional on at
    InvalidTemplate error in get file content
    Looks like your File identifier value is malformed.
    Try the Get File content By path action which lets you specify the file location instead of File identifier

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

Paul Stork – Community Spotlight

We are honored to recognize Paul Stork as our July 2025 Community…

Congratulations to the June Top 10 Community Leaders!

These are the community rock stars!

Announcing the Engage with the Community forum!

This forum is your space to connect, share, and grow!

Leaderboard > Power Automate

#1
Michael E. Gernaey Profile Picture

Michael E. Gernaey 497 Super User 2025 Season 1

#2
David_MA Profile Picture

David_MA 436 Super User 2025 Season 1

#3
Riyaz_riz11 Profile Picture

Riyaz_riz11 244 Super User 2025 Season 1