Hi Power Platform Folks
I am trying to set up a formula to merge documents in a folder to a PDF using OneDrive. I have finished but I run into an issue right after my Apply to loop in the first "Get File Content" action.
Here's a brief summary of my flow:
- Get files (properties only): I'm fetching all files from a specific SharePoint directory:
- Site Address: REDACTED.sharepoint.com
- Library Name: Shared Documents
- Folder: /General/REDACTED
- Initialize Variables: I've initialized three variables before entering the loop.
- Apply to each: I loop through each file from the list obtained in step 1.
- Get file content: Inside the loop, I try to get the content of each file:
- Site Address: Same as above.
- File Identifier: I'm using Current item from the dynamic content, which should refer to the ID of each file in the loop.
However, I'm encountering an error when the flow tries to execute the 'Get file content' action. The error message I receive is:
"Action 'Get_file_content' failed: Route did not match clientRequestId: 228b5aa1-b1f5-433a-a617-be76d74b0f06 serviceRequestId: 002778a1-203c-7000-7d72-71deb44f60cc"
I've tried the following to troubleshoot:
- Verified that the files exist in SharePoint at the time of flow execution.
- Checked permissions to ensure my account has access to read these files.
- Used expressions like @{items('Apply_to_each')?['ID']} to directly reference the ID, but the error persists.
- Ensured the Site Address is consistent across actions.
- Re-added the 'Get file content' action to refresh dynamic content.
Despite these efforts, I'm still facing the same error. Here's a screenshot of my flow setup for reference: 
Has anyone else encountered this issue? Any suggestions on what might be causing this or how to resolve it would be greatly appreciated. I'm particularly interested in any known issues with the SharePoint connector or specific configurations that might help.
Thanks in advance for any help!
Mark