<?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: Need help creating notes associated with deals in APIs &amp; Integrations</title>
    <link>https://community.hubspot.com/t5/APIs-Integrations/Need-help-creating-notes-associated-with-deals/m-p/1063047#M77820</link>
    <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.hubspot.com/t5/user/viewprofilepage/user-id/850272"&gt;@JackieChen&lt;/a&gt;,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;The issue appears to be with the association configuration in your request.&lt;/P&gt;&lt;P&gt;Can you&amp;nbsp;verify that your deal ID exists and is valid?&lt;/P&gt;&lt;P&gt;If yes, please&amp;nbsp;check that the association direction is from note to deal (not the other way around).&lt;/P&gt;</description>
    <pubDate>Thu, 31 Oct 2024 06:18:35 GMT</pubDate>
    <dc:creator>GiantFocal</dc:creator>
    <dc:date>2024-10-31T06:18:35Z</dc:date>
    <item>
      <title>Need help creating notes associated with deals</title>
      <link>https://community.hubspot.com/t5/APIs-Integrations/Need-help-creating-notes-associated-with-deals/m-p/1063031#M77818</link>
      <description>&lt;P&gt;&lt;SPAN&gt;I want to associate a note with deals when creating it via the API, but the interface returns an error when adding.&lt;BR /&gt;Below is the request body.&lt;BR /&gt;I got deal id from&amp;nbsp;"&lt;A href="https://api.hubapi.com/crm/v3/objects/deals/search" target="_blank"&gt;https://api.hubapi.com/crm/v3/objects/deals/search&lt;/A&gt;"&lt;BR /&gt;then&lt;BR /&gt;&lt;/SPAN&gt;POST&amp;nbsp;&lt;SPAN&gt;/crm/v3/objects/notes&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;{"properties": {"hs_timestamp": 1711953416000, "hs_note_body": "body"}, "associations": [{"to": {"id": "28535616883"}, "types": [{"associationCategory": "HUBSPOT_DEFINED", "associationTypeId": 214}]}]}&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Below is the response&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;{"result": "&amp;lt;Response [400]&amp;gt;", "text": "{"status":"error","message":"one or more associations arenot valid","correlationId":"701952f7-2e3c-4ca3-87b1-f3ce5403926d","errors":[{"message":"0-1=28535616883 is not a valid object","context":{"validationResult":["INVALID_FROM_OBJECT"]}}],"category":"BAD_REQUEST"}"}&lt;BR /&gt;How should I correct my request?&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 31 Oct 2024 04:26:49 GMT</pubDate>
      <guid>https://community.hubspot.com/t5/APIs-Integrations/Need-help-creating-notes-associated-with-deals/m-p/1063031#M77818</guid>
      <dc:creator>JackieChen</dc:creator>
      <dc:date>2024-10-31T04:26:49Z</dc:date>
    </item>
    <item>
      <title>Re: Need help creating notes associated with deals</title>
      <link>https://community.hubspot.com/t5/APIs-Integrations/Need-help-creating-notes-associated-with-deals/m-p/1063047#M77820</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.hubspot.com/t5/user/viewprofilepage/user-id/850272"&gt;@JackieChen&lt;/a&gt;,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;The issue appears to be with the association configuration in your request.&lt;/P&gt;&lt;P&gt;Can you&amp;nbsp;verify that your deal ID exists and is valid?&lt;/P&gt;&lt;P&gt;If yes, please&amp;nbsp;check that the association direction is from note to deal (not the other way around).&lt;/P&gt;</description>
      <pubDate>Thu, 31 Oct 2024 06:18:35 GMT</pubDate>
      <guid>https://community.hubspot.com/t5/APIs-Integrations/Need-help-creating-notes-associated-with-deals/m-p/1063047#M77820</guid>
      <dc:creator>GiantFocal</dc:creator>
      <dc:date>2024-10-31T06:18:35Z</dc:date>
    </item>
    <item>
      <title>Re: Need help creating notes associated with deals</title>
      <link>https://community.hubspot.com/t5/APIs-Integrations/Need-help-creating-notes-associated-with-deals/m-p/1063596#M77854</link>
      <description>&lt;P&gt;Hi &lt;a href="https://community.hubspot.com/t5/user/viewprofilepage/user-id/577159"&gt;@GiantFocal&lt;/a&gt;,&lt;/P&gt;&lt;P&gt;Thank you for your prompt response. I can confirm that my deal ID does exist and is valid. Additionally, I have double-checked the association direction, and it is correctly set from note to deal.&lt;/P&gt;&lt;P&gt;Given this information, do you have any other suggestions on what might be causing the issue or what steps I should take next?&lt;/P&gt;&lt;P&gt;Thank you for your continued assistance.&lt;/P&gt;&lt;P&gt;Best regards,&lt;BR /&gt;Jackie Chen&lt;/P&gt;</description>
      <pubDate>Fri, 01 Nov 2024 03:22:12 GMT</pubDate>
      <guid>https://community.hubspot.com/t5/APIs-Integrations/Need-help-creating-notes-associated-with-deals/m-p/1063596#M77854</guid>
      <dc:creator>JackieChen</dc:creator>
      <dc:date>2024-11-01T03:22:12Z</dc:date>
    </item>
  </channel>
</rss>

