Im getting this error when trying to copy a file from one document library to another.
"status": 400,
"message": "Failed to verify the existence of destination location at 'https://x.sharepoint.com/sites/SiteName/DocLibrary/Folder/' due to error 'The system cannot find the file specified. (Exception from HRESULT: 0x80070002)'.\r\nclientRequestId: 5b2ed5bd-568d-4e53-af95-ec586209cee8\r\nserviceRequestId: bf333fa1-f07f-6000-0bfa-daac9d28946b"
}
The step it fails on:
If I remove the "Output" it works.
The Output for destination Folder is a Replace" there to get the FolderName where the file needs to get copied to and not use the whole path since the library is different but the folder name is the same.
replace(variables('Pre_UserFolderNamePath'),'Removepath','')

Report
All responses (
Answers (