web
You’re offline. This is a read only version of the page.
close
Skip to main content
Community site session details

Community site session details

Session Id :
Power Automate - Building Flows
Unanswered

How to PUT/PATCH custom content-type for items in a list using HTTPs Request in Flow?

(1) ShareShare
ReportReport
Posted on by 6

Hello, 

 

after a full day of searching the web, i havent found a solution that fits my problem well enough (or where i am skilled enough to transfer the information). 

 

Pseudocody_0-1702470295676.png

 

 

The flow is supposed to copy items from one directory to the other, since on of them is a libary and the other one is a list where the simple "Copy Item" or "Copy File" actions etc. are not working, therefore im using a HTTP Request which looks like this: 

Pseudocody_1-1702470691722.png

Body:

 

 

 

{
 "listItemCreateInfo": {
 "FolderPath": {
 "DecodedUrl": "https://mytenant/Lists/Mitarbeiter/someguy@test.com/2023"
 },
 "UnderlyingObjectType": 0
 },
 "formValues": [
 {
 "FieldName": "Title",
 "FieldValue": "TEST_POST"
 },
 {
 "FieldName": "MyCustomContent",
 "FieldValue": {
 "@odata.type": "#Microsoft.Azure.Connectors.SharePoint.SPListExpandedTaxonomy",
 "TermGuid": "152122ef-123123123123123",
 "WssId": 18,
 "Label": "18",
 "Value": "18|152122ef-123123123123123"
 }
 }
 ],
 "bNewDocumentUpdate": false
}

 

 

 

 

This is the error i get: 

{ "status": 400, "message": "An unexpected 'StartObject' node was found when reading from the JSON reader. A 'PrimitiveValue' node was expected.\r\nclientRequestId: 785a8579-2305-493b-9da2-516261\r\nserviceRequestId: f854f7a0-2002-7000-cb62-919816512", "source": "https://mytenant.com/_api/web/lists/GetByTitle('Mitarbeiter')/AddValidateUpdateItemUsingPath", "errors": [ "-1", "Microsoft.Data.OData.ODataException" ] }

 

 

There must be a way to specify "My CustomContet" more, it comes from the list, i only want to use existing content types, since im "Just" copying the items into the same list but other folders.

 

Long story short: How can i add specific content types that are already existing in a list with HTTP Request?

 

Thank you all!

 

 

I have the same question (0)
  • CU23101558-0 Profile Picture
    on at
    Re: How to PUT/PATCH custom content-type for items in a list using HTTPs Request in Flow?

    Hi i just have a similar problem and looking forward for a solution!

  • Pseudocody Profile Picture
    6 on at
    Re: How to PUT/PATCH custom content-type for items in a list using HTTPs Request in Flow?

    Hi, 

     

    i came a little bit further now, at least i can formulate the problem better.

     

    What i have is a taxonomy field that needs to be added/created within the item but when i use "ValdiatethroughPath" it only allows me to use Strings as values. 

     

    Also eventho my flow almost works, i have everything except that taxonomy field. The HTTP request keeps running forever, it creates the item but just keeps on going. 

  • Pseudocody Profile Picture
    6 on at
    Re: How to PUT/PATCH custom content-type for items in a list using HTTPs Request in Flow?

    still need help with that!

  • CU23101558-0 Profile Picture
    on at
    Re: How to PUT/PATCH custom content-type for items in a list using HTTPs Request in Flow?

    also did not found a fix yet

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

Responsible AI policies

As AI tools become more common, we’re introducing a Responsible AI Use…

Chiara Carbone – Community Spotlight

We are honored to recognize Chiara Carbone as our Community Spotlight for November…

Leaderboard > Power Automate

#1
Michael E. Gernaey Profile Picture

Michael E. Gernaey 691 Super User 2025 Season 2

#2
Tomac Profile Picture

Tomac 431 Moderator

#3
developerAJ Profile Picture

developerAJ 266

Last 30 days Overall leaderboard