Skip to main content

Notifications

Power Automate - Using Connectors
Unanswered

Error in converting HTML file into PDF file Error 412

(1) ShareShare
ReportReport
Posted on by

I am building a flow referring to one of the community solutions to merge Images and then save them in an HTML file and then convert them into a PDF file. 

Need help with Arrays into PDF - images with text 

Abhishek_B_0-1718617823983.png

 

However, I'm encountering an error "An exception occurred while executing within the Sandbox for action Convert file using path."

 

 

  • Abhishek_B Profile Picture
    Abhishek_B on at
    Error in converting HTML file into PDF file Error 412
    Yes this flow has the pdf size limit of 2MB while converting. So we have converted each report into pdf and wherever size was exceeding we have compressed it. Then after we have merged it via premium connector and then created a file.
     
    Another approach was using RPA (PAD) using Merge pdf action.
     
    Thank you @v-jefferni for the reference.
  • v-jefferni Profile Picture
    v-jefferni on at
    Re: Error in converting HTML file into PDF file Error 412

    Hi @Abhishek_B ,

     

    Are there multiple imaged included in the HTML file? The error may be due to the 2MB limitation. Please refer to below thread:

    Convert html to PDF: An exception occurred while e... - Power Platform Community (microsoft.com)

     

    Best regards,

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

Microsoft Kickstarter Events…

Register for Microsoft Kickstarter Events…

Announcing Our 2025 Season 1 Super Users!

A new season of Super Users has arrived, and we are so grateful for the daily…

Announcing Forum Attachment Improvements!

We're excited to announce that attachments for replies in forums and improved…

Leaderboard

#1
WarrenBelz Profile Picture

WarrenBelz 145,445

#2
RandyHayes Profile Picture

RandyHayes 76,287

#3
Pstork1 Profile Picture

Pstork1 64,741

Leaderboard

Featured topics