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 :
Power Apps - Building Power Apps
Unanswered

Error when downloading PDF from a canvas app connected to CDS

(0) ShareShare
ReportReport
Posted on by 7,314 Most Valuable Professional

Hi All, 

 

I have a flow that creates a PDF document and attaches to a note related to a custom entity. I am able to download and view the PDF perfectly fine from within the model-driven app. However, in the canvas app, I get this error: 

Error.PNG

To eliminate the possibility of this being an issue with PDFs, I tested it out with another PDF that wasn't generated through the Flow and that works fine. I read a few posts here that spoke about there being a space in the file name or file size being too big as possible reasons but I eliminated all those and still got issues. 

 

If you want me to share the Flow steps, I can but there is nothing fancy that is being done. Its pretty straightforward. That being said, it could be something that is not getting set correctly or not getting set at all (a PDF property may be?). Not sure what the issue is. I am using Edge.

 

If I should post this to the Power Automate community, please let me know. 

 

Thanks a lot for your time and help!

 

Hardit Bhatia

https://thepoweraddict.com

I have the same question (0)
  • PowerAddict Profile Picture
    7,314 Most Valuable Professional on at
    Re: Error when downloading PDF from a canvas app connected to CDS
    One quick update: Once I download the PDF (generated from Flow) and then reattach it, I am able to download it from the canvas app. So weird. Not sure if this adds any value but wanted to share it anyway.
  • v-yutliu-msft Profile Picture
    on at
    Re: Error when downloading PDF from a canvas app connected to CDS

    Hi @PowerAddict ,

    Thanks for your sharing!

    Do you mean that your pdf generated by flow could be downloaded in model-driven app, but could not be downloaded in canvas app?

    Do you have full permission of Note entity?

    I suggest you post your flow details in flow forum to see whether your flow configurations have peroblem:

    https://powerusers.microsoft.com/t5/Microsoft-Power-Automate/ct-p/MPACommunity

    If the problem is not about flow, that may be a bug.

    I suggest you ask for help here:

    https://powerapps.microsoft.com/en-us/support/pro/ticket/

     

     

    Best regards,

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…

Chiara Carbone – Community Spotlight

We are honored to recognize Chiara Carbone as our Community Spotlight for November…

Leaderboard > Power Apps

#1
WarrenBelz Profile Picture

WarrenBelz 686 Most Valuable Professional

#2
Michael E. Gernaey Profile Picture

Michael E. Gernaey 433 Super User 2025 Season 2

#3
wolenberg_ Profile Picture

wolenberg_ 266 Moderator

Last 30 days Overall leaderboard