<?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: Error when modifying multiple contacts with single-valued property with null value in APIs &amp; Integrations</title>
    <link>https://community.hubspot.com/t5/APIs-Integrations/Error-when-modifying-multiple-contacts-with-single-valued/m-p/1124057#M80965</link>
    <description>&lt;P&gt;Hi &lt;SPAN style="background: var(--ck-color-mention-background); color: var(--ck-color-mention-text);"&gt;&lt;a href="https://community.hubspot.com/t5/user/viewprofilepage/user-id/916448"&gt;@JMoleroAlonso&lt;/a&gt;&lt;/SPAN&gt;! Welcome to the Community-- happy to have you here &lt;span class="lia-unicode-emoji" title=":smiling_face_with_smiling_eyes:"&gt;😊&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Can you clarify what field type the subscription__monthly property is? Is this a single-line text?&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;SPAN style="background: var(--ck-color-mention-background); color: var(--ck-color-mention-text);"&gt;&lt;a href="https://community.hubspot.com/t5/user/viewprofilepage/user-id/63499"&gt;@SteveHTM&lt;/a&gt;&lt;/SPAN&gt; notes in a similar thread that enumeration values that have been cleared may return as "" as opposed to "none": &lt;A href="https://community.hubspot.com/t5/APIs-Integrations/Difference-between-null-and-quot-quot-in-contact-property-value/m-p/948231#M72141" target="_blank"&gt;&lt;STRONG&gt;Difference between null and "" in contact property value&lt;/STRONG&gt;&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I want to invite some subject matter experts to see if they have any suggestions.&lt;/P&gt;
