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 / 400 Error Conversion t...
Power Automate
Unanswered

400 Error Conversion to PDF not supported

(1) ShareShare
ReportReport
Posted on by 21

I followed Shane's video: PowerApps PDF Generator using Microsoft Flow PDF Converter

I get this error message on Convert file using path test:

{
"status": 400,
"message": "Conversion of this file to PDF is not supported.",
"source": "api.connectorp.svc.ms"
}
 
I wasn't sure if the HTML may have caused an issue so I replaced it with basic HTML that I got from w3schools and inserted the image tag as shown in the video:
 

concat('<!DOCTYPE html>
<html>
<body>

<img scr="', variables('logo') ,'">

<table style="width:100%">
<tr>
<th>Firstname</th>
<th>Lastname</th>
<th>Age</th>
</tr>
<tr>
<td>Jill</td>
<td>Smith</td>
<td>50</td>
</tr>
<tr>
<td>Eve</td>
<td>Jackson</td>
<td>94</td>
</tr>
<tr>
<td>John</td>
<td>Doe</td>
<td>80</td>
</tr>
</table>

</body>
</html>
')

 

I'm not sure what's wrong. If someone can help me figure out what's wrong, I would really appreciate it.

Categories:
I have the same question (0)
  • abm abm Profile Picture
    32,865 Most Valuable Professional on at

    Hi @taustin1 

     

    Could you please post a screenshot of your flow?

     

    Thanks

  • taustin1 Profile Picture
    21 on at

    flow1.jpgflow2.jpgflow3.jpg

  • Verified answer
    yashag2255 Profile Picture
    24,769 Super User 2024 Season 1 on at

    Hi @taustin1 

     

    In your create file action, you missed the extension in the file name. Please add the .html extension in the file name (for both the create html file and then later in the create pdf file actions) and try again. 

     

    Hope this Helps!

     

    If this reply has answered your question or solved your issue, please mark this question as answered. Answered questions helps users in the future who may have the same issue or question quickly find a resolution via search. If you liked my response, please consider giving it a thumbs up. THANKS!

  • taustin1 Profile Picture
    21 on at

    Thank you very much for your help!

  • manuelRivera Profile Picture
    117 on at

    Hi yanhag2255, even with the extension file , i cant run succesfully my flow

     

    error powerapps.png

     

    I cant see what can I do.

  • Tapesh_Patel Profile Picture
    39 on at

    Hi @manuelRivera @yashag2255 @abm 

    I have the same issue did you find the solution, if yes what was the issue will you please help if you dont mind thanks 

  • abm abm Profile Picture
    32,865 Most Valuable Professional on at

    Hi @Tapesh_Patel 

     

    This thread is already marked as solution accepted. To get more attention could you please post a new thread and a screenshot of your flow with all the error details.

     

    Thanks

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 522 Super User 2025 Season 2

#2
Tomac Profile Picture

Tomac 364 Moderator

#3
abm abm Profile Picture

abm abm 243 Most Valuable Professional

Last 30 days Overall leaderboard