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".

     

    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.

     

    THanks

    Chet

     

     

     

5 REPLIES 5
Highlighted
Advocate II
Advocate II

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

For your variable “Append”, you might find some conversion is happening with the type the data is being store as.

Check the input and output of that variable initialisation for “append” and you might find your need to pass a string or encode/decode that data before setting it as the variable.

If so you can do this with the compose action easily.
Highlighted
Anonymous
Not applicable

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

Thats for the reply but I get the same error without any variables. eg I simply use the output as test.pdf and get the same error, the flow team are usually pretty quick to fix though  

 

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

Highlighted
Advocate II
Advocate II

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

Good testing. Add the issue to the “I found a bug” board and someone it will get through to the right team faster.
Highlighted
Anonymous
Not applicable

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

Highlighted
Memorable Member
Memorable Member

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

Hey all,

 

 

I had the same issue as well.

I solved it just because my source path wasn't correct so I would definitly check that again.

Also did you fill in the source path yourself? Like the filename with the + and stuff?

 

You could do some steps before that with get file properties so you can get the Name of the file dynamically.

 

Kind regards

 

 

Tom



If this reply has answered your question or solved your issue, please mark this question as answered.

Answered questions helps users in the future who may have the same issue or question quickly find a resolution via search. If you liked my response, please consider giving it a thumbs up.

Helpful resources

Announcements
secondImage

August 2020 CYST Winners!

Check out the winners of the recent 'Can You Solve These?' community challenge!

thirdImage

Experience what's new for Power Automate

Join us for an in-depth look at the new Power Automate features and capabilities at the free Microsoft Business Applications Launch Event.

firstImage

Power Platform 2020 release wave 2 plan

Features releasing from October 2020 through March 2021

thirdimage

Power Automate Community User Group Member Badge

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

Users online (5,129)