cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Highlighted
Anonymous
Not applicable

Action 'Copy file' failed when copying file in the same library

Hi, 

 

I'm attempting to copy a file in the same library but getting error - Action 'Copy file' failed

 

2017-08-15_10-21-03.png

 

Here's the flow

 

2017-08-15_10-23-37.png

 

I've got two possible causes

 

The error shows an incorrect filename as it is missing the '+' signs 

 

Failure summary

 

Support

Click here to learn about how to fix common failures. You can also ask our community where others may have encountered a similar problem.

  • Action 'Copy file' failed

    Fix It

    To make this flow work, inspect the inputs to this action and ensure they would find the right resource.

    Error type

    This action failed because it tried to access something that does not exist.

    Error Details

    The error message from the service is below. This maybe useful for support:

    The file DoP No 98_Glasstex_P200x200 R STR IB (UK).pdf does not exist. clientRequestId: 72101f9f-e6f3-43ca-bc66-01f837c5db90

     

    And the file path in the flow is as below

     

    2017-08-15_10-28-36.png

     

     

    Also the file has 7 managed metadata columns which are preventing me from using the create file using data from "Get File Content".

     

    I get the same error without any variables. eg I simply use the output as test.pdf and get the same error, 

     

    2017-08-15_13-26-09.png

     

    Obviously all this stems from the lack of functionality to simply rename the file, Not easy for an end user who is processing hundreds of files.

     

     Hope this can be resolved quickly

    Thanks

    Chet

4 REPLIES 4
Community Support Team
Community Support Team

Re: Action 'Copy file' failed when copying file in the same library

Hi cc_onetowatch,

 

Thanks for feedback. According to your description, I create a simple flow with the action “SharePoint – Copy file” to test this issue.


The flow’s configuration likes below:

3.PNG

 

I get two results when I modify different file with different name to run the flow, one is Succeeded while the other one is Failed.

 

About the Succeeded one, the file name of the modified file is “A (version 1).xlsb.xlsx”. There is no special character in the file name.


When I modify the file to run the flow, it succeeded.

4.PNG

 

About the failed one, the file name of the modified file is “Import+str_uuel+ID(UK).xlsx”, as you can see, there are special characters in the file name.


When I modify the file to run the flow, it failed with the same error message you’ve got.

5.PNG

 

It seems that the error related to the special characters in the file name.


I will be going to report and confirm it from my side and back to you once I got any updates.

 

Best regards,
Mabel Mao

Community Support Team _ Mabel Mao
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
Anonymous
Not applicable

Re: Action 'Copy file' failed when copying file in the same library

Thats great thanks. I look forward to the fix

Power Apps Staff KeremY
Power Apps Staff

Re: Action 'Copy file' failed when copying file in the same library

Thank you for reporting this issue. I believe we fixed a similar issue for the "Create file" action earlier this year. So a workaround to get you unblocked could be to "Get file content" and then use the "Create file" action to make it succeed.

 

Hope this helps. 

 

I have filed a report of this issue to get it fixed in a later release.

Anonymous
Not applicable

Re: Action 'Copy file' failed when copying file in the same library

@KeremY

 

I tried the create file and the flow ran successfully and created a duplicate of the file however none of the managed metadata was copied across

Helpful resources

Announcements
firstImage

Incoming: New and improved badges!

Look out for new contribution recognition badges coming SOON!

firstImage

Power Platform Online Conference

Join us for the first ever Power Platform Online Conference!

firstImage

New & Improved Power Automate Community Cookbook

We've updated and improved the layout and uploading format of the Power Automate Cookbook!

thirdimage

Power Automate Community User Group Member Badge

Fill out a quick form to claim your user group badge now!

fifthimage

Microsoft Learn

Learn how to build the business apps that you need.

sixthImage

Power Platform World Tour

Find out where you can attend!

seventhimage

Webinars & Video Gallery

Watch & learn from the Power Automate Community Video Gallery!

Top Solution Authors
Users online (6,133)