web
You’re offline. This is a read only version of the page.
close
Skip to main content

Announcements

News and Announcements icon
Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Automate / Flow now throwing inpu...
Power Automate
Answered

Flow now throwing input file appears to be corrupt

(0) ShareShare
ReportReport
Posted on by 140

I have an invoice approval flow that has 2 stages of approvals. If the invoice is fully approved then using an html template an "approval" cover sheet is generated using properties from the item. The approval cover sheet is then merged with the original invoice and the combined pdf is saved to replace the original file uploaded and the approval cover sheet pdf is deleted.

 

This flow has been working without a hitch for about a year and a half now but recently the flows are failing due to an error in the Merge Pdf action. The error details show that "the input file appears to be corrupted and cannot be processed".

 

The flow correctly generates the approval pdf, which can be opened and viewed with no issues, and the original file can also still be opened and viewed with no issues. However, when I try to manually insert the approval pdf into the original file I am getting an error "An incorrect structure was found in the PDF file". It will continue to add the file (after acknowledging the issue) but it won't let me save it as it says its read only or open in another application.

 

I believe that somehow, the flow that used to work, is now corrupting the newly created approval pdf and thus making it unable to properly merge with the original file. What on earth could have changed (I've made no edits to the flow nor any connectors) that would now cause my previously working flow to cease working?

 

Happy to include screenshots of the flow, but as I've said, this flow was working just 1 week ago with no errors and no changes since then made to the flow.

Categories:
I have the same question (0)
  • Verified answer
    emberkrumwied Profile Picture
    140 on at

    Flow seems to have corrected itself. Did have a brief interaction with MS Support and they alluded to potential general fixes on their end that my have contributed first to the error and then to the correction. Very strange.

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

Introducing the 2026 Season 1 community Super Users

Congratulations to our 2026 Super Users!

Kudos to our 2025 Community Spotlight Honorees

Congratulations to our 2025 community superstars!

Leaderboard > Power Automate

#1
Haque Profile Picture

Haque 557

#2
Valantis Profile Picture

Valantis 328

#3
David_MA Profile Picture

David_MA 264 Super User 2026 Season 1

Last 30 days Overall leaderboard