<?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 Unable to Post data for deals object in Hubspot in APIs &amp; Integrations</title>
    <link>https://community.hubspot.com/t5/APIs-Integrations/Unable-to-Post-data-for-deals-object-in-Hubspot/m-p/1124829#M81022</link>
    <description>&lt;P&gt;Hi am working on Integration in Mulesoft to write the data to Deals object in Hubspot&lt;BR /&gt;I'm pulling the data from Bullhorn and inserting the same data to Hubspot&lt;BR /&gt;am able to create the record in Hubspot but data was creating as empty (attaching the screenshot for reference)&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Deals Screenshot.PNG" style="width: 999px;"&gt;&lt;img src="https://community.hubspot.com/t5/image/serverpage/image-id/141356i44E5DF63EF29DABA/image-size/large?v=v2&amp;amp;px=999" role="button" title="Deals Screenshot.PNG" alt="Deals Screenshot.PNG" /&gt;&lt;/span&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="deals sample mapping.PNG" style="width: 741px;"&gt;&lt;img src="https://community.hubspot.com/t5/image/serverpage/image-id/141357i53F6D84ACE68F5DD/image-size/large?v=v2&amp;amp;px=999" role="button" title="deals sample mapping.PNG" alt="deals sample mapping.PNG" /&gt;&lt;/span&gt;).&lt;/P&gt;&lt;P&gt;Sample Deals mappings screenshot above.&lt;/P&gt;&lt;P&gt;am using the internal names in the attached doc for mapping purpose can you confirm whether they are correct or not.&lt;BR /&gt;if they are correct then why am unable to post the data but creating the record only&lt;BR /&gt;please help.&lt;/P&gt;</description>
    <pubDate>Thu, 20 Mar 2025 08:21:13 GMT</pubDate>
    <dc:creator>KGodi</dc:creator>
    <dc:date>2025-03-20T08:21:13Z</dc:date>
    <item>
      <title>Unable to Post data for deals object in Hubspot</title>
      <link>https://community.hubspot.com/t5/APIs-Integrations/Unable-to-Post-data-for-deals-object-in-Hubspot/m-p/1124829#M81022</link>
      <description>&lt;P&gt;Hi am working on Integration in Mulesoft to write the data to Deals object in Hubspot&lt;BR /&gt;I'm pulling the data from Bullhorn and inserting the same data to Hubspot&lt;BR /&gt;am able to create the record in Hubspot but data was creating as empty (attaching the screenshot for reference)&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Deals Screenshot.PNG" style="width: 999px;"&gt;&lt;img src="https://community.hubspot.com/t5/image/serverpage/image-id/141356i44E5DF63EF29DABA/image-size/large?v=v2&amp;amp;px=999" role="button" title="Deals Screenshot.PNG" alt="Deals Screenshot.PNG" /&gt;&lt;/span&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="deals sample mapping.PNG" style="width: 741px;"&gt;&lt;img src="https://community.hubspot.com/t5/image/serverpage/image-id/141357i53F6D84ACE68F5DD/image-size/large?v=v2&amp;amp;px=999" role="button" title="deals sample mapping.PNG" alt="deals sample mapping.PNG" /&gt;&lt;/span&gt;).&lt;/P&gt;&lt;P&gt;Sample Deals mappings screenshot above.&lt;/P&gt;&lt;P&gt;am using the internal names in the attached doc for mapping purpose can you confirm whether they are correct or not.&lt;BR /&gt;if they are correct then why am unable to post the data but creating the record only&lt;BR /&gt;please help.&lt;/P&gt;</description>
      <pubDate>Thu, 20 Mar 2025 08:21:13 GMT</pubDate>
      <guid>https://community.hubspot.com/t5/APIs-Integrations/Unable-to-Post-data-for-deals-object-in-Hubspot/m-p/1124829#M81022</guid>
      <dc:creator>KGodi</dc:creator>
      <dc:date>2025-03-20T08:21:13Z</dc:date>
    </item>
    <item>
      <title>Re: Unable to Post data for deals object in Hubspot</title>
      <link>https://community.hubspot.com/t5/APIs-Integrations/Unable-to-Post-data-for-deals-object-in-Hubspot/m-p/1126439#M81090</link>
      <description>&lt;P&gt;Hello&amp;nbsp;@Anonymous&lt;/a&gt;&amp;nbsp;,&lt;/P&gt;&lt;P&gt;Thank you for responding.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Yes i have verified in Hubspot settings and identified the internal fields for Deals. And based on the fields i have done the mapping in the mulesoft.&lt;BR /&gt;&lt;BR /&gt;If you can see in the above mapping screenshot. All the fields on the left were declared based on the internal fields declared in Hubspot Deals. And for the fields declared on the right they are representing the Bullhorn which we having data as i checked in the debug mode. But while inserting into Hubspot is not happening. Kindly please do help.&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 24 Mar 2025 06:31:19 GMT</pubDate>
      <guid>https://community.hubspot.com/t5/APIs-Integrations/Unable-to-Post-data-for-deals-object-in-Hubspot/m-p/1126439#M81090</guid>
      <dc:creator>KGodi</dc:creator>
      <dc:date>2025-03-24T06:31:19Z</dc:date>
    </item>
    <item>
      <title>Re: Unable to Post data for deals object in Hubspot</title>
      <link>https://community.hubspot.com/t5/APIs-Integrations/Unable-to-Post-data-for-deals-object-in-Hubspot/m-p/1129815#M81277</link>
      <description>&lt;P&gt;Is that your full payload?&lt;BR /&gt;&lt;BR /&gt;My first hunch is properties should be in a properties objects so at minimum:&lt;/P&gt;
