cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
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
DionGoile
Level: Powered On

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

DionGoile
Level: Powered On

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.
Anonymous
Not applicable

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

Super User
Super User

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





Did I answer your question? Mark my post as a solution!

Proud to be a Flownaut!





Helpful resources

Announcements
thirdimage

Power Automate Community User Group Member Badge

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

firstImage

Incoming: New and improved badges!

We've given our badges an overhaul and also added some brand new ones!

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 Kudoed Authors
Users Online
Currently online: 183 members 6,088 guests
Please welcome our newest community members: