Skip to main content

Notifications

Power Automate - Building Flows
Answered

Instant Cloud Flow Fails with Attachment from Folder but not Camera

Posted on by 7,582

I have an instant cloud flow that we run on mobile devices, which includes an attachment field. If the user takes a picture with their camera, the flow runs without any issues and sends an e-mail with the included attachment. However, if the photo is uploaded from a folder, the flow fails. We only use iPhones for our company devices. Has anyone encountered this behavior?

  • Re: Instant Cloud Flow Fails with Attachment from Folder but not Camera

    Hi @David_MA ,

     

    Glad to see you resolved the issue.

    Please consider marking your own reply as a solution.

     

    Best Regards,

    Wearsky

  • Verified answer
    David_MA Profile Picture
    David_MA 7,582 on at
    Re: Instant Cloud Flow Fails with Attachment from Folder but not Camera

    A little more digging around on the internet, I solved the problem. Since we use iPhones, the images are saved in HEIC format. To resolve this I needed to add base64ToBinary() to my attachment content string. 

     

    base64ToBinary(triggerBody()['file']['contentBytes'])

     

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

November 2024 Newsletter…

November 2024 Community Newsletter…

Community Update Oct 28…

Power Platform Community Update…

Tuesday Tip #7 Community Profile Tips…

Welcome to a brand new series, Tuesday Tips…

Leaderboard

#1
WarrenBelz Profile Picture

WarrenBelz 143,591

#2
RandyHayes Profile Picture

RandyHayes 76,308

#3
Pstork1 Profile Picture

Pstork1 64,090

Leaderboard