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 : wRcgLH6RzbDIiKAGIos1a/
Power Automate - Using Flows
Unanswered

PDF content corrupted in Flow process

Like (0) ShareShare
ReportReport
Posted on 5 May 2016 14:46:55 by 9

Trying to use Flow to copy a PDF from an FTP site when a new version is posted to a SharePoint Online document library. I'm using the FTP "When a file is added or modified" and the SharePoint "Create File" actions. The flow does run, but the PDF that ends up in SP is missing most of the actual content from the pages (a lot of pages in the PDF are blank).

 

Any suggestions?

I have the same question (0)
  • GabrielStJohn Profile Picture
    on 23 May 2018 at 19:24:12
    Re: PDF content corrupted in Flow process

    Hey, @rlburg!

     

     

    Thank you for posting to the Microsoft Flow Community forums! I see that in one of the above replies you were offered a solution to your issue! If you feel that the reply offered an applicable and satisfactory solution, please click "Accept as Solution" so that other users can find this information and utilize it easily!

     

    Thank You!

    -Gabriel

    Flow Community Manager

  • Community Power Platform Member Profile Picture
    on 24 Apr 2018 at 17:03:41
    Re: PDF content corrupted in Flow process

    Actually was a very simple solution: when you create the FTP connection in Flow, you need to enable BinaryTransport by ticking the checkbox otherwise it brings across garbage.  Should have looked hard but at least other people can hopefully use this solution.

  • Community Power Platform Member Profile Picture
    on 24 Apr 2018 at 16:53:53
  • rlburg Profile Picture
    9 on 11 May 2016 at 01:59:54
    Re: PDF content corrupted in Flow process

    About 150KB

  • compkos Profile Picture
    20 on 10 May 2016 at 10:55:38
    Re: PDF content corrupted in Flow process

    I think here is problem

    Lookiing at log of flow of mail recevied see that field HasAttachment is null , but email has attachment

     

     "Importance": 1, "HasAttachment": null

  • compkos Profile Picture
    20 on 10 May 2016 at 09:31:39
    Re: PDF content corrupted in Flow process

    Same problem here...

    flow copy pdf attachment from an Office 365 mail to Office 365 Onedrive Business

    Copy only first 24bytes of 356kb of pdf file

  • Sunay Profile Picture
    on 10 May 2016 at 07:38:10
    Re: PDF content corrupted in Flow process

    @rlburg : We are looking into this, but were not able reproduce the issue.

    What is the size of your PDF file that failed to copy? 

  • rlburg Profile Picture
    9 on 06 May 2016 at 13:12:17
    Re: PDF content corrupted in Flow process

    Thanks for the assistance.

     

    The link to the actual flow is https://flow.microsoft.com/manage/flows/f0002614-7795-4eaa-8131-b51cbc792364/

     

    I tested this morning again and the "successful" run that did not copy the file properly is https://flow.microsoft.com/manage/flows/f0002614-7795-4eaa-8131-b51cbc792364/runs/08587390667487480172

  • Sunay Profile Picture
    on 05 May 2016 at 22:31:09
    Re: PDF content corrupted in Flow process

    Hi rlburg - 

    Could you please share the url that points to your flow and we can take a look.

    You can get to it by clicking on the flow, and taking the URL from the address bar. 

     

    The URL should look like : 

    https://flow.microsoft.com/manage/flows/93cbd448-db01-4a3b-a3cf-abfe6062f67b

     

    If a specific PDF file was not copied properly - providing the run details for that specfic run will help us to look at the issue.

     

    The URL for run details should look like this - https://flow.microsoft.com/manage/flows/93cbd448-db01-4a3b-a3cf-abfe6062f67b/runs/08587391206425823927

     

    You can't get to it by clicking on the i - icon and then clicking on a run instance. 

     

     

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

Responsible AI policies

As AI tools become more common, we’re introducing a Responsible AI Use…

MS.Ragavendar – Community Spotlight

We are honored to recognize Ragavendar Swaminatha Subramanian as our September…

Leaderboard > Power Automate

#1
Michael E. Gernaey Profile Picture

Michael E. Gernaey 736 Super User 2025 Season 2

#2
Tomac Profile Picture

Tomac 396 Moderator

#3
Power Apps 1919 Profile Picture

Power Apps 1919 339

Last 30 days Overall leaderboard

Featured topics

Restore a deleted flow
Loading complete