&lt;P&gt;Hey &lt;SPAN style="background: var(--ck-color-mention-background); color: var(--ck-color-mention-text);"&gt;&lt;a href="https://community.hubspot.com/t5/user/viewprofilepage/user-id/53048"&gt;@evaldas&lt;/a&gt;&lt;/SPAN&gt;, &lt;SPAN style="background: var(--ck-color-mention-background); color: var(--ck-color-mention-text);"&gt;&lt;a href="https://community.hubspot.com/t5/user/viewprofilepage/user-id/346639"&gt;@GRajput&lt;/a&gt;&lt;/SPAN&gt; have you experienced this error with batch upserts? Any troubleshooting advice?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;I&gt;Best,&lt;/I&gt;&lt;/P&gt;
&lt;P&gt;Kennedy&lt;/P&gt;</description>
    <pubDate>Tue, 18 Mar 2025 21:00:07 GMT</pubDate>
    <dc:creator>kennedyp</dc:creator>
    <dc:date>2025-03-18T21:00:07Z</dc:date>
    <item>
      <title>Error when modifying multiple contacts with single-valued property with null value</title>
      <link>https://community.hubspot.com/t5/APIs-Integrations/Error-when-modifying-multiple-contacts-with-single-valued/m-p/1123665#M80947</link>
      <description>&lt;P&gt;Hi!,&lt;/P&gt;&lt;P&gt;I have a property ‘subscription__monthly’ set to have unique values. When from Python I call the function ‘client.crm.contacts.batch_api.update’ with several contacts with that property with value ‘’ (this is the value to set the property to null) I get the error:&lt;/P&gt;&lt;LI-CODE lang="javascript"&gt;{"status":"error","message":"Property values were not valid: [{\"isValid\":false,\"message\":\"Values for property \\\"subscription__monthly___coupon_code2\\\" must be unique. Given 2 updates with value \\\"\\\".\",\"error\":\"CONFLICTING_UNIQUE_VALUE\",\"name\":\"subscription__monthly___coupon_code2\",\"propertyValue\":\"\",\"portalId\":24095220}]","correlationId":"342a577c-60d1-4a08-bb5d-67b83ccb48b6","errors":[{"message":"Values for property \"subscription__monthly___coupon_code2\" must be unique. Given 2 updates with value \"\".","code":"CONFLICTING_UNIQUE_VALUE","context":{"propertyName":["subscription__monthly___coupon_code2"]}}],"category":"VALIDATION_ERROR"}&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="python"&gt;[
{'id': 1, 'properties': {'company': 'Power!', 'partner': 'true', 'firstname': 'Abrm', 'phone': None, 'subscription__monthly': '', 'subscription__monthly___referral_link': '', 'subscription__non_monthly': 'SNPRO', 'subscription__non_monthly___referral_link': 'https://www.test.com?fpr=dpa&amp;amp;coupon=SNPRO', 'user_country': None, 'website': None}},

 {'id': 2, 'properties': {'company': 'rading', 'partner': 'true', 'firstname': 'rading', 'phone': None, 'subscription__monthly': '', 'subscription__monthly___referral_link': '', 'subscription__non_monthly': 'PST', 'subscription__non_monthly___referral_link': 'https://www.test.com?fpr=dpa&amp;amp;coupon=PST', 'user_country': 'ES', 'website': 'https://www.tradingaldia.com'}}
]&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;The property I am trying to update and having problems with is "subscription__monthly", which I am sending as&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;'subscription__monthly': ""&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;If instead of updating in ‘batch’ I update the contacts sequentially (or with batches of size 1), no errors occur.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Is this a bug in the API or is it expected behaviour?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thank you!&lt;/P&gt;</description>
      <pubDate>Tue, 18 Mar 2025 07:26:43 GMT</pubDate>
      <guid>https://community.hubspot.com/t5/APIs-Integrations/Error-when-modifying-multiple-contacts-with-single-valued/m-p/1123665#M80947</guid>
      <dc:creator>JMoleroAlonso</dc:creator>
      <dc:date>2025-03-18T07:26:43Z</dc:date>
    </item>
    <item>
      <title>Re: Error when modifying multiple contacts with single-valued property with null value</title>
      <link>https://community.hubspot.com/t5/APIs-Integrations/Error-when-modifying-multiple-contacts-with-single-valued/m-p/1124057#M80965</link>
      <description>&lt;P&gt;Hi &lt;SPAN style="background: var(--ck-color-mention-background); color: var(--ck-color-mention-text);"&gt;&lt;a href="https://community.hubspot.com/t5/user/viewprofilepage/user-id/916448"&gt;@JMoleroAlonso&lt;/a&gt;&lt;/SPAN&gt;! Welcome to the Community-- happy to have you here &lt;span class="lia-unicode-emoji" title=":smiling_face_with_smiling_eyes:"&gt;😊&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Can you clarify what field type the subscription__monthly property is? Is this a single-line text?&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;SPAN style="background: var(--ck-color-mention-background); color: var(--ck-color-mention-text);"&gt;&lt;a href="https://community.hubspot.com/t5/user/viewprofilepage/user-id/63499"&gt;@SteveHTM&lt;/a&gt;&lt;/SPAN&gt; notes in a similar thread that enumeration values that have been cleared may return as "" as opposed to "none": &lt;A href="https://community.hubspot.com/t5/APIs-Integrations/Difference-between-null-and-quot-quot-in-contact-property-value/m-p/948231#M72141" target="_blank"&gt;&lt;STRONG&gt;Difference between null and "" in contact property value&lt;/STRONG&gt;&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I want to invite some subject matter experts to see if they have any suggestions.&lt;/P&gt;
&lt;P&gt;Hey &lt;SPAN style="background: var(--ck-color-mention-background); color: var(--ck-color-mention-text);"&gt;&lt;a href="https://community.hubspot.com/t5/user/viewprofilepage/user-id/53048"&gt;@evaldas&lt;/a&gt;&lt;/SPAN&gt;, &lt;SPAN style="background: var(--ck-color-mention-background); color: var(--ck-color-mention-text);"&gt;&lt;a href="https://community.hubspot.com/t5/user/viewprofilepage/user-id/346639"&gt;@GRajput&lt;/a&gt;&lt;/SPAN&gt; have you experienced this error with batch upserts? Any troubleshooting advice?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;I&gt;Best,&lt;/I&gt;&lt;/P&gt;
&lt;P&gt;Kennedy&lt;/P&gt;</description>
      <pubDate>Tue, 18 Mar 2025 21:00:07 GMT</pubDate>
      <guid>https://community.hubspot.com/t5/APIs-Integrations/Error-when-modifying-multiple-contacts-with-single-valued/m-p/1124057#M80965</guid>
      <dc:creator>kennedyp</dc:creator>
      <dc:date>2025-03-18T21:00:07Z</dc:date>
    </item>
    <item>
      <title>Re: Error when modifying multiple contacts with single-valued property with null value</title>
      <link>https://community.hubspot.com/t5/APIs-Integrations/Error-when-modifying-multiple-contacts-with-single-valued/m-p/1124107#M80972</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.hubspot.com/t5/user/viewprofilepage/user-id/916448"&gt;@JMoleroAlonso&lt;/a&gt;,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Looking at the error log you provided, what appears to be happening is that when you use the batch upsert, you have multiple records with the same value that is supposed to be unique.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Specifically, it says:&amp;nbsp;&lt;/P&gt;
