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

Notifications

Announcements

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

Forum hierarchy changes are complete!

In our never-ending quest to improve we are simplifying the forum hierarchy…

Ajay Kumar Gannamaneni – Community Spotlight

We are honored to recognize Ajay Kumar Gannamaneni as our Community Spotlight for December…

Leaderboard > Power Automate

#1
Michael E. Gernaey Profile Picture

Michael E. Gernaey 538 Super User 2025 Season 2

#2
Tomac Profile Picture

Tomac 405 Moderator

#3
abm abm Profile Picture

abm abm 252 Most Valuable Professional

Last 30 days Overall leaderboard