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

Community site session details

Session Id : AVdfkzoGi6CpMUnI6WVeJV
Power Automate - Building Flows
Answered

Merge 2 earlier created PDF's gives corrupted error

Like (0) ShareShare
ReportReport
Posted on 25 Apr 2024 12:21:45 by 13

Hello,

 

So i have a flow that creates 2 PDF files 1 trough an attachment from a form and 1 from a converted word doc. Both are saved in sharepoint. Now in that same flow i want to merge them in 1 pdf file. I was using the "Adobe Merge PDF's" however i keep getting the error "corrupt document", but when i check these documents in sharepoint or trough pdf reader i can see them perfectly. How can i fix this? i read about array's but i have nearly no experience with them. My flow is a bit long to show it here so i will show the parts where the pdf's are created.

 

edit: With the files i refer to the file content of the earlier created pdf files.

DieterL_0-1714048133238.png

 

error:

DieterL_3-1714047898308.png

 

 

Part 1:

DieterL_1-1714047795242.png

Part 2:

DieterL_2-1714047809941.png

 

  • LeeA Profile Picture
    12 on 27 Jun 2024 at 11:41:21
    Re: Merge 2 earlier created PDF's gives corrupted error

    @DieterL 

     

    I'm having the same issue and cant seem to locate the reason why the content is corrupt as it appears to be fine when checking the base64. Are you able to provide the input sample from the Adobe Merge PDF to see how it differs from mine please?

  • Verified answer
    DieterL Profile Picture
    13 on 25 Apr 2024 at 14:00:30
    Re: Merge 2 earlier created PDF's gives corrupted error

    i am not gone bother with encodian since i only get a trial version and its limited in its amount of actions. The PDF's are fine as i can merge them manually so the error lies somwhere in the flow. I am sure the content is from the correct action, but to be sure i have tried it from diffrent actions. the full error is this : 

    The input file appears to be corrupted and cannot be processed.; requestId=64f295be-5651-47cd-8242-e3cd327fa008

     

    in the action of merge PDF's the status code is 400

     

    But for some reason it works now... 

     

    i have no explantion what so ever

  • DieterL Profile Picture
    13 on 25 Apr 2024 at 13:21:19
    Re: Merge 2 earlier created PDF's gives corrupted error

    i will test with encodian and let you know

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

Announcing our 2025 Season 2 Super Users!

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

Paul Stork – Community Spotlight

We are honored to recognize Paul Stork as our July 2025 Community…

Congratulations to the June Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Automate

#1
Michael E. Gernaey Profile Picture

Michael E. Gernaey 497 Super User 2025 Season 2

#2
David_MA Profile Picture

David_MA 436 Super User 2025 Season 2

#3
Riyaz_riz11 Profile Picture

Riyaz_riz11 244 Super User 2025 Season 2

Loading complete