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

Notifications

Announcements

Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Automate / "Conversion of this fi...
Power Automate
Unanswered

"Conversion of this file to PDF is not supported. (InputFormatNotSupported / other)",

(0) ShareShare
ReportReport
Posted on by 4

Hey there. 

 

I am trying to convert a MS List input to PDF 

 

I am running into the error of 

"Conversion of this file to PDF is not supported. (InputFormatNotSupported / other)",
 
Here is my flow 
 
SmithN_0-1714254669470.png

and below is my HTML 

 

<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>2 HOUR REPORT</title>
<style>
body {
font-family: Arial, sans-serif;
font-size: 16px;
}
.container {
width: 80%;
margin: 0 auto;
border: 2px solid #000;
padding: 20px;
position: relative;
}
.logo {
position: absolute;
top: 10px;
right: 10px;
}
.green-box {
width: 200px;
height: 200px;
background-color: green;
position: absolute;
top: 10px;
left: 10px;
background-image: url('THIS WILL BE GRAPHIC PATH.png');
background-size: cover;
}
.main-heading {
text-align: center;
}
.sub-heading {
margin-left: 20px;
}
.footer {
text-align: center;
font-size: 12px;
margin-top: 20px;
}
</style>
</head>
<body>
<div class="container">
<img src="THIS WILL BE LOGO PATH.png"> <!-- Replace with your logo path -->
<div class="green-box"></div>

<h1 class="main-heading">2 HOUR REPORT</h1>
<div class="sub-heading">
<h2>Investigating manager</h2>
<p></p>
<h3>Operational Area</h3>
<p></p>
<h4>HSSA Advisor</h4>
<p></p>
<h4>Incident Dates</h4>
<p></p>
<h4>Time of Incident</h4>
<p></p>
<h4>Who was involved?</h4>
<p></p>
<h4>Where?</h4>
<p></p>
<h4>What has happened?</h4>
<p></p>
<h4>Immediate Actions?</h4>
<p></p>
<h4>Photos (if applicable)</h4>
<p></p>
</div>
</div>
<div class="footer">
<p>v2.0 | Date of creation: April 27, 2024</p>
</div>
</body>
</html>

 
Thanks
Categories:
I have the same question (2)
  • Verified answer
    Nived_Nambiar Profile Picture
    18,129 Super User 2025 Season 2 on at

    Hi @SmithN 

     

    Convert file works for HTML formatted files as well. I have checked that as well. I just created a flow where it creates an html file (as same content which you have shared) and used that to create html file and then use its id to convert to pdf format, see below

    Nived_Nambiar_0-1714275216050.png

     

    Nived_Nambiar_1-1714275250216.png

     

    Nived_Nambiar_2-1714275278715.png

     

     

    I think you have pass wrong parameters/path to convert file using path action, try using convert to file as shown above, it would work !

     

    Thanks & Regards,

    Nived N 🚀

    LinkedIn: Nived N's LinkedIn
    YouTube: Nived N's YouTube Channel
    Blog: Nived Nambiar's Blogs

    🔍 Found my answer helpful? Please consider marking it as the solution!
    Your appreciation keeps me motivated. Thank you! 🙌

     

  • SmithN Profile Picture
    4 on at

    Hey Thank you for this 

    above didnt actual work but manage to find a way that does work and one little bit above showed me. I did not have the .HTML or the .PDF at the end

    It works now

     

    Thank you 🙂 

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

Forum hierarchy changes are complete!

In our never-ending quest to improve we are simplifying the forum hierarchy…

Ajay Kumar Gannamaneni – Community Spotlight

We are honored to recognize Ajay Kumar Gannamaneni as our Community Spotlight for December…

Leaderboard > Power Automate

#1
Michael E. Gernaey Profile Picture

Michael E. Gernaey 538 Super User 2025 Season 2

#2
Tomac Profile Picture

Tomac 405 Moderator

#3
abm abm Profile Picture

abm abm 252 Most Valuable Professional

Last 30 days Overall leaderboard