cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Highlighted
Helper II
Helper II

PowerAutomate Convert file with path HTML to PDF Error 400

I used powerautomate OneDrive function "Convert File with Path", but got error 400 'this file couldn't be converted into PDF' with warning 'Bad Request'.

HTML file was generated through PowerApps and stored in OneDrive successfully.

ks4050kt_0-1593382541485.png

  1. I tried to convert from HTML into JPG, it was completed successfully, but the ways from HTML into PDF was failed.
  2. I checked file extension, but the extension ".pdf" was attached in the path correctly.

Can you please advise what is incorrect to set it. If I need to further info to post, please advise so.

 

1 ACCEPTED SOLUTION

Accepted Solutions
Highlighted
Helper II
Helper II

Re: PowerAutomate Convert file with path HTML to PDF Error 400

@BhartenduP ,

 

Thank you for your support.

I tried to convert the simple & basic html file into PDF, it was completed successfully, so the matter might be caused by my html file which was generated by PowerApps with dynamic data.

 

I tried in several times one sentence by sentence, finally the simple steps passed, but it was caught on "Japanese Word" in table.

HTML itself is shown in browser correctly also with Japanese Words,,,,

 

Can you please if we can use multiple languages especially Japanese. If it can be used, how can I modify and set the file??

Thank you.

 

<table>
  <tr>
    <th>Date</th>
    <th>Hours</th>
    <th>Category</th>
    <th>Course</th>
    <th>Impression</th>
  </tr>
  <tr>
    <td>2020-06-23</td>
    <td>0.5</td>
    <td>2. Power BI</td>
    <td>a. オリエンテーションと準備 (1/1)</td>
    <td></td>
  </tr>
</table>

 

View solution in original post

6 REPLIES 6
Highlighted
Microsoft
Microsoft

Re: PowerAutomate Convert file with path HTML to PDF Error 400

Dear ks4050kt

 

Thank you for writing to us . I had a look into the error message internally to check if we have had known issues around the behavior, However I don’t see any .

 

I would like to get some more understanding . Please share with me the following .

 

  1. Flow URL which is having the problem.
  2. Flow Id and the Tenant ID.
  3. Please reproduce the issue again and notice the timestamp on which the issue occurred . Please let me know about the same also please let me know the time zone in which the issue is reproduced as I can check backend logs.

 

I was also able to check this link  https://plumsail.com/docs/documents/v1.x/flow/how-tos/documents/convert-html-to-pdf.html . Maybe we can use the link as an alternative . Also i was able to locate this link https://powerusers.microsoft.com/t5/General-Power-Automate/html-to-pdf-conversion-issue/td-p/207088 which you can refer as it seems helpful . Please try and review the HTML file closely . I would request you to try with a very basic HTML file and see how is the behavior.

 

Please mark my answer as verified if you found it helpful. Please let me know if you have any other questions around the above.

 

Bhartendu Pandey

Support Engineer - Customer Engagement- Dynamics CRM/PowerApps/Power Automate

Microsoft

Highlighted
Helper II
Helper II

Re: PowerAutomate Convert file with path HTML to PDF Error 400

@BhartenduP ,

 

Thank you for your support.

I tried to convert the simple & basic html file into PDF, it was completed successfully, so the matter might be caused by my html file which was generated by PowerApps with dynamic data.

 

I tried in several times one sentence by sentence, finally the simple steps passed, but it was caught on "Japanese Word" in table.

HTML itself is shown in browser correctly also with Japanese Words,,,,

 

Can you please if we can use multiple languages especially Japanese. If it can be used, how can I modify and set the file??

Thank you.

 

<table>
  <tr>
    <th>Date</th>
    <th>Hours</th>
    <th>Category</th>
    <th>Course</th>
    <th>Impression</th>
  </tr>
  <tr>
    <td>2020-06-23</td>
    <td>0.5</td>
    <td>2. Power BI</td>
    <td>a. オリエンテーションと準備 (1/1)</td>
    <td></td>
  </tr>
</table>

 

View solution in original post

Highlighted
Microsoft
Microsoft

Re: PowerAutomate Convert file with path HTML to PDF Error 400

Dear,

 

Thank you for the update, As we now understand the issue is directly related to the use of the Japanese language . I am afraid I am not aware of any limitations as of now . I will look to get some information around it however i am guessing that we will end up finding that there are imitations . 

 

Please mark my answer as verified if you found it helpful. Please let me know if you have any other questions around the above.

 

Bhartendu Pandey

Support Engineer - Customer Engagement- Dynamics CRM/PowerApps/Power Automate

Microsoft

 

Highlighted
Helper II
Helper II

Re: PowerAutomate Convert file with path HTML to PDF Error 400

@BhartenduP 

Thank you for your support, if you can notify when Japanese language can be used in this flow-action once, I appreciate it.

Currently I gave up to use Japanese language in this flow, but still it is required in my work, so I'm still looking forward to get further advice how to use Japanese language in PowerAutomate, thanks.

Highlighted
Helper II
Helper II

Re: PowerAutomate Convert file with path HTML to PDF Error 400

Reference Reply in another conversation;

Convert PDF action support Japanese.

https://powerusers.microsoft.com/t5/Power-Automate-Ideas/Convert-PDF-action-support-Japanese/idi-p/1...

Highlighted
Microsoft
Microsoft

Re: PowerAutomate Convert file with path HTML to PDF Error 400

Thank you for your kind reply . I am very happy to see we have reached a solution 🙂

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.

Tech Marathon

Maratón de Soluciones de Negocio Microsoft

Una semana de contenido con +100 sesiones educativas, consultorios, +10 workshops Premium, Hackaton, EXPO, Networking Hall y mucho más!

Top Solution Authors
Top Kudoed Authors
Users online (6,417)