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 Apps / Can't download PDFs to...
Power Apps
Answered

Can't download PDFs today - "Couldn't download - No file"

(0) ShareShare
ReportReport
Posted on by 74

Canvas app on GCC High -- I have text fields inside a Container (not vertical or horizontal - just container) and the experimental PDF function is turned on. The PDF is being generated fine and I can see it in a PDF Viewer control. The problem is the downloading of the file. I'm using the same exact method (from Reza Dorani) that is working fine in a different app of mine. But here, it's not working. When I click the file name in an Attachment control, the Downloads dialog says "Couldn't download - No file"

cant download pdf.jpg

 

The varPDFBlob is being created (apparently successfully) on a button click:

Set(
 varPDFBlob,
 PDF(
 conDashboard,
 {
 Orientation: PaperOrientation.Portrait,
 Size: PaperSize.A4,
 Margin: "24pt 24pt 24pt 24pt",
 ExpandContainers: true
 }
 )
)


And the Items property of the Attachment control is set to:

{Name: "test"&".pdf", Value: varPDFBlob}

 
Can't get the file to download successfully. Any ideas? Thanks to all!!

Categories:
I have the same question (0)
  • Verified answer
    v-xiaochen-msft Profile Picture
    Microsoft Employee on at

    Hi @RacRig5407 ,

     

    Please try this:

    vxiaochenmsft_0-1687317083669.png

     

    Best Regards,

    Wearsky

  • Luessem Profile Picture
    17 on at

    I have got the same issue today - 😕 yesterday it worked and @v-xiaochen-msft's hint does not work for me. Any other hint? 

  • RacRig5407 Profile Picture
    74 on at

    Well this seems to have worked for me! The Name and Value were already in place, but I re-selected the values into the fields and tried again. Got a file today -- so it was either this setting or something else got refreshed and cleaned up magically overnight. 

  • RacRig5407 Profile Picture
    74 on at

    Did you try re-selecting the values into those fields? I don't know why but it's working for me today and that's all I did.

  • RacRig5407 Profile Picture
    74 on at

    This error continues to come up intermittently. I find that the Value field keeps changing back to "Name" and I have to correct it over and over. But even after correcting the Name and Value fields, the PDF will not download. It works fine one minute, then it fails and I can't figure out what changed. There must be some kind of bug here. 

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

Introducing the 2026 Season 1 community Super Users

Congratulations to our 2026 Super Users!

Kudos to our 2025 Community Spotlight Honorees

Congratulations to our 2025 community superstars!

Leaderboard > Power Apps

#1
wolenberg_ Profile Picture

wolenberg_ 119 Super User 2026 Season 1

#2
WarrenBelz Profile Picture

WarrenBelz 107 Most Valuable Professional

#3
Haque Profile Picture

Haque 103

Last 30 days Overall leaderboard