How to Fix Power Automate Get File Content Using Path Step Stuck
Question details
The user is experiencing an issue where a Power Automate flow hangs indefinitely at the SharePoint 'Get file content using path' action.

- Product
- Microsoft Power Automate and SharePoint
- Device & OS
- not provided
- Scenario
- Running a Power Automate flow to process incoming email attachments and read newly created files in a SharePoint document library.
- Observed behavior
- The flow execution stalls completely at the 'Get file content using path' step, neither succeeding nor throwing an immediate failure error.
Ensure that the account running the Power Automate flow has active, unexpired credentials and full read/write permissions for the target SharePoint document library.
Verify File Path Configuration and SharePoint Permissions
Check the dynamic content used in the file path and confirm site permissions to prevent the flow from hanging during file retrieval.
Often, the 'Get file content using path' action hangs because the file path dynamically generated by the flow is slightly incorrect, or the account lacks the required access rights to the specific SharePoint directory. A missing leading slash or an unsupported special character in the filename can also disrupt the query.
Review the flow configuration to ensure the dynamic file path matches the newly created SharePoint file exactly. Ensure the path includes the correct document library name and starts with a forward slash (/).
Navigate to the SharePoint library settings, go to 'Permissions for this document library', and confirm that the account used in your Power Automate connection has full 'Read' or 'Edit' access.
Temporarily replace the dynamic path with a hardcoded static file path (e.g., /Shared Documents/TestFolder/sample.pdf) to isolate whether the issue stems from dynamic content generation or a broader connection problem.

Consult the Power Automate Community
If standard configuration checks do not resolve the issue, leverage the official Microsoft community for advanced flow diagnostics.
Looking for a Seamless and Free Office Solution? Try WPS Office
While troubleshooting complex Microsoft Power Automate and SharePoint integrations, consider WPS Office as a lightweight, highly compatible alternative for your daily document productivity. It offers built-in PDF tools, advanced spreadsheets, and fast document editing without the heavy overhead.
- 1. Download the Installer: Visit the official WPS Office website and click the 'Free Download' button to get the latest version.
- 2. Install WPS Office: Run the downloaded installation file and follow the quick on-screen prompts to set up the software.
- 3. Open Your Documents: Simply drag and drop your existing Microsoft Office files into the WPS interface to continue working seamlessly.

Frequently Asked Questions
Why does Power Automate hang instead of failing with an error?
When a connector waits for a response from SharePoint, underlying permission issues or malformed paths can cause the API request to endlessly retry or time out silently, rather than throwing an immediate, visible error in the run history.
How do I properly format a SharePoint file path in Power Automate?
Ensure the path starts with a forward slash and contains the full document library name followed by the folder structure and file extension. For example: '/Shared Documents/Invoices/invoice.pdf'.
Can special characters in filenames cause the 'Get file content' step to fail?
Yes, special characters like '#', '%', or '&' in the SharePoint file name or folder path can break the URL encoding. You may need to use an expression to encode the URI components before passing them to the action.




