DUPLICATE_PROPERTY_TO_SAVE

I am trying to intgrate though an api call and getting this response. can anyone help with what these errors mean, and or possible reasons and solutions?

"validationResults": [
 {
 "isValid": false,
 "message": "duplicate property value",
 "error": "DUPLICATE_PROPERTY_TO_SAVE",
 "name": "firstname"
 },
 {
 "isValid": false,
 "message": "duplicate property value",
 "error": "DUPLICATE_PROPERTY_TO_SAVE",
 "name": "lastname"
 },
 {
 "isValid": false,
 "message": "Property \"lead_source\" does not exist",
 "error": "PROPERTY_DOESNT_EXIST",
 "name": "lead_source"
 },
 {
 "isValid": false,
 "message": "New was not one of the allowed options: [label: \"New\"\nvalue: \"NEW\"\ndisplay_order: 0\ndouble_data: 0.0\nhidden: false\ndescription: \"\"\nread_only: false\n, label: \"Open\"\nvalue: \"OPEN\"\ndisplay_order: 1\ndouble_data: 0.0\nhidden: false\ndescription: \"\"\nread_only: false\n, label: \"In Progress\"\nvalue: \"IN_PROGRESS\"\ndisplay_order: 2\ndouble_data: 0.0\nhidden: false\ndescription: \"\"\nread_only: false\n, label: \"Open Deal\"\nvalue: \"OPEN_DEAL\"\ndisplay_order: 3\ndouble_data: 0.0\nhidden: false\ndescription: \"\"\nread_only: false\n, label: \"Unqualified\"\nvalue: \"UNQUALIFIED\"\ndisplay_order: 4\ndouble_data: 0.0\nhidden: false\ndescription: \"\"\nread_only: false\n, label: \"Attempted to Contact\"\nvalue: \"ATTEMPTED_TO_CONTACT\"\ndisplay_order: 5\ndouble_data: 0.0\nhidden: false\ndescription: \"\"\nread_only: false\n, label: \"Connected\"\nvalue: \"CONNECTED\"\ndisplay_order: 6\ndouble_data: 0.0\nhidden: false\ndescription: \"\"\nread_only: false\n, label: \"Bad Timing\"\nvalue: \"BAD_TIMING\"\ndisplay_order: 7\ndouble_data: 0.0\nhidden: false\ndescription: \"\"\nread_only: false\n]",
 "error": "INVALID_OPTION",
 "name": "hs_lead_status"
 }
 ],
 "status": "error",
 "message": "Property values were not valid",
 "correlationId": "57bd862d-668a-4a19-ba5d-0df81e218018"
}

Hi,

Do you have the JSON body for the call which produced these errors?

For the duplicate property value, I suspect the Body you are passing through contains duplicates for the same id.

For the Property \“lead_source\” does not exist, this means the the property with name lead_source does not exists on the object.

And the INVALID_OPTION one, means that New does not exists in the list of options for that property. Please note when passing through values for a multi-option field, you must match the case of the property name (nvalue) not the label. Looks like you are passing through New but the value is NEW.

Hope that helps.

Thank you for your response… and yes I did find the JSON, and there does
seem to be duplicate properties, see below.. which I find odd…
This is an image of the hubspot integration widget being used by
ActiveProspect/LeadConduit,
not sure how this turns into the duplicates?
[image: image.png]
*Host*: api.hubapi.com
{
“properties”: [
{
“property”: “email”,
“value”: “brianjkilmer+5@hotmail.com”
},
{
“property”: “firstname”,
“value”: “BrianTest”
},
{
“property”: “lastname”,
“value”: “Kilmertest”
},
{
“property”: “FirstName”,
“value”: “BrianTest”
},
{
“property”: “LastName”,
“value”: “Kilmertest”
},
{
“property”: “zip”,
“value”: “89122”
},
{
“property”: “lead_source”,
“value”: “Outreach Media Group”
},
{
“property”: “hs_lead_status”,
“value”: “New”
}
]
}