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 / HTTP Request, with PDF...
Power Automate
Answered

HTTP Request, with PDF content showing blank

(0) ShareShare
ReportReport
Posted on by

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!

Categories:
  • Verified answer
    yashag2255 Profile Picture
    24,769 Super User 2024 Season 1 on at

    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!

  • Verified answer
    AlexBunning1 Profile Picture
    11 on at

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

     

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

     

    Cheers

    Alex

  • yashag2255 Profile Picture
    24,769 Super User 2024 Season 1 on at

    @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!

  • Community Power Platform Member Profile Picture
    Microsoft Employee on at
  • apettit Profile Picture
    245 on at

    Good morning,

     

    Will you please (privately) share with me how you configured the POST URI?  Thank you so much for considering! 

  • apettit Profile Picture
    245 on at

    Good morning,

     

    Will you please re-share this alternative solution (link expired)?

     

    Thank you!

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

Season of Sharing Community Challenge Winners!

Congratulations to our community stars!

Kudos to our 2025 Community Spotlight Honorees

Expanding mentorship, skilling, and AI innovation

Leaderboard > Power Automate

#1
Mohsin Ali Profile Picture

Mohsin Ali 445

#2
11manish Profile Picture

11manish 345 Super User 2026 Season 2

#3
M Bilal Khan Profile Picture

M Bilal Khan 300

Last 30 days Overall leaderboard