&lt;LI-CODE lang="markup"&gt;{
    "properties": {
        "amount": item.amount,
        "closedate": item.closedate...
    }
}&lt;/LI-CODE&gt;
&lt;P&gt;It appears what you are doing is this:&lt;/P&gt;
&lt;LI-CODE lang="markup"&gt;{
    "amount": item.amount,
    "closedate": item.closedate...
}&lt;/LI-CODE&gt;
&lt;P&gt;&lt;BR /&gt;&lt;BR /&gt;Also I think you should be assing both pipeline and stage. I'm unsure if stage is sufficient by itself.&lt;BR /&gt;&lt;BR /&gt;The &lt;A href="https://developers.hubspot.com/docs/reference/api/crm/objects/deals#post-%2Fcrm%2Fv3%2Fobjects%2Fdeals" target="_blank" rel="noopener"&gt;documentation&lt;/A&gt; has an example payload.&lt;/P&gt;</description>
      <pubDate>Mon, 31 Mar 2025 16:57:57 GMT</pubDate>
      <guid>https://community.hubspot.com/t5/APIs-Integrations/Unable-to-Post-data-for-deals-object-in-Hubspot/m-p/1129815#M81277</guid>
      <dc:creator>LeeBartelme</dc:creator>
      <dc:date>2025-03-31T16:57:57Z</dc:date>
    </item>
    <item>
      <title>Re: Unable to Post data for deals object in Hubspot</title>
      <link>https://community.hubspot.com/t5/APIs-Integrations/Unable-to-Post-data-for-deals-object-in-Hubspot/m-p/1130176#M81290</link>
      <description>&lt;P&gt;hello&amp;nbsp;&lt;a href="https://community.hubspot.com/t5/user/viewprofilepage/user-id/401263"&gt;@LeeBartelme&lt;/a&gt;&amp;nbsp;,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks for responding.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;As suggested i have tried with below payload. I have received 400 Bad Request error message. Please find the details below.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Payload Used:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;{&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;&amp;nbsp; &amp;nbsp; &lt;/SPAN&gt;&lt;SPAN&gt;"properties"&lt;/SPAN&gt;&lt;SPAN&gt;: {&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &lt;/SPAN&gt;&lt;SPAN&gt;"amount"&lt;/SPAN&gt;&lt;SPAN&gt;: &lt;/SPAN&gt;&lt;SPAN&gt;5000.0000&lt;/SPAN&gt;&lt;SPAN&gt;,&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &lt;/SPAN&gt;&lt;SPAN&gt;"closedate"&lt;/SPAN&gt;&lt;SPAN&gt;: &lt;/SPAN&gt;&lt;SPAN&gt;1745985600000&lt;/SPAN&gt;&lt;SPAN&gt;,&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &lt;/SPAN&gt;&lt;SPAN&gt;"createdate"&lt;/SPAN&gt;&lt;SPAN&gt;: &lt;/SPAN&gt;&lt;SPAN&gt;1741752000000&lt;/SPAN&gt;&lt;SPAN&gt;,&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &lt;/SPAN&gt;&lt;SPAN&gt;"dealname"&lt;/SPAN&gt;&lt;SPAN&gt;: &lt;/SPAN&gt;&lt;SPAN&gt;"Fiber Pull Walkthrough"&lt;/SPAN&gt;&lt;SPAN&gt;,&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &lt;/SPAN&gt;&lt;SPAN&gt;"dealstage"&lt;/SPAN&gt;&lt;SPAN&gt;: &lt;/SPAN&gt;&lt;SPAN&gt;"Engagement"&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;&amp;nbsp; &amp;nbsp; }&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;}&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;400 bad Request Error Message:&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;&lt;DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;{&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;&amp;nbsp; &amp;nbsp; &lt;/SPAN&gt;&lt;SPAN&gt;"status"&lt;/SPAN&gt;&lt;SPAN&gt;: &lt;/SPAN&gt;&lt;SPAN&gt;"error"&lt;/SPAN&gt;&lt;SPAN&gt;,&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;&amp;nbsp; &amp;nbsp; &lt;/SPAN&gt;&lt;SPAN&gt;"message"&lt;/SPAN&gt;&lt;SPAN&gt;: &lt;/SPAN&gt;&lt;SPAN&gt;"Property values were not valid: [{\"isValid\":false,\"message\":\"Engagement is not a valid pipeline stage ID. Valid options are: pipelineId=default : [appointmentscheduled, qualifiedtobuy, decisionmakerboughtin, contractsent, closedwon, closedlost], pipelineId=1073991 : [1073992, 1073993, 1073994, 1073995, 1078906, 1078907], pipelineId=685561147 : [1003857335, 1003857336, 1003857337, 1003857408, 1003857409, 1003857410, 1003857411, 1003857412, 1003857413, 1003857414], pipelineId=685533881 : [1003835206, 1003835207, 1003835208, 1003835209, 1003835210, 1003835211, 1003835212, 1003835213, 1003835214, 1003835215, 1003835216, 1003835217]\",\"error\":\"INVALID_OPTION\",\"name\":\"dealstage\",\"localizedErrorMessage\":\"Engagement is not a valid pipeline stage ID. Valid options are: pipelineId=default : [appointmentscheduled, qualifiedtobuy, decisionmakerboughtin, contractsent, closedwon, closedlost], pipelineId=1073991 : [1073992, 1073993, 1073994, 1073995, 1078906, 1078907], pipelineId=685561147 : [1003857335, 1003857336, 1003857337, 1003857408, 1003857409, 1003857410, 1003857411, 1003857412, 1003857413, 1003857414], pipelineId=685533881 : [1003835206, 1003835207, 1003835208, 1003835209, 1003835210, 1003835211, 1003835212, 1003835213, 1003835214, 1003835215, 1003835216, 1003835217]\",\"propertyValue\":\"Engagement\",\"portalId\":1629777}]"&lt;/SPAN&gt;&lt;SPAN&gt;,&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;&amp;nbsp; &amp;nbsp; &lt;/SPAN&gt;&lt;SPAN&gt;"correlationId"&lt;/SPAN&gt;&lt;SPAN&gt;: &lt;/SPAN&gt;&lt;SPAN&gt;"332e4cc4-f1a8-4b95-a8da-78afca840d61"&lt;/SPAN&gt;&lt;SPAN&gt;,&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;&amp;nbsp; &amp;nbsp; &lt;/SPAN&gt;&lt;SPAN&gt;"errors"&lt;/SPAN&gt;&lt;SPAN&gt;: [&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; {&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &lt;/SPAN&gt;&lt;SPAN&gt;"message"&lt;/SPAN&gt;&lt;SPAN&gt;: &lt;/SPAN&gt;&lt;SPAN&gt;"Engagement is not a valid pipeline stage ID. Valid options are: pipelineId=default : [appointmentscheduled, qualifiedtobuy, decisionmakerboughtin, contractsent, closedwon, closedlost], pipelineId=1073991 : [1073992, 1073993, 1073994, 1073995, 1078906, 1078907], pipelineId=685561147 : [1003857335, 1003857336, 1003857337, 1003857408, 1003857409, 1003857410, 1003857411, 1003857412, 1003857413, 1003857414], pipelineId=685533881 : [1003835206, 1003835207, 1003835208, 1003835209, 1003835210, 1003835211, 1003835212, 1003835213, 1003835214, 1003835215, 1003835216, 1003835217]"&lt;/SPAN&gt;&lt;SPAN&gt;,&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &lt;/SPAN&gt;&lt;SPAN&gt;"code"&lt;/SPAN&gt;&lt;SPAN&gt;: &lt;/SPAN&gt;&lt;SPAN&gt;"INVALID_OPTION"&lt;/SPAN&gt;&lt;SPAN&gt;,&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &lt;/SPAN&gt;&lt;SPAN&gt;"context"&lt;/SPAN&gt;&lt;SPAN&gt;: {&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &lt;/SPAN&gt;&lt;SPAN&gt;"propertyName"&lt;/SPAN&gt;&lt;SPAN&gt;: [&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &lt;/SPAN&gt;&lt;SPAN&gt;"dealstage"&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; ]&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; }&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; }&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;&amp;nbsp; &amp;nbsp; ],&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;&amp;nbsp; &amp;nbsp; &lt;/SPAN&gt;&lt;SPAN&gt;"category"&lt;/SPAN&gt;&lt;SPAN&gt;: &lt;/SPAN&gt;&lt;SPAN&gt;"VALIDATION_ERROR"&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;}&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;Kindly, Please do share your inputs.&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;Thanks,&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;Karthik&lt;/SPAN&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;/DIV&gt;</description>
      <pubDate>Tue, 01 Apr 2025 08:05:21 GMT</pubDate>
      <guid>https://community.hubspot.com/t5/APIs-Integrations/Unable-to-Post-data-for-deals-object-in-Hubspot/m-p/1130176#M81290</guid>
      <dc:creator>KGodi</dc:creator>
      <dc:date>2025-04-01T08:05:21Z</dc:date>
    </item>
    <item>
      <title>Re: Unable to Post data for deals object in Hubspot</title>
      <link>https://community.hubspot.com/t5/APIs-Integrations/Unable-to-Post-data-for-deals-object-in-Hubspot/m-p/1133630#M81475</link>
      <description>&lt;P&gt;Hey&amp;nbsp;&lt;a href="https://community.hubspot.com/t5/user/viewprofilepage/user-id/917769"&gt;@KGodi&lt;/a&gt;&amp;nbsp;&lt;span class="lia-unicode-emoji" title=":waving_hand:"&gt;👋&lt;/span&gt; Thanks for sharing the error message. Your payload looks to be using the “label” and not the “internal value”. Occasionally, the “internal value”&amp;nbsp;&lt;EM&gt;is&lt;/EM&gt; text, like `closedlost` or `closedwon`. But it's likely that `Engagement` is actually something like `1234567890`. You can read more about this &lt;A href="https://developers.hubspot.com/docs/guides/api/crm/objects/deals#:~:text=Please%20note%3A,deal%20pipeline%20settings" target="_blank" rel="noopener"&gt;&lt;STRONG&gt;here&lt;/STRONG&gt;&lt;/A&gt;.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;An easy way to find this info is in-app is to go to Settings &amp;gt; Objects &amp;gt; Deals &amp;gt; Pipelines and click on the&amp;nbsp;&lt;STRONG&gt;&amp;lt;/&amp;gt;&amp;nbsp;&lt;/STRONG&gt;icon next to the Deal or Pipeline name&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="CleanShot 2025-04-08 at 10.30.49@2x.png" style="width: 400px;"&gt;&lt;img src="https://community.hubspot.com/t5/image/serverpage/image-id/142850iEB3215CC53016A6B/image-size/medium?v=v2&amp;amp;px=400" role="button" title="CleanShot 2025-04-08 at 10.30.49@2x.png" alt="CleanShot 2025-04-08 at 10.30.49@2x.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;You can also request this information from the &lt;A href="https://developers.hubspot.com/docs/guides/api/crm/pipelines" target="_blank" rel="noopener"&gt;&lt;STRONG&gt;Pipelines API&lt;/STRONG&gt;&lt;/A&gt;. And one last thing to remember is that you need to send the pipeline (using the internal value) along with the deal stage because you have more than one pipeline (which we can see in the error message &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;Have fun building! — Jaycee&lt;/P&gt;</description>
      <pubDate>Tue, 08 Apr 2025 16:42:22 GMT</pubDate>
      <guid>https://community.hubspot.com/t5/APIs-Integrations/Unable-to-Post-data-for-deals-object-in-Hubspot/m-p/1133630#M81475</guid>
      <dc:creator>Jaycee_Lewis</dc:creator>
      <dc:date>2025-04-08T16:42:22Z</dc:date>
    </item>
  </channel>
</rss>

