cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
PowerAddict
Super User
Super User

Error when downloading PDF from a canvas app connected to CDS

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

2 REPLIES 2
PowerAddict
Super User
Super User

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.

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,

Community Support Team _ Phoebe Liu
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

Helpful resources

Announcements
Power Apps News & Annoucements carousel

Power Apps News & Announcements

Keep up to date with current events and community announcements in the Power Apps community.

Community Call Conversations

Introducing the Community Calls Conversations

A great place where you can stay up to date with community calls and interact with the speakers.

Power Apps Community Blog Carousel

Power Apps Community Blog

Check out the latest Community Blog from the community!

Top Solution Authors
Top Kudoed Authors
Users online (5,145)