cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
taustin1
Regular Visitor

400 Error Conversion to PDF not supported

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.

1 ACCEPTED SOLUTION

Accepted Solutions
yashag2255
Dual Super User II
Dual Super User II

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!

View solution in original post

7 REPLIES 7
abm
Super User III
Super User III

Hi @taustin1 

 

Could you please post a screenshot of your flow?

 

Thanks



Did I answer your question? Mark my post as a solution!

If you liked my response, please consider giving it a thumbs up


Proud to be a Flownaut!

Learn more from my blogPower Automate Video Tutorials
taustin1
Regular Visitor

flow1.jpgflow2.jpgflow3.jpg

yashag2255
Dual Super User II
Dual Super User II

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!

View solution in original post

Thank you very much for your help!

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

 

error powerapps.png

 

I cant see what can I do.

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
Super User III
Super User III

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



Did I answer your question? Mark my post as a solution!

If you liked my response, please consider giving it a thumbs up


Proud to be a Flownaut!

Learn more from my blogPower Automate Video Tutorials

Helpful resources

Announcements
MPA User Group

Welcome to the User Group Public Preview

Check out new user group experience and if you are a leader please create your group

MBAS on Demand

Microsoft Business Applications Summit sessions

On-demand access to all the great content presented by the product teams and community members! #MSBizAppsSummit #CommunityRocks

MBAS Attendee Badge

Claim Your Badge & Digital Swag!

Check out how to claim yours today!

secondImage

Are Your Ready?

Test your skills now with the Cloud Skill Challenge.

Top Solution Authors
Users online (36,147)