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

Community site session details

Session Id :
Power Automate - Using Connectors
Unanswered

SharePoint Connector, "Get file content using path" action succeeded but didn't return file content

(0) ShareShare
ReportReport
Posted on by 10
Hi Friends,
I stored files on SharePoint and in Power Automate Flow, using "Get file content using path" action, getting the content. But sometimes, it is not getting the content, but the action is executed successfully. The "Content-Length" HTTP header is 0 in the output. On different Power Platform environment, the content is being returned for the same file. The file size around 10MB.
 
Regards
Anjan
Categories:
I have the same question (0)
  • lbendlin Profile Picture
    8,474 Super User 2025 Season 2 on at
    SharePoint Connector, "Get file content using path" action succeeded but didn't return file content
    After the file is written to the sharepoint you need to wait a bit (10 seconds or longer) before you can attempt to read its contents.
  • Anjan Chidige Kumar Profile Picture
    10 on at
    SharePoint Connector, "Get file content using path" action succeeded but didn't return file content
    Thanks for the response. Uploading the file to SharePoint is a different flow. In my use case, the file is already uploaded to SharePoint. I am trying to read it. And I am consistently getting the empty content response for the files. I tested the same files on the same environment for another user (upload and download). I am able to download.
     
     
  • Ellis Karim Profile Picture
    11,651 Super User 2025 Season 2 on at
    SharePoint Connector, "Get file content using path" action succeeded but didn't return file content
    Hi 
     
    Can you try the following simple test with the problem file. Do you get the same or different results?
     
    Try the Get file content using path using different File Paths:
     
    (1) File Path: hard code the absolute URL for the file, for example:
    Power Automate “Get file content using path” action using an absolute URL as input. The File Path field is set to a variable named absoluteURL.
    https://badpassword.sharepoint.com/sites/DemoSite/Shared%20Documents/Report_2025-04-22T16_54_05.6312659Z.xlsx
     
    (2) File Path: hard code the file path, for example:
    Power Automate “Get file content using path” action using a standard SharePoint file path. The File Path field is set to a variable named filePath, representing a site-relative path starting from the document library.
    /Shared Documents/Apps/Microsoft Forms/Customer Service Demo Form/Application Form/Certification-Poster-en-us_Ellis Karim.pdf
     
    I have seen some inconsistent behavior with the Get file content using path action, but this was due to encoded file paths: How to Get SharePoint File Content in Power Automate: File Paths vs URLs
     
     
    Ellis Karim
    Ellis Karim
    elliskarim.com  |  LinkedIn  |  Bluesky
    If this solved your issue, please mark it as ✅ Accepted Answer. If it helped, feel free to give it a 🩷 Like!
  • Anjan Chidige Kumar Profile Picture
    10 on at
    SharePoint Connector, "Get file content using path" action succeeded but didn't return file content
    @Ellis Karim, Thanks for your response. I tried with the options you suggested. Issue still persists. 
     
    Are there any logs in the system to see, whether the SharePoint Connector is writing to for more information? Unfortunately, the Actions in the flow are being executed successfully with file content as empty. 
     
    Not sure, how to debug this issue.
  • Ellis Karim Profile Picture
    11,651 Super User 2025 Season 2 on at
    SharePoint Connector, "Get file content using path" action succeeded but didn't return file content
     
     
    Can you please share a screenshot of the
    1. the configured action Get file content using path 
       
    2.  Runtime output of the Get file content using path action, where it returns "empty" content.
    Sample runtime output of my Get file content using path action:
     
     
     
    Ellis Karim
    Ellis Karim
    elliskarim.com  |  LinkedIn  |  Bluesky
    If this solved your issue, please mark it as ✅ Accepted Answer. If it helped, feel free to give it a 🩷 Like!

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

Coming soon: forum hierarchy changes

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
Tomac Profile Picture

Tomac 544 Moderator

#2
Michael E. Gernaey Profile Picture

Michael E. Gernaey 482 Super User 2025 Season 2

#3
chiaraalina Profile Picture

chiaraalina 287

Last 30 days Overall leaderboard

Featured topics