<?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: Upcoming - Increased validation for contact updates made through APIs in Developer Announcements</title>
    <link>https://community.hubspot.com/t5/Developer-Announcements/Upcoming-Increased-validation-for-contact-updates-made-through/m-p/794360#M446</link>
    <description>&lt;P&gt;Is there a reliable way to find out ahead of time if we are making any requests that will start failing, such as with Sandbox accont?&lt;/P&gt;</description>
    <pubDate>Tue, 16 May 2023 13:49:25 GMT</pubDate>
    <dc:creator>thuey</dc:creator>
    <dc:date>2023-05-16T13:49:25Z</dc:date>
    <item>
      <title>Upcoming - Increased validation for contact updates made through APIs</title>
      <link>https://community.hubspot.com/t5/Developer-Announcements/Upcoming-Increased-validation-for-contact-updates-made-through/m-p/760355#M422</link>
      <description>&lt;P&gt;Beginning on&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;STRONG&gt;May 22nd, 2023&lt;/STRONG&gt;, we will be updating our APIs to use more strict validation for updates made to contact records.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;H3&gt;What's changing?&lt;/H3&gt;
&lt;P&gt;We're updating the validation for two property types.&lt;/P&gt;
&lt;P&gt;For&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;CODE&gt;number&lt;/CODE&gt;&amp;nbsp;properties, values cannot contain commas, and can only contain a single period. The following examples will be invalid after this update:&lt;/P&gt;
&lt;UL&gt;
&lt;LI aria-level="1"&gt;&lt;CODE&gt;5,333,222&lt;/CODE&gt;&lt;/LI&gt;
&lt;LI aria-level="1"&gt;&lt;CODE&gt;23.345.567,23&lt;/CODE&gt;&lt;/LI&gt;
&lt;/UL&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;For any&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;CODE&gt;enumeration&lt;/CODE&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;type properties, values can only include options that exactly match one or more of the `options` set for the property.&lt;/P&gt;
&lt;UL&gt;
&lt;LI aria-level="1"&gt;For example, if you have a select property with the options&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;CODE&gt;"alpha"&lt;/CODE&gt;,&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;CODE&gt;"beta"&lt;/CODE&gt;, and&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;CODE&gt;"gamma"&lt;/CODE&gt;, 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:&lt;/LI&gt;
&lt;UL&gt;
&lt;LI aria-level="2"&gt;&lt;CODE&gt;"alpha;delta"&lt;/CODE&gt;&lt;/LI&gt;
&lt;LI aria-level="2"&gt;&lt;CODE&gt;"omega"&lt;/CODE&gt;&lt;/LI&gt;
&lt;/UL&gt;
&lt;/UL&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;This change will affect all updates made through any version of our Contacts APIs, including:&lt;/P&gt;
&lt;UL&gt;
&lt;LI aria-level="1"&gt;The&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;A href="https://legacydocs.hubspot.com/docs/methods/contacts/contacts-overview" target="_blank"&gt;legacy Contacts API&lt;/A&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;(&lt;CODE&gt;/contacts/v1/&lt;/CODE&gt;)&lt;/LI&gt;
&lt;LI aria-level="1"&gt;The&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;A href="https://developers.hubspot.com/docs/api/crm/contacts" target="_blank"&gt;CRM v3 Contacts API&lt;/A&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;(&lt;CODE&gt;/crm/v3/objects/contacts&lt;/CODE&gt;)&lt;/LI&gt;
&lt;/UL&gt;
&lt;P&gt;This update will only affect contacts, since this validation is already in place for other CRM objects.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;H3&gt;Why is this changing?&lt;/H3&gt;
&lt;P&gt;In addition to improving the consistency and quality of data stored in HubSpot, this update brings contacts in line with&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;A href="https://developers.hubspot.com/changelog/upcoming-api-number-value-changes" target="_blank"&gt;previously made validation updates&lt;/A&gt;. 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.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;H3&gt;When is this happening?&lt;/H3&gt;
&lt;P&gt;This validation will be applied starting on&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;STRONG&gt;May 22nd, 2023&lt;/STRONG&gt;. After this, any contact updates (including creating contacts) containing the values detailed above will return an error indicating the invalid property values.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Please let us know if you have any questions by replying below.&lt;/P&gt;</description>
      <pubDate>Thu, 23 Feb 2023 19:40:07 GMT</pubDate>
      <guid>https://community.hubspot.com/t5/Developer-Announcements/Upcoming-Increased-validation-for-contact-updates-made-through/m-p/760355#M422</guid>
      <dc:creator>Dadams</dc:creator>
      <dc:date>2023-02-23T19:40:07Z</dc:date>
    </item>
    <item>
      <title>Re: Upcoming - Increased validation for contact updates made through APIs</title>
      <link>https://community.hubspot.com/t5/Developer-Announcements/Upcoming-Increased-validation-for-contact-updates-made-through/m-p/794360#M446</link>
      <description>&lt;P&gt;Is there a reliable way to find out ahead of time if we are making any requests that will start failing, such as with Sandbox accont?&lt;/P&gt;</description>
      <pubDate>Tue, 16 May 2023 13:49:25 GMT</pubDate>
      <guid>https://community.hubspot.com/t5/Developer-Announcements/Upcoming-Increased-validation-for-contact-updates-made-through/m-p/794360#M446</guid>
      <dc:creator>thuey</dc:creator>
      <dc:date>2023-05-16T13:49:25Z</dc:date>
    </item>
    <item>
      <title>Re: Upcoming - Increased validation for contact updates made through APIs</title>
      <link>https://community.hubspot.com/t5/Developer-Announcements/Upcoming-Increased-validation-for-contact-updates-made-through/m-p/902301#M588</link>
      <description>&lt;P&gt;Is there any documentation that describes all of the "data integrity" validation that occurs when a contact is added or updated through the API?&amp;nbsp; I have seen "Contact already exists" exceptions returned by the API when trying to add a contact with the same email as an existing contact.&amp;nbsp; But I have also seen the same error when adding a contact and the email does not exist in Hubspot but the contact first and last name already exists in Hubspot.&lt;/P&gt;</description>
      <pubDate>Mon, 08 Jan 2024 14:50:24 GMT</pubDate>
      <guid>https://community.hubspot.com/t5/Developer-Announcements/Upcoming-Increased-validation-for-contact-updates-made-through/m-p/902301#M588</guid>
      <dc:creator>VBossio</dc:creator>
      <dc:date>2024-01-08T14:50:24Z</dc:date>
    </item>
  </channel>
</rss>

