cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Walas_Luiz
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

8 REPLIES 8
_Igor
Regular Visitor

Goodmorning,

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

Complete

 

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

SWJonathan
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 www.christianabata.com Quieres contenido en español? Síguenos en Power Automate LA
Vivi
New Member

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

JaimieH0209
Regular Visitor

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

jber
New Member

Having the same issue for crucial approval flows.

JaimieH0209
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. https://powerusers.microsoft.com/t5/I-Found-A-Bug/Flows-with-Move-File-steps-are-all-now-suddenly-fa...

Helpful resources

Announcements
Process Advisor

Introducing Process Advisor

Check out the new Process Advisor community forum board!

MPA User Group

Welcome to the User Group Public Preview

Check out new user group experience and if you are a leader please create your group

V3_PVA CAmpaign Carousel.png

Community Challenge - Giveaways!

Participate in the Power Virtual Agents Community Challenge

Carousel 2021 Release Wave 2 Plan 768x460.jpg

2021 Release Wave 2 Plan

Power Platform release plan for the 2021 release wave 2 describes all new features releasing from October 2021 through March 2022.

Top Solution Authors
Users online (2,192)