<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: Announcement: Enhanced Field Validation in APIs &amp; Integrations</title>
    <link>https://community.hubspot.com/t5/APIs-Integrations/Announcement-Enhanced-Field-Validation/m-p/304895#M28796</link>
    <description>&lt;P&gt;Hi Frank,&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Good questions, affected fields/properties are standard HubSpot default fields.&lt;BR /&gt;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.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;If you have been intentionally storing data this way we would advise using new custom properties rather than abusing the default properties.&lt;/P&gt;</description>
    <pubDate>Sun, 01 Dec 2019 20:18:24 GMT</pubDate>
    <dc:creator>jmclaren</dc:creator>
    <dc:date>2019-12-01T20:18:24Z</dc:date>
    <item>
      <title>Announcement: Enhanced Field Validation</title>
      <link>https://community.hubspot.com/t5/APIs-Integrations/Announcement-Enhanced-Field-Validation/m-p/304229#M28688</link>
      <description>&lt;P&gt;&lt;STRONG&gt;EDIT:&amp;nbsp;&lt;/STRONG&gt;&lt;SPAN&gt;This change has started to take effect. We'll be rolling this out gradually over the next week&lt;/SPAN&gt;&lt;STRONG&gt;&lt;BR /&gt;&lt;BR /&gt;What’s Changing?&lt;/STRONG&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN style="font-weight: 400;"&gt;HubSpot is changing how validation works on some commonly used fields for contacts, including the first and last name.&amp;nbsp; This change will look for values that are obviously not valid values for the fields.&amp;nbsp;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;STRONG&gt;Why are we making this change?&lt;/STRONG&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN style="font-weight: 400;"&gt;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.&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;STRONG&gt;What action is required?&lt;/STRONG&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN style="font-weight: 400;"&gt;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 &lt;/SPAN&gt;&lt;A href="https://knowledge.hubspot.com/contacts/manage-your-properties#create-custom-properties" target="_blank" rel="noopener"&gt;&lt;SPAN style="font-weight: 400;"&gt;create a custom property&lt;/SPAN&gt;&lt;/A&gt;&lt;SPAN style="font-weight: 400;"&gt; to hold this information.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;STRONG&gt;When will this change take place?&lt;/STRONG&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN style="font-weight: 400;"&gt;This change will take effect on February 26, 2020.&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;SPAN style="font-weight: 400;"&gt;If you have any questions, join the discussion below.&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 26 Feb 2020 16:06:51 GMT</pubDate>
      <guid>https://community.hubspot.com/t5/APIs-Integrations/Announcement-Enhanced-Field-Validation/m-p/304229#M28688</guid>
      <dc:creator>jmclaren</dc:creator>
      <dc:date>2020-02-26T16:06:51Z</dc:date>
    </item>
    <item>
      <title>Re: Announcement: Enhanced Field Validation</title>
      <link>https://community.hubspot.com/t5/APIs-Integrations/Announcement-Enhanced-Field-Validation/m-p/304600#M28754</link>
      <description>&lt;P&gt;Any word on ...&lt;/P&gt;
