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
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.

365 EduCon 768x460.png

Microsoft 365 EduCon

Join us for two optional days of workshops and a 3-day conference, you can choose from over 130 sessions in multiple tracks and 25 workshops.

Users online (2,208)