&lt;LI-CODE lang="markup"&gt;Values for property "subscription__monthly___coupon_code2" must be unique&lt;/LI-CODE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;The error says property &lt;STRONG&gt;"subscription__monthly___coupon_code2"&lt;/STRONG&gt; but you mention property &lt;STRONG&gt;"subscription__monthly"&lt;/STRONG&gt;. So the other thing to check there is which property you actually intend to be the unique one.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Let's just assume you want the &lt;STRONG&gt;"subscription__monthly"&lt;/STRONG&gt;&amp;nbsp;to be unique.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Currently your records are:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Record ID 1&lt;/P&gt;
&lt;LI-CODE lang="python"&gt;'company': 'Power!',
'subscription__monthly': ''&lt;/LI-CODE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Record ID 2&lt;/P&gt;
&lt;LI-CODE lang="python"&gt;'company': 'rading',
'subscription__monthly': ''&lt;/LI-CODE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;So if you are using&amp;nbsp;&lt;STRONG&gt;"subscription__monthly"&amp;nbsp;&lt;/STRONG&gt;as the unique record, you will receive the error because both records have the same value when the API is expecting unique values there (like an ID cannot be the same for more than one record). It would be the same as if you entered "123" in both records.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;That is probably why when you upload in batches of 1, there is no other record to compare to and technically the null value is unique in your batch of 1.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Hope this helps!&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 18 Mar 2025 22:51:55 GMT</pubDate>
      <guid>https://community.hubspot.com/t5/APIs-Integrations/Error-when-modifying-multiple-contacts-with-single-valued/m-p/1124107#M80972</guid>
      <dc:creator>evaldas</dc:creator>
      <dc:date>2025-03-18T22:51:55Z</dc:date>
    </item>
    <item>
      <title>Re: Error when modifying multiple contacts with single-valued property with null value</title>
      <link>https://community.hubspot.com/t5/APIs-Integrations/Error-when-modifying-multiple-contacts-with-single-valued/m-p/1124232#M80984</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.hubspot.com/t5/user/viewprofilepage/user-id/53048"&gt;@evaldas&lt;/a&gt;&amp;nbsp;,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;subscription__monthly___coupon_code2 and subscription__monthly. I forgot to rename them in the log.&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;&lt;a href="https://community.hubspot.com/t5/user/viewprofilepage/user-id/169781"&gt;@kennedyp&lt;/a&gt;&amp;nbsp;&amp;nbsp;The field is of type single-text.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;In the Python API ‘’ is the value used to remove the value of a property. That is, it is the way to indicate the absence of value. Even if the property has a single value, you can have several objects with the property set to null. The API should accept sending several records with value ‘’ as it is a special value.&lt;BR /&gt;I have tried sending None instead of ‘’ but with None the property is not cleared.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thank you!&lt;/P&gt;</description>
      <pubDate>Wed, 19 Mar 2025 07:04:12 GMT</pubDate>
      <guid>https://community.hubspot.com/t5/APIs-Integrations/Error-when-modifying-multiple-contacts-with-single-valued/m-p/1124232#M80984</guid>
      <dc:creator>JMoleroAlonso</dc:creator>
      <dc:date>2025-03-19T07:04:12Z</dc:date>
    </item>
    <item>
      <title>Re: Error when modifying multiple contacts with single-valued property with null value</title>
      <link>https://community.hubspot.com/t5/APIs-Integrations/Error-when-modifying-multiple-contacts-with-single-valued/m-p/1124415#M80994</link>
      <description>&lt;P&gt;&lt;a href="https://community.hubspot.com/t5/user/viewprofilepage/user-id/916448"&gt;@JMoleroAlonso&lt;/a&gt;&amp;nbsp;- both of the subscription properties you mentioned can have whatever value you need it to have - including blank/null - but they cannot be set as the &lt;STRONG&gt;idProperty&lt;/STRONG&gt; in the API. Typically the email property is used for that purpose, since two contacts cannot have the same email address.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 19 Mar 2025 13:13:10 GMT</pubDate>
      <guid>https://community.hubspot.com/t5/APIs-Integrations/Error-when-modifying-multiple-contacts-with-single-valued/m-p/1124415#M80994</guid>
      <dc:creator>evaldas</dc:creator>
      <dc:date>2025-03-19T13:13:10Z</dc:date>
    </item>
    <item>
      <title>Re: Error when modifying multiple contacts with single-valued property with null value</title>
      <link>https://community.hubspot.com/t5/APIs-Integrations/Error-when-modifying-multiple-contacts-with-single-valued/m-p/1127126#M81124</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.hubspot.com/t5/user/viewprofilepage/user-id/53048"&gt;@evaldas&lt;/a&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;The problem arises when in the BatchInputSimplePublicObjectBatchInput method I send 2 inputs with the same property with value ‘’.&lt;/P&gt;&lt;P&gt;[&lt;BR /&gt;{ ‘id’:‘record1’, ‘subscription__monthly’: ''}&lt;BR /&gt;{ ‘id’:‘record2’, ‘subscription__monthly’: ''}&lt;BR /&gt;]&lt;/P&gt;&lt;P&gt;The value ‘’ is valid and if I update the registers sequentially there is no problem but if I do it in Batch with BatchInputSimplePublicObjectBatchInput I get the error ‘Values for property “subscription__monthly” must be unique&lt;/P&gt;</description>
      <pubDate>Tue, 25 Mar 2025 10:30:03 GMT</pubDate>
      <guid>https://community.hubspot.com/t5/APIs-Integrations/Error-when-modifying-multiple-contacts-with-single-valued/m-p/1127126#M81124</guid>
      <dc:creator>JMoleroAlonso</dc:creator>
      <dc:date>2025-03-25T10:30:03Z</dc:date>
    </item>
    <item>
      <title>Re: Error when modifying multiple contacts with single-valued property with null value</title>
      <link>https://community.hubspot.com/t5/APIs-Integrations/Error-when-modifying-multiple-contacts-with-single-valued/m-p/1127216#M81128</link>
      <description>&lt;P&gt;Can you share the full API call that you are using?&lt;/P&gt;</description>
      <pubDate>Tue, 25 Mar 2025 13:09:49 GMT</pubDate>
      <guid>https://community.hubspot.com/t5/APIs-Integrations/Error-when-modifying-multiple-contacts-with-single-valued/m-p/1127216#M81128</guid>
      <dc:creator>evaldas</dc:creator>
      <dc:date>2025-03-25T13:09:49Z</dc:date>
    </item>
    <item>
      <title>Re: Error when modifying multiple contacts with single-valued property with null value</title>
      <link>https://community.hubspot.com/t5/APIs-Integrations/Error-when-modifying-multiple-contacts-with-single-valued/m-p/1127238#M81131</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.hubspot.com/t5/user/viewprofilepage/user-id/53048"&gt;@evaldas&lt;/a&gt;&amp;nbsp;,&lt;/P&gt;&lt;P&gt;this is the call I perform from Python&lt;/P&gt;&lt;LI-CODE lang="python"&gt;batch_input_simple_public_object_batch_input = BatchInputSimplePublicObjectBatchInput(inputs=chuck)
