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 / How to download pdf fi...
Power Automate
Answered

How to download pdf file which show application/octet-stream and save it or send in mail

(0) ShareShare
ReportReport
Posted on by 4

I am running Jira query in loop getting pdf details and then running http request to download file trying to save the file as well send it in mail. But getting error even downloaded file is not readable. Below is my test flow run.

 

alok1988_0-1672652676256.png

 

on test i get below snap side by side. any help is appreciated

alok1988_1-1672652751527.png

alok1988_3-1672652798509.png

alok1988_5-1672652859261.png

 

Categories:
  • Verified answer
    v-xiaochen-msft Profile Picture
    Microsoft Employee on at

    Hi @alok1988 ,

     

    Perhaps there are two mistakes in it.

    1\ Please try to change the file name from testpdf to test.pdf.

    vxiaochenmsft_0-1672710430660.png

     

    2\ Using the compose output in file content parameter.

    vxiaochenmsft_1-1672710504141.png

     

    Best Regards,

    Wearsky

  • alok1988 Profile Picture
    4 on at

    Second one solved the issue i changed it to take entire body instead of content and it worked. Thanks.

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
11manish Profile Picture

11manish 315 Super User 2026 Season 2

#2
Mohsin Ali Profile Picture

Mohsin Ali 267

#3
Henil Profile Picture

Henil 115

Last 30 days Overall leaderboard