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 Leader_768x460.jpg

Manage your user group events

Check out the News & Announcements to learn more.

V3_PVA CAmpaign Carousel.png

Community Challenge - Giveaways!

Participate in the Power Virtual Agents Community Challenge

Carousel 2021 Release Wave 2 Plan 768x460.jpg

2021 Release Wave 2 Plan

Power Platform release plan for the 2021 release wave 2 describes all new features releasing from October 2021 through March 2022.

R2 (Green) 768 x 460px.png

Microsoft Dynamics 365 & Power Platform User Professionals

DynamicsCon is a FREE, 4 half-day virtual learning experience for 11,000+ Microsoft Business Application users and professionals.

Top Solution Authors
Users online (1,374)