cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Highlighted
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
Highlighted

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
Highlighted
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 blog

Power Automate Video Tutorials
Highlighted
Regular Visitor

flow1.jpgflow2.jpgflow3.jpg

Highlighted

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

Highlighted

Thank you very much for your help!

Highlighted

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

 

error powerapps.png

 

I cant see what can I do.

Highlighted

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 

Highlighted
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 blog

Power Automate Video Tutorials

Helpful resources

Announcements
Community Conference

Power Platform Community Conference

Check out the on demand sessions that are available now!

Power Platform ISV Studio

Power Platform ISV Studio

ISV Studio is designed to become the go-to Power Platform destination for ISV’s to monitor & manage published applications.

Top Solution Authors
Top Kudoed Authors
Users online (9,279)