
Announcements
Hi,
I am creating a flaw to create a list item in SharePoint, and I am having to use the 'Send an HTTP Request to SharePoint' action as I need to be able to leave 'Person/Group' fields blank.
When I am trying to create an item with a choice field that allows multiple selections, I am struggling to get this to work. I though you should be able to do this using a JSON array but I am getting this error. The choice field I am trying to populate is called 'Pick'.
An unexpected 'StartObject' node was found when reading from the JSON reader. A 'PrimitiveValue' node was expected.
Please help.
This is just my test flow to work out how to structure the HTTP request.
Thanks,
Lewis
Hello @lewiswoolley23 ,
you're missing information about the item type in the Body, add the "__metadata" part from below with replacing the <ListName> with the name of the list where you create the item.
{
"__metadata": {
"type": "SP.Data.<ListName>ListItem"
},
"Column1": "Value1",
"Column2": "Value2",
"Column3": "Value3"
}