Skip to main content

Notifications

Community site session details

Community site session details

Session Id :
Power Automate - Using Flows
Unanswered

Move file in Sharepoint - Error: Bad Request

(0) ShareShare
ReportReport
Posted on by 2

Hello Community,

I'm experiencing an error while moving a file in my Teams Sharepoint folder, which you can see below:

Screenshot_1.png

 

It says: 

 

{
 "status": 400,
 "message": "An item with the same key has already been added. CallStack -- at System.ThrowHelper.ThrowArgumentException(ExceptionResource resource)\r\n at System.Collections.Generic.Dictionary`2.Insert(TKey key, TValue value, Boolean add)\r\n at Microsoft.SharePoint.Deployment.MetaInfoHandler.Add(MetaInfoProperty property)\r\n at Microsoft.SharePoint.Deployment.FileSerializer.HandleMetaInfo(ExportObjectManager objectManager, SPWeb parentWeb, Object metaInfoObject, SerializationInfo info, Guid listID, Guid itemID, String itemETag)\r\n at Microsoft.SharePoint.Deployment.FileSerializer.GetDataFromDataSet(Object obj, SerializationInfo info, StreamingContext context)\r\n at Microsoft.SharePoint.Deployment.DeploymentSerializationSurrogate.GetObjectData(Object obj, SerializationInfo info, StreamingContext context)\r\n at Microsoft.SharePoint.Deployment.XmlFormatter.SerializeObject(Object obj, ISerializationSurrogate surrogate, String elementName, Boolean bNeedEnvelope)\r\n at Microsoft.SharePoint.Deployment.XmlFormatter.Serialize(Stream serializationStream, Object topLevelObject)\r\n at Microsoft.SharePoint.Deployment.SPExport.SerializeObjects()\r\n at Microsoft.SharePoint.Deployment.SPExport.Run()\r\nclientRequestId: 82dfd7e6-4c96-4e82-b298-bba799c58ff8\r\nserviceRequestId: 82dfd7e6-4c96-4e82-b298-bba799c58ff8"
}

 

 

I can't figure it out why there should be in item with the same key before the file even gets copied into the folder.

A few connectors before the error occures I also move a file and this works just fine.. 
Screenshot_2.png

 

I hope someone can help me figure it out.

Sincerely,
Cedric

  • ChristianAbata Profile Picture
    8,947 Most Valuable Professional on at
    Re: Move file in Sharepoint - Error: Bad Request

    @CedricCosta  what you need to chacnge is thisunique.png

  • CedricCosta Profile Picture
    2 on at
    Re: Move file in Sharepoint - Error: Bad Request

    Could you please be a bit more specific on what to change? I found the column settings of my sharepoint folder but all settings are the default ones. Do I have to add a column and force it to have unique values?

     

    Here the default columns (it's in german):

    Screenshot_1.png

  • ChristianAbata Profile Picture
    8,947 Most Valuable Professional on at
    Re: Move file in Sharepoint - Error: Bad Request

    mmm @CedricCosta  this could be becouse you have a column list that allows unique vales, Please try to chacnge the config of your sharepoint list.

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

🌸 Community Spring Festival 2025 Challenge 🌸

WIN Power Platform Community Conference 2025 tickets!

Markus Franz – Community Spotlight

We are honored to recognize Markus Franz as our April 2025 Community…

Kudos to the March Top 10 Community Stars!

Thanks for all your good work in the Community!

Leaderboard

#1
WarrenBelz Profile Picture

WarrenBelz 146,651 Most Valuable Professional

#2
RandyHayes Profile Picture

RandyHayes 76,287 Super User 2024 Season 1

#3
Pstork1 Profile Picture

Pstork1 65,999 Most Valuable Professional

Leaderboard

Featured topics

Restore a deleted flow