Hi all,
I just started using Power Automate and I'm trying to retrieve a copied file and send it per mail.
The flow copies a file from one location to another one on Onedrive and then needs to send the copied file to some users.
The first part works fine, but when I try to use "Get file content" from Onedrive for business it will throw error 400 every time.
The entire flow is not finished yet so that's why there is currently 2 branches.
Things I tried:
Creating a Test.xlsx file in Onedrive -> Selecting this file directly in Power Automate -> overwriting it with the flow -> gives error
Using dynamic content "Path" -> gives error
Writing the path manually -> gives error
using dynamic content "Id" -> gives error
using dynamic content "name" and manually writing path -> gives error
The weird thing is that I use the last method in the Run script 2 action as well and it works completely fine.
I must be forgetting something in order to fetch the file correctly, but I don't know what it is.