Skip to main content

Notifications

Community site session details

Community site session details

Session Id : c8VajJv5nLms79UN9kVRfh
Power Up Program - Create Power Automate cloud ...
Unanswered

Power Automate - Content Error with http request for sharepoint file upload

Like (1) ShareShare
ReportReport
Posted on 30 May 2025 18:27:34 by 80
Hi
 
I am facing issue with uploading excel file to Sharepoint using HTTP. Uploaded file seems currupt and not usable
 
 
getting following error while trying to open the file
 
 
 
Please help urgently.
 
Regards
 
Categories:
  • stampcoin Profile Picture
    2,574 on 31 May 2025 at 05:27:56
    Power Automate - Content Error with http request for sharepoint file upload
    Thanks for sharing more information.
    the body fx should be = body('Get_file_content_2'),
    Header if you want to use application/octet-stream rather than application/vnd.ms-excel, or ignore it.
    try that, feel free if you have any question.
  • Neeraj523 Profile Picture
    80 on 31 May 2025 at 03:50:34
    Power Automate - Content Error with http request for sharepoint file upload
    URL should be fine as it is creating the file in Sharepoint. 
     
    I tried deleting the headers but not success.
     
    here is the fx for body
    body('Get_file_content_2')?['content']
  • stampcoin Profile Picture
    2,574 on 30 May 2025 at 19:35:15
    Power Automate - Content Error with http request for sharepoint file upload
    Your Uri looks odd. should Not have 20%.
    Header is not mandatory, you can try to delete it.
    What is the fx for the Body  ? 

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

Leaderboard > Microsoft Power Up Program Community

#1
w.p Profile Picture

w.p 288

#2
Michael E. Gernaey Profile Picture

Michael E. Gernaey 138 Super User 2025 Season 1

#3
mmbr1606 Profile Picture

mmbr1606 80 Super User 2025 Season 1

Featured topics

Loading started