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 Automate News & Announcements

Power Automate News & Announcements

Keep up to date with current events and community announcements in the Power Automate community.

Power Automate Community Blog

Power Automate Community Blog

Check out the latest Community Blog from the community!

Top Solution Authors
Users online (3,176)