Hello everyone!
I'm brand new to Flow and I've been playing around trying to make some tests for some workflows I want to implement in my SharePoint site.
What I need to do is very simple:
Every time a file is created within a folder of a subsite, copy that same file to another folder within the main site.


However, when the workflow runs, I get this error message:
{
"status": 404,
"message": "The file /Marketing/BrandTest/4.docx does not exist.\r\nclientRequestId: c4ff919c-f6ef-425e-8535-d350659bf472",
"source": "https://siteurl.goeshere/Marketing/_api/web/GetFileByServerRelativePath(decodedUrl=@p)/Etag?@p='%2fMarketing%2fBrandTest%2f4.docx'",
"errors": [
"-2130575338",
"Microsoft.SharePoint.SPException"
]Why is it telling me this? I have manually added a test file to the BrandTest folder but I still keep getting the same message over and over.
Am I doing the flow wrong? Am I missing something? Is it even possible to move files from a subsite to the main site through a workflow?
Thanks beforehand for your help!