&lt;P&gt;- Which properties will be impacted specifically?&lt;/P&gt;
&lt;P&gt;- Examples of the new validation rules?&lt;/P&gt;
&lt;P&gt;- What "&lt;EM&gt;obviously wrong values&lt;/EM&gt;" might be rejected?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Thanks in advance.&lt;/P&gt;</description>
      <pubDate>Thu, 28 Nov 2019 09:40:58 GMT</pubDate>
      <guid>https://community.hubspot.com/t5/APIs-Integrations/Announcement-Enhanced-Field-Validation/m-p/304600#M28754</guid>
      <dc:creator>MFrankJohnson</dc:creator>
      <dc:date>2019-11-28T09:40:58Z</dc:date>
    </item>
    <item>
      <title>Re: Announcement: Enhanced Field Validation</title>
      <link>https://community.hubspot.com/t5/APIs-Integrations/Announcement-Enhanced-Field-Validation/m-p/304895#M28796</link>
      <description>&lt;P&gt;Hi Frank,&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Good questions, affected fields/properties are standard HubSpot default fields.&lt;BR /&gt;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.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;If you have been intentionally storing data this way we would advise using new custom properties rather than abusing the default properties.&lt;/P&gt;</description>
      <pubDate>Sun, 01 Dec 2019 20:18:24 GMT</pubDate>
      <guid>https://community.hubspot.com/t5/APIs-Integrations/Announcement-Enhanced-Field-Validation/m-p/304895#M28796</guid>
      <dc:creator>jmclaren</dc:creator>
      <dc:date>2019-12-01T20:18:24Z</dc:date>
    </item>
    <item>
      <title>Re: Announcement: Enhanced Field Validation</title>
      <link>https://community.hubspot.com/t5/APIs-Integrations/Announcement-Enhanced-Field-Validation/m-p/342867#M33551</link>
      <description>&lt;P&gt;I am having issues with one of my clients because prospects are not all including their area code when inputting a phone number.&amp;nbsp; Is there any way for phone numbers to be validated?&lt;/P&gt;</description>
      <pubDate>Fri, 29 May 2020 13:00:54 GMT</pubDate>
      <guid>https://community.hubspot.com/t5/APIs-Integrations/Announcement-Enhanced-Field-Validation/m-p/342867#M33551</guid>
      <dc:creator>TheresaB</dc:creator>
      <dc:date>2020-05-29T13:00:54Z</dc:date>
    </item>
    <item>
      <title>Re: Announcement: Enhanced Field Validation</title>
      <link>https://community.hubspot.com/t5/APIs-Integrations/Announcement-Enhanced-Field-Validation/m-p/399313#M39467</link>
      <description>&lt;P&gt;Dr.ing&lt;BR /&gt;D.Med&lt;BR /&gt;D.med&lt;BR /&gt;Dr.me&lt;BR /&gt;Dr.med.&lt;/P&gt;&lt;P&gt;above all text when i add in Firstname all time API give error&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Can you give list or format which conider as Invalid TEXT&lt;/P&gt;&lt;P&gt;how can we ideantify its not valid text ?&lt;/P&gt;</description>
      <pubDate>Wed, 13 Jan 2021 14:54:38 GMT</pubDate>
      <guid>https://community.hubspot.com/t5/APIs-Integrations/Announcement-Enhanced-Field-Validation/m-p/399313#M39467</guid>
      <dc:creator>davidwork7</dc:creator>
      <dc:date>2021-01-13T14:54:38Z</dc:date>
    </item>
    <item>
      <title>Re: Announcement: Enhanced Field Validation</title>
      <link>https://community.hubspot.com/t5/APIs-Integrations/Announcement-Enhanced-Field-Validation/m-p/636338#M53401</link>
      <description>&lt;P&gt;Hi jmclaren,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;would it be possible to obtain a description of the pattern or algortithm that determines the validity of values, so that we can know beforehand whether a value will be accepted by the API or not?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Cheers&lt;/P&gt;</description>
      <pubDate>Fri, 20 May 2022 14:40:36 GMT</pubDate>
      <guid>https://community.hubspot.com/t5/APIs-Integrations/Announcement-Enhanced-Field-Validation/m-p/636338#M53401</guid>
      <dc:creator>andreub</dc:creator>
      <dc:date>2022-05-20T14:40:36Z</dc:date>
    </item>
    <item>
      <title>Re: Announcement: Enhanced Field Validation</title>
      <link>https://community.hubspot.com/t5/APIs-Integrations/Announcement-Enhanced-Field-Validation/m-p/637334#M53472</link>
      <description>&lt;P&gt;Unfortunately we can't provide the pattern/code which is used to validate values.&lt;BR /&gt;While understandable to want that as an integrator, we would them be also providing that information to spammers or bad actors defeating the purpose.&lt;BR /&gt;&lt;BR /&gt;What I can tell you is the validation is looking for obvious wrong answers. Without explicitly stating a real example. Imagine you have a number field, and someone submits letters. That would be an example of an obviously wrong answer.&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 23 May 2022 13:26:41 GMT</pubDate>
      <guid>https://community.hubspot.com/t5/APIs-Integrations/Announcement-Enhanced-Field-Validation/m-p/637334#M53472</guid>
      <dc:creator>jmclaren</dc:creator>
      <dc:date>2022-05-23T13:26:41Z</dc:date>
    </item>
    <item>
      <title>Re: Announcement: Enhanced Field Validation</title>
      <link>https://community.hubspot.com/t5/APIs-Integrations/Announcement-Enhanced-Field-Validation/m-p/637341#M53473</link>
      <description>&lt;P&gt;Hey there, understand the frustration. If you're using the API and collecting the phone number yourself I recommend building your integration so that it requires the user to submit an area code.&lt;BR /&gt;&lt;BR /&gt;Client-side a helpful thing you can do is visually indicate to the user that the field is not complete when they leave off the area code. this can be done with the html `tel` input and CSS :invalid&lt;BR /&gt;&lt;A href="https://developer.mozilla.org/en-US/docs/Web/HTML/Element/input/tel" target="_blank"&gt;https://developer.mozilla.org/en-US/docs/Web/HTML/Element/input/tel&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 23 May 2022 13:33:08 GMT</pubDate>
      <guid>https://community.hubspot.com/t5/APIs-Integrations/Announcement-Enhanced-Field-Validation/m-p/637341#M53473</guid>
      <dc:creator>jmclaren</dc:creator>
      <dc:date>2022-05-23T13:33:08Z</dc:date>
    </item>
    <item>
      <title>Re: Announcement: Enhanced Field Validation</title>
      <link>https://community.hubspot.com/t5/APIs-Integrations/Announcement-Enhanced-Field-Validation/m-p/637475#M53486</link>
      <description>&lt;P&gt;Thanks for the extra details&amp;nbsp;&lt;a href="https://community.hubspot.com/t5/user/viewprofilepage/user-id/102334"&gt;@jmclaren&lt;/a&gt;&amp;nbsp;&lt;span class="lia-unicode-emoji" title=":raising_hands:"&gt;🙌&lt;/span&gt; – Jaycee&lt;/P&gt;</description>
      <pubDate>Mon, 23 May 2022 15:46:21 GMT</pubDate>
      <guid>https://community.hubspot.com/t5/APIs-Integrations/Announcement-Enhanced-Field-Validation/m-p/637475#M53486</guid>
      <dc:creator>Jaycee_Lewis</dc:creator>
      <dc:date>2022-05-23T15:46:21Z</dc:date>
    </item>
    <item>
      <title>Re: Announcement: Enhanced Field Validation</title>
      <link>https://community.hubspot.com/t5/APIs-Integrations/Announcement-Enhanced-Field-Validation/m-p/646344#M54000</link>
      <description>&lt;P&gt;Does this mean that if I set the pattern attribute on input by javascript, it does not work inside the HubSpot form?&lt;BR /&gt;I'm trying a lot an input with a pattern that doesn't work.&lt;/P&gt;</description>
      <pubDate>Wed, 08 Jun 2022 15:39:23 GMT</pubDate>
      <guid>https://community.hubspot.com/t5/APIs-Integrations/Announcement-Enhanced-Field-Validation/m-p/646344#M54000</guid>
      <dc:creator>adriano-azos</dc:creator>
      <dc:date>2022-06-08T15:39:23Z</dc:date>
    </item>
    <item>
      <title>Re: Announcement: Enhanced Field Validation</title>
      <link>https://community.hubspot.com/t5/APIs-Integrations/Announcement-Enhanced-Field-Validation/m-p/655782#M54402</link>
      <description>&lt;P&gt;I found this surprising; at least for our use case. Are any of the "obviously wrong" characteristics being checked for on the list of &lt;A href="https://www.kalzumeus.com/2010/06/17/falsehoods-programmers-believe-about-names/" target="_blank" rel="noopener"&gt;falsehoods programmers believe about names&lt;/A&gt;? From our perspective, if someone says their name just happens to also parse as a hostname, that's fine, it's not our business to tell them they can't have that name. I guess using a custom property to replace HubSpot's name field will work for our organization, but it'd be lovely if the things a text field called "name" won't accept were at least described somewhere in the API docs so that a lot of trial an error on the part of many integrators could be saved.&lt;/P&gt;</description>
      <pubDate>Mon, 27 Jun 2022 02:43:09 GMT</pubDate>
      <guid>https://community.hubspot.com/t5/APIs-Integrations/Announcement-Enhanced-Field-Validation/m-p/655782#M54402</guid>
      <dc:creator>PCronin9</dc:creator>
      <dc:date>2022-06-27T02:43:09Z</dc:date>
    </item>
    <item>
      <title>Re: Announcement: Enhanced Field Validation</title>
      <link>https://community.hubspot.com/t5/APIs-Integrations/Announcement-Enhanced-Field-Validation/m-p/663991#M54766</link>
      <description>&lt;P&gt;Is there a way to perform some validation prior to creating the contact so that the user can update the input prior to submitting the request?&amp;nbsp; For our integration, the Hubspot contact creation happens later on in our workflow after our own validation is performed.&amp;nbsp; Without providing any validation rules, we have no way of knowing if this step is going to be successful.&amp;nbsp; Please either make this feature optional or provide some way of validating the input without creating the contact.&lt;/P&gt;</description>
      <pubDate>Tue, 12 Jul 2022 19:23:35 GMT</pubDate>
      <guid>https://community.hubspot.com/t5/APIs-Integrations/Announcement-Enhanced-Field-Validation/m-p/663991#M54766</guid>
      <dc:creator>AHazelton</dc:creator>
      <dc:date>2022-07-12T19:23:35Z</dc:date>
    </item>
    <item>
      <title>Re: Announcement: Enhanced Field Validation</title>
      <link>https://community.hubspot.com/t5/APIs-Integrations/Announcement-Enhanced-Field-Validation/m-p/747342#M60757</link>
      <description>&lt;P&gt;This is aggravated by the fact that the error message is not easily parseable. If you update several contacts in batch and one of them contains an "obviously wrong" name, the error response will tell you which field was the offending one, but not of which contact. As far as we've seen, the only way to find exactly which name has a problem is to parse the error message, which used to say "\"foo.bar\" contains a URL". Now the message changed to "foo.bar contains a URL" (note no quotes anymore) and that broke our workaround.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;So, if the API is going to reject input following unpublished rules, it'd be nice if at least the rejection message follows a standard format so we can do &lt;EM&gt;something&lt;/EM&gt; about that.&lt;/P&gt;</description>
      <pubDate>Thu, 26 Jan 2023 12:14:55 GMT</pubDate>
      <guid>https://community.hubspot.com/t5/APIs-Integrations/Announcement-Enhanced-Field-Validation/m-p/747342#M60757</guid>
      <dc:creator>andreub</dc:creator>
      <dc:date>2023-01-26T12:14:55Z</dc:date>
    </item>
  </channel>
</rss>

