I am having trouble with the Move or Copy File Action when the destination is a Dynamic Site and using the default Shared Documents library. The flow takes metadata from a SharePoint list and creates a word document from a template using quick parts. Originally I was doing this with an HTTP request but my users informed me they sometimes need to put quotes in the description field which messes up the JSON formatting in the HTTP request. To overcome this I now create the file in a Static Site and library so I can use the Update File Properties action and want to copy it out to a dynamic site. Every time I try to Copy or Move the file with the built in Flow Actions I get the following error about the destination folder:
"status": 400,
"message": "Failed to verify the existence of destination location at 'https://#####.sharepoint.com/sites/Projects/Test 4/Shared Documents/' due to error
'The system cannot find the file specified. (Exception from HRESULT: 0x80070002)'.\r\nclientRequestId:
0902a3fb-eced-4d00-9a32-b1e876e65ade\r\nserviceRequestId: 0902a3fb-eced-4d00-9a32-b1e876e65ade"
I have attached a screen shot of the Action Configuration and the runtime error. I am hand typing "/Shared Documents/" into the Destination Folder field since it is not available as dynamic content. Any ideas how I can get this to work would be greatly appreciated.
I had the same problem and removing the last '/' solved it
Hi @stevewest
You need to erase the last / like this "/Shared Documents" instead "/Shared Documents/"
Hi @stevewest
You are very close , you should try "/Shared Documents" instead "/Shared Documents/"
Thanks,
——————————————————
If I have answered your question, please mark your post as Solved.
If you like my response, please give it a Thumbs Up.
WarrenBelz
146,658
Most Valuable Professional
RandyHayes
76,287
Super User 2024 Season 1
Pstork1
65,999
Most Valuable Professional