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
Answered

"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)
  • 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 🙂 

  • Verified answer
    Nived_Nambiar Profile Picture
    18,136 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! 🙌

     

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
David_MA Profile Picture

David_MA 265 Super User 2025 Season 2

#2
Expiscornovus Profile Picture

Expiscornovus 203 Most Valuable Professional

#3
trice602 Profile Picture

trice602 202 Super User 2025 Season 2

Last 30 days Overall leaderboard