Showing results for 
Search instead for 
Did you mean: 
Regular Visitor

Error to move Files

Good Morning!
I have an error in a Flow where I have a sequence of approvals for a file created in the new folder, and when it is approved in the first step it is moved to the approving folder and if it is rejected in another step it is moved to the folder rejected, if approved in all stages it will be moved to the Approved folder. but you are only moving the file after the first step, in any of the subsequent steps the following error is returned:

An item with the same key has already been added. CallStack -- at System.ThrowHelper.ThrowArgumentException(ExceptionResource resource)
at System.Collections.Generic.Dictionary`2.Insert(TKey key, TValue value, Boolean add)
at Microsoft.SharePoint.Deployment.MetaInfoHandler.Add(MetaInfoProperty property)
at Microsoft.SharePoint.Deployment.FileSerializer.HandleMetaInfo(ExportObjectManager objectManager, SPWeb parentWeb, Object metaInfoObject, SerializationInfo info, Guid listID, Guid itemID, String itemETag)
at Microsoft.SharePoint.Deployment.FileSerializer.GetDataFromDataSet(Object obj, SerializationInfo info, StreamingContext context)
at Microsoft.SharePoint.Deployment.DeploymentSerializationSurrogate.GetObjectData(Object obj, SerializationInfo info, StreamingContext context)
at Microsoft.SharePoint.Deployment.XmlFormatter.SerializeObject(Object obj, ISerializationSurrogate surrogate, String elementName, Boolean bNeedEnvelope)
at Microsoft.SharePoint.Deployment.XmlFormatter.Serialize(Stream serializationStream, Object topLevelObject)
at Microsoft.SharePoint.Deployment.SPExport.SerializeObjects()
at Microsoft.SharePoint.Deployment.SPExport.Run()
clientRequestId: ae046f29-a524-4151-b5ab-8e65080bb669
serviceRequestId: ae046f29-a524-4151-b5ab-8e65080bb669

Regular Visitor


Since yesterday I have the same problem with a similar flow. After the first step the file is moved without any problem, but in the last step is always returned the error "An item with the same key has already been added.......".

My flow worked without problem from january until yesterday, I cannot understand which is the problem, no changes in the flow have been made.

I have the same problem when moving files multiple times. We have three folders:

Ready for Internal QA

Ready for External QA



The flow always fails between Ready for External QA and Complete, and I get the same 400 error message.

Regular Visitor

Also having this issue as of yesterday...

hi @v-alzhan-msft  this looks like an general issue, could you report it?

Did I answer your question? Please consider to Mark
my post as a solution! to guide others :winking_face:

Proud to be a Flownaut!

If you want you can follow me at Quieres contenido en español? Síguenos en Power Automate LA
New Member

I hace the same error from yesterday. Any of you have a solution or a reason?

Regular Visitor

Same issue here. Suddenly all our Flows are failing with this error bringing our entire project to a halt. No solutions yet?

New Member

Having the same issue for crucial approval flows.

Regular Visitor

feel free to add you comments to the post I made for this under the "I found a Bug" board. Maybe it will get more attention that way.

Helpful resources

Power Platform Conf 2022 768x460.jpg

Join us for Microsoft Power Platform Conference

The first Microsoft-sponsored Power Platform Conference is coming in September. 100+ speakers, 150+ sessions, and what's new and next for Power Platform.

New Ideas Forum MPA.jpg

A new place to submit your Ideas for Power Automate

Announcing a new way to share your feedback with the Power Automate Team.

MPA Virtual Workshop Carousel 768x460.png

Register for a Free Workshop

Learn to digitize and optimize business processes and connect all your applications to share data in real time.

MPA Licensing.jpg

Ask your licensing questions at the Power Automate AMA!

Join Priya Kodukula and the licensing team, super users and MVPs to find answers to your questions on Power Automate licensing.

Super User 2 - 2022 Congratulations 768x460.png

Welcome Super Users

The Super User program for 2022- Season 2 has kicked off!

Users online (4,955)