api_response = self.client.crm.contacts.batch_api.update(
    batch_input_simple_public_object_batch_input=batch_input_simple_public_object_batch_input)
response_results: list[SimplePublicObject] = api_response.results&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;The content of "chuck" is:&lt;/P&gt;&lt;LI-CODE lang="python"&gt;[{'id': 216006776, 'properties': {'company': 'Power!', 'd_zero_partner': 'true', 'firstname': 'Abraham', 'phone': None, 
'subscription__monthly': '', 'subscription_monthly_referral_link': '', 'subscription_non_monthly_coupon_code': 'PRO', 
'subscription_non_monthly_referral_link': 'https://www.domain.com?fpr=dpwua&amp;amp;coupon=PRO', 'user_country': None, 'website': None}}, 
{'id': 216018862, 'properties': {'company': 'Day', 'd_zero_partner': 'true', 'firstname': 'Day',
 'phone': None, 'subscription__monthly': '', 'subscription_monthly_referral_link': '', 'subscription_non_monthly_coupon_code': 
 'PRE', 'subscription_non_monthly_referral_link': 'https://www.domain.com?fpr=dpwua&amp;amp;coupon=PRE', 'user_country': 'ES',
  'website': 'https://www.day.com'}}]
&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;And the error message is:&lt;/P&gt;&lt;LI-CODE lang="python"&gt;HTTP response body: {"status":"error","message":"Property values were not valid: [{\"isValid\":false,\"message\":\"Values for property \\\"subscription__monthly\\\" must be unique. Given 2 updates with value \\\"\\\".\",\"error\":\"CONFLICTING_UNIQUE_VALUE\",\"name\":\"subscription__monthly\",\"propertyValue\":\"\",\"portalId\":24095220},{\"isValid\":false,\"message\":\"Values for property \\\"subscription_monthly_referral_link\\\" must be unique. Given 2 updates with value \\\"\\\".\",\"error\":\"CONFLICTING_UNIQUE_VALUE\",\"name\":\"subscription_monthly_referral_link\",\"propertyValue\":\"\",\"portalId\":24095220}]","correlationId":"9b10-db2b4ea09b24","errors":[{"message":"Values for property \"subscription__monthly\" must be unique. Given 2 updates with value \"\".","code":"CONFLICTING_UNIQUE_VALUE","context":{"propertyName":["subscription__monthly"]}},{"message":"Values for property \"subscription_monthly_referral_link\" must be unique. Given 2 updates with value \"\".","code":"CONFLICTING_UNIQUE_VALUE","context":{"propertyName":["subscription_monthly_referral_link"]}}],"category":"VALIDATION_ERROR"}&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;The field "subscription__monthly" is set as "unique value"&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;thank you!&lt;/P&gt;</description>
      <pubDate>Tue, 25 Mar 2025 13:52:49 GMT</pubDate>
      <guid>https://community.hubspot.com/t5/APIs-Integrations/Error-when-modifying-multiple-contacts-with-single-valued/m-p/1127238#M81131</guid>
      <dc:creator>JMoleroAlonso</dc:creator>
      <dc:date>2025-03-25T13:52:49Z</dc:date>
    </item>
    <item>
      <title>Re: Error when modifying multiple contacts with single-valued property with null value</title>
      <link>https://community.hubspot.com/t5/APIs-Integrations/Error-when-modifying-multiple-contacts-with-single-valued/m-p/1127257#M81133</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.hubspot.com/t5/user/viewprofilepage/user-id/916448"&gt;@JMoleroAlonso&lt;/a&gt;,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;As I had mentioned in previous messages, you cannot set the field as "unique value" if there is a change that field values will be the same.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;To illustrate, this is NOT unique because values for "subscription__monthly" are identical:&lt;/P&gt;
