Skip to main content

Notifications

Community site session details

Community site session details

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

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

(1) ShareShare
ReportReport
Posted on 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,183 on at
    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 at
    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,183 on at
    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 >

Featured topics