<?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: Label Associations: POST /crm/v4/associations/{from}/{to}/labels returns 500 in APIs &amp; Integrations</title>
    <link>https://community.hubspot.com/t5/APIs-Integrations/Label-Associations-POST-crm-v4-associations-from-to-labels/m-p/1244080#M86653</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/1012726"&gt;@EdoardoP&lt;/a&gt;&lt;/SPAN&gt; and thanks for laying out all those details. You’re correct that the Lead object is relatively new to HubSpot, and some endpoints (including associations with custom labels) may not have full support yet.&lt;BR /&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;As you’ve already checked the docs and submitted feedback, I’d recommend keeping an eye on &lt;A href="https://developers.hubspot.com/changelog" target="_blank"&gt;HubSpot’s changelog&lt;/A&gt; for any new enhancements around Lead associations.&lt;BR /&gt;&lt;BR /&gt;Let's invite our Top Experts to this conversation: Hi &lt;a href="https://community.hubspot.com/t5/user/viewprofilepage/user-id/17186"&gt;@Anton&lt;/a&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/321717"&gt;@MichaelMa&lt;/a&gt;&lt;/SPAN&gt; and &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/1007207"&gt;@Christensen&lt;/a&gt;&lt;/SPAN&gt; can you think of a workaround to help &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/1012726"&gt;@EdoardoP&lt;/a&gt;&lt;/SPAN&gt;, please?&lt;BR /&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Appreciate you bringing this up for discussion, it’ll definitely help others who run into the same roadblock.&lt;BR /&gt;&lt;BR /&gt;Thanks so much and have a wonderful day! &lt;span class="lia-unicode-emoji" title=":sun_with_face:"&gt;🌞&lt;/span&gt;&lt;BR /&gt;Bérangère&lt;/P&gt;</description>
    <pubDate>Thu, 22 Jan 2026 10:45:08 GMT</pubDate>
    <dc:creator>BérangèreL</dc:creator>
    <dc:date>2026-01-22T10:45:08Z</dc:date>
    <item>
      <title>Label Associations: POST /crm/v4/associations/{from}/{to}/labels returns 500</title>
      <link>https://community.hubspot.com/t5/APIs-Integrations/Label-Associations-POST-crm-v4-associations-from-to-labels/m-p/1244037#M86651</link>
      <description>&lt;P&gt;Hey everyone,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I am trying to create custom association labels between a custom object and the Lead object via the v4 API, and I keep getting a 500 internal error.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Here's what I'm doing:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;POST &lt;A href="https://api.hubapi.com/crm/v4/associations/2-197105422/lead/labels" target="_blank" rel="noopener"&gt;https://api.hubapi.com/crm/v4/associations/2-197105422/lead/labels&lt;/A&gt;&lt;/P&gt;&lt;P&gt;Body:&lt;/P&gt;&lt;PRE&gt;{
  "name": "manual_lead_to_edition",
  "label": "Manual",
  "inverseLabel": "Manual"
}&lt;/PRE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Response:&lt;/P&gt;&lt;PRE&gt;{
  "status": "error",
  "message": "internal error",
  "correlationId": "b89fd04f-15e4-4cb2-a4c8-efec04f8078d"
}&lt;/PRE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I've checked the docs (&lt;A href="https://developers.hubspot.com/docs/api-reference/crm-associations-schema-v4/definitions/post-crm-associations-v4-fromObjectType-toObjectType-labels" target="_blank" rel="noopener"&gt;https://developers.hubspot.com/docs/api-reference/crm-associations-schema-v4/definitions/post-crm-associations-v4-fromObjectType-toObjectType-labels&lt;/A&gt;) and my request matches exactly what's expected. Required fields are there, JSON is valid, token works fine on every other endpoint.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;What I've already tried:&lt;BR /&gt;- Different label names&lt;BR /&gt;- Removing inverseLabel entirely&lt;BR /&gt;- Using the fully qualified object name instead of the object type ID&lt;BR /&gt;- Verified the token works (other API calls are fine)&lt;BR /&gt;- GET on the same endpoint returns an empty results array, so the path is valid&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Creating default associations (without labels) works perfectly. It's only when I try to create a labeled association that it blows up.&lt;/P&gt;&lt;P&gt;My gut says this might be a Lead object thing? Lead is still relatively new and maybe the v4 associations schema doesn't fully support it yet? Or is there some undocumented requirement I'm missing?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I have already submitted a feedback to HubSpot but figured I'd check here too in case someone has run into this or knows a workaround.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks for any pointers.&lt;/P&gt;</description>
      <pubDate>Thu, 22 Jan 2026 08:22:23 GMT</pubDate>
      <guid>https://community.hubspot.com/t5/APIs-Integrations/Label-Associations-POST-crm-v4-associations-from-to-labels/m-p/1244037#M86651</guid>
      <dc:creator>EdoardoP</dc:creator>
      <dc:date>2026-01-22T08:22:23Z</dc:date>
    </item>
    <item>
      <title>Re: Label Associations: POST /crm/v4/associations/{from}/{to}/labels returns 500</title>
      <link>https://community.hubspot.com/t5/APIs-Integrations/Label-Associations-POST-crm-v4-associations-from-to-labels/m-p/1244080#M86653</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/1012726"&gt;@EdoardoP&lt;/a&gt;&lt;/SPAN&gt; and thanks for laying out all those details. You’re correct that the Lead object is relatively new to HubSpot, and some endpoints (including associations with custom labels) may not have full support yet.&lt;BR /&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;As you’ve already checked the docs and submitted feedback, I’d recommend keeping an eye on &lt;A href="https://developers.hubspot.com/changelog" target="_blank"&gt;HubSpot’s changelog&lt;/A&gt; for any new enhancements around Lead associations.&lt;BR /&gt;&lt;BR /&gt;Let's invite our Top Experts to this conversation: Hi &lt;a href="https://community.hubspot.com/t5/user/viewprofilepage/user-id/17186"&gt;@Anton&lt;/a&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/321717"&gt;@MichaelMa&lt;/a&gt;&lt;/SPAN&gt; and &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/1007207"&gt;@Christensen&lt;/a&gt;&lt;/SPAN&gt; can you think of a workaround to help &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/1012726"&gt;@EdoardoP&lt;/a&gt;&lt;/SPAN&gt;, please?&lt;BR /&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Appreciate you bringing this up for discussion, it’ll definitely help others who run into the same roadblock.&lt;BR /&gt;&lt;BR /&gt;Thanks so much and have a wonderful day! &lt;span class="lia-unicode-emoji" title=":sun_with_face:"&gt;🌞&lt;/span&gt;&lt;BR /&gt;Bérangère&lt;/P&gt;</description>
      <pubDate>Thu, 22 Jan 2026 10:45:08 GMT</pubDate>
      <guid>https://community.hubspot.com/t5/APIs-Integrations/Label-Associations-POST-crm-v4-associations-from-to-labels/m-p/1244080#M86653</guid>
      <dc:creator>BérangèreL</dc:creator>
      <dc:date>2026-01-22T10:45:08Z</dc:date>
    </item>
    <item>
      <title>Re: Label Associations: POST /crm/v4/associations/{from}/{to}/labels returns 500</title>
      <link>https://community.hubspot.com/t5/APIs-Integrations/Label-Associations-POST-crm-v4-associations-from-to-labels/m-p/1244082#M86654</link>
      <description>&lt;P&gt;I missed a crucial detail in my post: creating labelled associations between my custom object and Lead object works fine using the UI.&lt;/P&gt;</description>
      <pubDate>Thu, 22 Jan 2026 10:50:38 GMT</pubDate>
      <guid>https://community.hubspot.com/t5/APIs-Integrations/Label-Associations-POST-crm-v4-associations-from-to-labels/m-p/1244082#M86654</guid>
      <dc:creator>EdoardoP</dc:creator>
      <dc:date>2026-01-22T10:50:38Z</dc:date>
    </item>
    <item>
      <title>Re: Label Associations: POST /crm/v4/associations/{from}/{to}/labels returns 500</title>
      <link>https://community.hubspot.com/t5/APIs-Integrations/Label-Associations-POST-crm-v4-associations-from-to-labels/m-p/1244122#M86657</link>
      <description>&lt;P&gt;Maybe a bug in the API?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;The label and inverseLabel cannot be the same value when trying to create a label via the API. Likely because if they are the same, you just need the label field instead of both.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 22 Jan 2026 13:21:30 GMT</pubDate>
      <guid>https://community.hubspot.com/t5/APIs-Integrations/Label-Associations-POST-crm-v4-associations-from-to-labels/m-p/1244122#M86657</guid>
      <dc:creator>MichaelMa</dc:creator>
      <dc:date>2026-01-22T13:21:30Z</dc:date>
    </item>
    <item>
      <title>Re: Label Associations: POST /crm/v4/associations/{from}/{to}/labels returns 500</title>
      <link>https://community.hubspot.com/t5/APIs-Integrations/Label-Associations-POST-crm-v4-associations-from-to-labels/m-p/1244169#M86660</link>
      <description>&lt;P&gt;Thank you, I completely missed the fact that inverseLabel is not a required field.&lt;/P&gt;&lt;P&gt;That Internal Server Error was indeed very likely due to label and inverseLabel being the same. Passing just label returns 200.&lt;/P&gt;</description>
      <pubDate>Thu, 22 Jan 2026 15:07:03 GMT</pubDate>
      <guid>https://community.hubspot.com/t5/APIs-Integrations/Label-Associations-POST-crm-v4-associations-from-to-labels/m-p/1244169#M86660</guid>
      <dc:creator>EdoardoP</dc:creator>
      <dc:date>2026-01-22T15:07:03Z</dc:date>
    </item>
  </channel>
</rss>

