
Announcements
I have a Flow that copies a Word doc from DataVerse into SharePoint, and creates the file in SharePoint using the Create File action., which requires a Site address and a folder path.
I need the folder path to be in an env variable, but when it runs the action it throws a not found error, as it is using a GUID and not the folder path.
This works with a folder path selected from the folder icon.
Setting up an env variable thus:
and using this in the Folder Path results in an error. The env var in a compose shows as a GUID, and in the create doc action the error is:
"body":{"status":400,"message":"Root folder is not found.\r\nclientRequestId: d7975b32-835a-4a91-8414-ec3e36f3c21f\r\nserviceRequestId: d7975b32-835a-4a91-8414-ec3e36f3c21f"}}
I've tried to use the GUID in other actions (like get folder metadata) but the same issue.
Am I missing something obvious as usual!
Hi @mjburley ,
The Folder path expects a string value.
So I think you could create a Text environment variable instead of a sp list environment variable.
Best Regards,
Wearsky