Nov 26, 2019 10:51 AM - last edited on Feb 26, 2020 11:06 AM by zwolfson
EDIT: This change has started to take effect. We'll be rolling this out gradually over the next week
HubSpot is changing how validation works on some commonly used fields for contacts, including the first and last name. This change will look for values that are obviously not valid values for the fields.
Why are we making this change?
This change should help HubSpot customers maintain a cleaner database by rejecting obviously wrong values from being added to properties. This change is also designed to help protect customers from attack. By restricting the values of commonly used fields, it makes it more difficult for attackers to inject potentially harmful values.
What action is required?
For the vast majority of developers, no action is required. However if you are using the default fields for a purpose other than their original intent, you should create a custom property to hold this information.
When will this change take place?
This change will take effect on February 26, 2020.
If you have any questions, join the discussion below.
Nov 28, 2019 4:40 AM
Any word on ...
- Which properties will be impacted specifically?
- Examples of the new validation rules?
- What "obviously wrong values" might be rejected?
Thanks in advance.
Dec 1, 2019 3:18 PM
Good questions, affected fields/properties are standard HubSpot default fields.
An example of both a validation rule and obviously wrong value, would be if you have a first name field and a URL or code was entered instead.
If you have been intentionally storing data this way we would advise using new custom properties rather than abusing the default properties.
May 29, 2020 9:00 AM
I am having issues with one of my clients because prospects are not all including their area code when inputting a phone number. Is there any way for phone numbers to be validated?
Jan 13, 2021 9:53 AM - edited Jan 13, 2021 9:54 AM
above all text when i add in Firstname all time API give error
Can you give list or format which conider as Invalid TEXT
how can we ideantify its not valid text ?