Hi,
We have 2 account on hubspot :
- testing account
- production account
When we try from our platform to create a new company on the Hubspot testing account using api calls with the email that already belong to existing company we don’t have problem . We alredy have created 4 companies like that.
But when we try to create a new company from our platform using api calls with the email that already belong to existing company we are getting this error message :
"
{“status”:“error”,“message”:“Cannot set PropertyValueCoordinates{portalId=8932080, objectTypeId=ObjectTypeId{legacyObjectType=COMPANY}, propertyName=email, value=dimi.dimi@testingmail.com} on 21924260470. 15744855376 already has that value.”,“correlationId”:“7797c23c-956c-494e-84f6-6f0e5b771124”,“category”:“VALIDATION_ERROR”}
"
We are using the same code for the same thing just different Hubspot accounts (testing and production). Please let us know why is this happening, is there some restriction on the production account and if there is how to find them and remove it ? We want to be able to have two or more companies with same account on production like we have on testing account.
Thank you.
Hey @DSubashev is the email field in company a custom property? I’ve never seen email used on the company level. It’s usually used on the contact level. On the contact level, email is the de-duplication field, so you can only have one contact record in each portal per email address.
If this is a custom property, did you check the “require unique values for this property” checkbox when creating? If so, then each record will also have to have a unique value for this property.