&lt;LI-CODE lang="markup"&gt;{ ‘id’:‘record1’, ‘subscription__monthly’: ''}
{ ‘id’:‘record2’, ‘subscription__monthly’: ''}&lt;/LI-CODE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;To resolve this issue you have two options:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;STRONG&gt;Option A:&lt;/STRONG&gt; Change your unique value to a field that will ALWAYS have unique values, such as "id" or "email" - &lt;STRONG&gt;this will allow passing null values in "subscription__monthly" field&lt;/STRONG&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;STRONG&gt;Option B:&lt;/STRONG&gt;&amp;nbsp;If you are required to have "subscription__monthly" as the unique value, make sure your "subscription__monthly" field always has unique values. Example of option B:&lt;/P&gt;
&lt;LI-CODE lang="markup"&gt;{ ‘id’:‘record1’, ‘subscription__monthly’: 'null_1'}
{ ‘id’:‘record2’, ‘subscription__monthly’: 'null_2'}&lt;/LI-CODE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 25 Mar 2025 14:28:54 GMT</pubDate>
      <guid>https://community.hubspot.com/t5/APIs-Integrations/Error-when-modifying-multiple-contacts-with-single-valued/m-p/1127257#M81133</guid>
      <dc:creator>evaldas</dc:creator>
      <dc:date>2025-03-25T14:28:54Z</dc:date>
    </item>
  </channel>
</rss>

