Hi,
I’ve noticed an updated response on the Contacts API (perhaps other objects too?) when a 409 conflict happens.
Example:
{
"message": "Contact already exists. Existing ID: 2926551",
"identityProfile": {
"vid": 2926551,
"identity": [
{
"value": "066239b5-a5b8-4caf-af47-ead811935663",
"type": "LEAD_GUID",
"timestamp": 1665417061496
},
{
"value": "lee@xyz.co.uk",
"type": "EMAIL",
"timestamp": 1665417061370,
"isPrimary": true
}
],
"linkedVid": [
2928301,
...
],
"isContact": true,
"isCanonicalProfile": true,
"savedAtTimestamp": 1699288594350,
"promotedToContact": true
},
"errors": [
{
"message": "A contact with email lee@xyz.co.uk already exists. Existing ID: 2926551",
"in": "email"
}
],
"status": "error",
"correlationId": "b6881283-187e-4088-a778-5c933a14547c",
"category": "OBJECT_ALREADY_EXISTS",
"error": "CONTACT_EXISTS"
}
This is a mostly welcome change (not having to parse strings for the conflicting object record is great) however we have several processes running which rely on the category being returned as “category”: “CONFLICT” which is now returned as “category”: “OBJECT_ALREADY_EXISTS” instead. This is resulting in a number of failures which could have been prevented with a bit of notice.
Can anyone clarify whether this is a permanent change or not, and if so has it been documented or announced anywhere?
``