web
You’re offline. This is a read only version of the page.
close
Skip to main content

Notifications

Announcements

Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Automate / How to upload attachme...
Power Automate
Unanswered

How to upload attachments using HTTP on Power Automate?

(1) ShareShare
ReportReport
Posted on by 8

My flow is triggered by receiving an email that contains an attachment. I will then need to reference the contents of that attachment when creating a document record in my http step.

The body of my http request:

Screenshot 2024-09-19 165010

After running the flow, the dynamic content is showing bolded ?'s in the output. I would think this is the reason why my flow is failing.

Screenshot 2024-09-19 165241Screenshot 2024-09-19 165409

On the first attempt (with the same JSON body), the file contents showed none of these characters and everything ran smoothly. After that, these characters have showed up in every attempt and I have not had the flow succeed since. Does anyone know how to fix this?

Categories:
I have the same question (0)
  • CFernandes Profile Picture
    8,402 Most Valuable Professional on at
    Hey Mate, You are trying to upload the attachment to which Data-Source? 
     
    If this reply has answered your question or solved your issue, please mark this question as answered. Answered questions helps users in the future who may have the same issue or question quickly find a resolution via search. If you liked my response, please consider giving it a thumbs up. THANKS!
     
    P.S. take a look at my blog here and like & subscribe to my YouTube Channel thanks.
     
  • jayman123 Profile Picture
    8 on at
    I am trying to upload the attachment to Oracle HCM.
  • Suggested answer
    nixierat Profile Picture
    4 on at
    Good Afternoon,
     
    When looking at the error it could just be an error with the other fields that you are sending.
    Please verify all of the criteria for the API post are met.
     
    Thanks,
     nixierat
  • jayman123 Profile Picture
    8 on at
    Nixierat, 
     
    I looked back at the fields and found that the DocumentCode needs to be unique with every document record, which is something I was not doing. Once I referenced a time variable (something that is always unique) it worked again! 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

Forum hierarchy changes are complete!

In our never-ending quest to improve we are simplifying the forum hierarchy…

Ajay Kumar Gannamaneni – Community Spotlight

We are honored to recognize Ajay Kumar Gannamaneni as our Community Spotlight for December…

Leaderboard > Power Automate

#1
Michael E. Gernaey Profile Picture

Michael E. Gernaey 522 Super User 2025 Season 2

#2
Tomac Profile Picture

Tomac 364 Moderator

#3
abm abm Profile Picture

abm abm 243 Most Valuable Professional

Last 30 days Overall leaderboard