web
You’re offline. This is a read only version of the page.
close
Skip to main content

Announcements

News and Announcements icon
Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Automate / Move or rename file us...
Power Automate
Unanswered

Move or rename file using path - "The specified item name already exists"

(0) ShareShare
ReportReport
Posted on by 78

Hi,

 

So I have created a Microsoft form which allows users to attach multiple documents in the response. I created a flow where I used "When a new response is submitted" trigger to move the attached files over to different folders.

 

With some files, my flow throws an error "The specified item name already exists". (Only with some files even when attaching multiple!)

 

As you can see from the my flow, I am creating dynamic folders based on the response ID so I don't see a reason for the file to "already exist"!

 

 

ArshUser_1-1646981181278.png

 

PS: I tried filling in the form (multiple times with same 3 files) and attached 3 documents named: sample1.xlsx, sample2.xlsx, pic1.png

It always throws this error for "sample1.xlsx" and never on the other files.

 

I would really appreciate some help with this.

 

Thankyou!

 

Categories:
I have the same question (0)
  • fchopo Profile Picture
    8,003 Moderator on at

    Hi @ArshUser 

    Could you try to add a "delay" action after moving or renaming the file, for 5 seconds for instance? 

    Hope it helps!

    Ferran

  • ArshUser Profile Picture
    78 on at

    Hi @fchopo , 

     

    I tried this but again the same error occurs. Only sometimes though. When I re-run the flow the error goes away.

     

    But this isn't good enough for me as this flow will be triggered by other people in the organization. I really don't want the flows to fail.

  • fchopo Profile Picture
    8,003 Moderator on at

    Is the "name" attribute you're using the name of the file? Could you append response_id to file name when moving the file? In this way probably you can avoid the problem

    Hope it helps!

    Ferran

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

Introducing the 2026 Season 1 community Super Users

Congratulations to our 2026 Super Users!

Kudos to our 2025 Community Spotlight Honorees

Congratulations to our 2025 community superstars!

Leaderboard > Power Automate

#1
Haque Profile Picture

Haque 589

#2
Valantis Profile Picture

Valantis 328

#3
David_MA Profile Picture

David_MA 284 Super User 2026 Season 1

Last 30 days Overall leaderboard