Notifications
Announcements
Hi @FelixK
Instead of using "Get file" action you could try to use following steps:
1) Create a variable to store File path (FileURL).
2) Use "Send HTTP Request to SharePoint", encoding the previous URL:
3) Parse the output of that action to get file id or other properties you may need.
Hope that helps!
Ferran
i got a authorization issue now.
Note: When i use the URI Path in the browser, i can access the file.
Please, check that the URI content contains only the path to the file (/Documents/....) and NOT the full path (https://...)
This is what i put into the "Send an HTTP request to SharePoint"
what is expected as URI here .. from other posts i read something like this start:
Could you try without encoding the URL? (just using the path with special characters). Definetely, SharePoint doesn't like those special characters!
Nope,this is the Input:
At the very first question you were asking, which action are you using? Honestly, I tried using get file content using path action on a file with german characters and worked like a charm:
So I'm not sure if it's something about german characters or something about that specific file. Could you try with a different file using the same action I used?
Regards,
I tried with various Files and these three connectors
They fail when i use a variable as a Path input for the connector with a value like: "/Shared Documents/Kundenprojekte/00_Austausch/Vertraege/PER-007649/Änderung Ausbildungsverhältnis_0f573474-e1dc-4e96-b217-9a974b88f993.PDF"if i navigate to this particular file in the connector and select it manually not using a variable, then the file is loaded successfully.
NOT WORKING:
WORKING (if path is manually selected):
But of course I want to use a variable, as i need to loop this trough a couple of 1000 documents...
So if i use this the encodeURIComponent function it returns
%2FShared%20Documents%2FKundenprojekte%2F00_Austausch%2FVertraege%2FPER-007649%2F%C3%84nderung%20Ausbildungsverh%C3%A4ltnis_0f573474-e1dc-4e96-b217-9a974b88f993.PDF
If i use this in a Browser tab, i can´t open the file, and the power automat flow returns the following error:
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.
In our never-ending quest to improve we are simplifying the forum hierarchy…
We are honored to recognize Ajay Kumar Gannamaneni as our Community Spotlight for December…
These are the community rock stars!
Stay up to date on forum activity by subscribing.
Michael E. Gernaey 538 Super User 2025 Season 2
Tomac 405 Moderator
abm abm 252 Most Valuable Professional