Beginning on May 22nd, 2023, we will be updating our APIs to use more strict validation for updates made to contact records.
We're updating the validation for two property types.
For number
properties, values cannot contain commas, and can only contain a single period. The following examples will be invalid after this update:
5,333,222
23.345.567,23
For any enumeration
type properties, values can only include options that exactly match one or more of the `options` set for the property.
"alpha"
, "beta"
, and "gamma"
, the value must match one or more of those defined options and cannot include any other items. The following would be invalid after this update:"alpha;delta"
"omega"
This change will affect all updates made through any version of our Contacts APIs, including:
/contacts/v1/
)/crm/v3/objects/contacts
)This update will only affect contacts, since this validation is already in place for other CRM objects.
In addition to improving the consistency and quality of data stored in HubSpot, this update brings contacts in line with previously made validation updates. While this validation was in place for other CRM objects, there were some cases where this validation was not always applied for contact records for some of our APIs.
This validation will be applied starting on May 22nd, 2023. After this, any contact updates (including creating contacts) containing the values detailed above will return an error indicating the invalid property values.
Please let us know if you have any questions by joining the discussion in our community.