cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Highlighted
NotAlex
Level: Powered On

HTTP Request, with PDF content showing blank

I am trying to create a flow that recieves a PDF (file name and content) via HTTP Request.

 

So i have setup a test in flow 1 to call the HTTP request and send through the pdf content, but the PDF saved in flow 2 is blank.

 

Flow 1: [Works]

  1.  gets Email Attachment
  2. Saves as PDF in SharePoint Library (correctly)
  3. Sends PDF content via HTTP to Flow 2

    Flow 1.PNG

Flow 2: [Doesnt Work]

  1. Recieves Request
  2. Saves PDF to SharePoint Library
  3. PDF is blank/Corrupt

Flow 2.PNG

 

 

Thanks!

2 ACCEPTED SOLUTIONS

Accepted Solutions
Super User
Super User

Re: HTTP Request, with PDF content showing blank

Hi @NotAlex 

 

Can you try wrapping the 'document' in the binary() fucntion using the expression editor in the Create a file action and run the flow. 

 

Hope this Helps!

If this reply has answered your question or solved your issue, please mark this question as answered. Answered questions helps users in the future who may have the same issue or question quickly find a resolution via search. If you liked my response, please consider giving it a thumbs up. THANKS!

AlexBunning1
Level: Powered On

Re: HTTP Request, with PDF content showing blank

@yashag2255  you are a gentleman and a scholar, thank you!

 

Just a note that it is actually "Base64ToBinary([contentBytes])".

 

Cheers

Alex

3 REPLIES 3
Super User
Super User

Re: HTTP Request, with PDF content showing blank

Hi @NotAlex 

 

Can you try wrapping the 'document' in the binary() fucntion using the expression editor in the Create a file action and run the flow. 

 

Hope this Helps!

If this reply has answered your question or solved your issue, please mark this question as answered. Answered questions helps users in the future who may have the same issue or question quickly find a resolution via search. If you liked my response, please consider giving it a thumbs up. THANKS!

AlexBunning1
Level: Powered On

Re: HTTP Request, with PDF content showing blank

@yashag2255  you are a gentleman and a scholar, thank you!

 

Just a note that it is actually "Base64ToBinary([contentBytes])".

 

Cheers

Alex

Super User
Super User

Re: HTTP Request, with PDF content showing blank

@AlexBunning1 

 

Perfect! Usually in some connectors it takes Binary and sometimes it is Base64 to Binary. 

 

If this reply has answered your question or solved your issue, please mark this question as answered. Answered questions helps users in the future who may have the same issue or question quickly find a resolution via search. If you liked my response, please consider giving it a thumbs up. THANKS!

Helpful resources

Announcements
firstImage

Microsoft Business Applications Virtual Launch Event

Join us for an in-depth look at the new innovations across Dynamics 365 and the Microsoft Power Platform.

firstImage

Watch Sessions On Demand!

Continue your learning in our online communities.

Power Platform 2019 Release Wave 2 Plan

Power Platform 2019 Release Wave 2 Plan

Features releasing from October 2019 through March 2020

thirdimage

Flow Community User Group Member Badge

Fill out a quick form to claim your user group badge now!

fifthimage

Microsoft Learn

Learn how to build the business apps that you need

sixthImage

Power Platform World Tour

Find out where you can attend!

seventhimage

Webinars & Video Gallery

Watch & learn from the Flow Community Video Gallery!

Top Kudoed Authors
Users Online
Currently online: 227 members 4,248 guests
Recent signins:
Please welcome our newest community members: