May 27, 2021 5:34 PM
I am attempting to add a property to contacts and set it as a unique value. I'm following the instructions given here to achieve this via the API. However, the API prevents me from doing so. Here is the request and response:
There is a loosely related issue posted here where a response by a HubSpot Employee is very similar but not the same as what I'm seeing. It's currently under review.
Related to this issue, I tried to look up a contact using `idProperty` of a custom property "uid" which I created. I get an error saying "Contacts may only be looked up by 'email' as part of the unique property value request." This post references this exact issue and indicates that this issue is resolved - I find that to not be the case.
Seeing the error subCategory `Properties.CANNOT_SET_CONTACT_HAS_UNIQUE_VALUE` indicates this is intentional, but related discussions in forums and the lack of documentation around this restriction make me question that. Is this a true requirement?
We really need the ability to set and search by our own unique identifier for our contacts. Any help to that end would be deeply appreciated.
Solved! Go to Solution.
Jun 1, 2021 3:02 PM
Jul 14, 2021 5:56 AM
Hi @dennisedson some of our customers have been contacting support re: the info shared above. Do we have any timelines on transitioning the contact objects to the latest version? Nothing I could see internally so it would be great if we have any specific postings to track either internally or externally for the customers?
Oct 19, 2021 6:46 PM
Also interested to know if/when this will be updated. I was able to set this value to true on custom objects just fine but have not been able to for contact & company object.
Oct 20, 2021 10:13 AM
Jun 1, 2021 3:02 PM
Jun 2, 2021 11:50 AM
@tysmithlondr , you can. It is here. But for this specific case, I don't think you need to as once we get the contacts object fully transistioned to the latest API, that property will be released from being read only
May 31, 2021 8:16 AM
Documentation around this topic is poor.
I get the same response as @tysmithlondr and can not create a hasuniquevalue for contacts either.
Reading up on contact properties (refered to from the properties API) https://knowledge.hubspot.com/contacts/hubspots-default-contact-properties it states nothing about this.
Forward to product team if possible:
So - lack of documentation concerning the hasUniqueValue parameter. What objects are allowed to use this parameter?
Jun 1, 2021 2:55 PM
May 28, 2021 12:15 PM