<?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: Hubspot Contact API createOrUpdate endpoint not reliable in APIs &amp; Integrations</title>
    <link>https://community.hubspot.com/t5/APIs-Integrations/Hubspot-Contact-API-createOrUpdate-endpoint-not-reliable/m-p/221786#M682</link>
    <description>&lt;P&gt;Just noticed in the history that there's middle process in the middle, a workflow.&lt;BR /&gt;
I'm not a Hubspot admin/user, just developing some requirements, so I have to report this to my colleague who created the workflow.&lt;/P&gt;
&lt;P&gt;&lt;/P&gt;&lt;DIV class="lightbox-wrapper"&gt;&lt;A class="lightbox" href="https://community.hubspot.com/legacyfs/online/uploads/default/original/2X/a/a8ba27a16e4a83af8cff103e0c9574c7907276ab.png" data-download-href="/legacyfs/online/uploads/default/a8ba27a16e4a83af8cff103e0c9574c7907276ab" title="Screen Shot 2018-11-30 at 15.51.53.png" rel="nofollow noopener"&gt;&lt;IMG src="https://community.hubspot.com/legacyfs/online/uploads/default/optimized/2X/a/a8ba27a16e4a83af8cff103e0c9574c7907276ab_1_690x285.png" alt="53" width="690" height="285" srcset="https://discourse-cdn-sjc1.com/hubspot/uploads/default/optimized/2X/a/a8ba27a16e4a83af8cff103e0c9574c7907276ab_1_690x285.png, https://discourse-cdn-sjc1.com/hubspot/uploads/default/optimized/2X/a/a8ba27a16e4a83af8cff103e0c9574c7907276ab_1_1035x427.png 1.5x, https://discourse-cdn-sjc1.com/hubspot/uploads/default/optimized/2X/a/a8ba27a16e4a83af8cff103e0c9574c7907276ab_1_1380x570.png 2x" /&gt;&lt;DIV class="meta"&gt;
&lt;SPAN class="filename"&gt;Screen Shot 2018-11-30 at 15.51.53.png&lt;/SPAN&gt;&lt;SPAN class="informations"&gt;1672x692 47.7 KB&lt;/SPAN&gt;&lt;SPAN class="expand"&gt;&lt;/SPAN&gt;
&lt;/DIV&gt;&lt;/A&gt;&lt;/DIV&gt;&lt;P&gt;&lt;/P&gt;</description>
    <pubDate>Fri, 30 Nov 2018 15:53:45 GMT</pubDate>
    <dc:creator>punkbit</dc:creator>
    <dc:date>2018-11-30T15:53:45Z</dc:date>
    <item>
      <title>Hubspot Contact API createOrUpdate endpoint not reliable</title>
      <link>https://community.hubspot.com/t5/APIs-Integrations/Hubspot-Contact-API-createOrUpdate-endpoint-not-reliable/m-p/221785#M681</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;
&lt;P&gt;Just noticed that the Hubspot Contact API createOrUpdate endpoint is not reliable! Noticed something similar previously when using the API, but was related with Hubspot processing times and had to wait for several seconds to minutes but the updated data will eventually show up. For the current feature, where I update a property through the createOrUpdate endpoint, this fails (or, at least a 5 minutes wait was not enough to see the latest updated property value), given that the request to the endpoint returns a status 200!&lt;/P&gt;
&lt;P&gt;I'm attaching a use case with a video demo so that it's clear to everybody, otherwise, it's hard to believe. The following example is a successful request that returns status 200 OK response. The docs here ( &lt;A href="https://developers.hubspot.com/docs/methods/contacts/create_or_update" rel="nofollow noopener"&gt;https://developers.hubspot.com/docs/methods/contacts/create_or_update&lt;/A&gt; )&lt;/P&gt;
&lt;OL start="0"&gt;
&lt;LI&gt;
&lt;P&gt;During the test look at property "investment status" or "investment_status"&lt;/P&gt;
&lt;/LI&gt;
&lt;LI&gt;
&lt;P&gt;Sucess response for POST to createOrUpdate endpoint&lt;BR /&gt;
&lt;IMG src="https://community.hubspot.com/legacyfs/online/uploads/default/original/2X/5/5b4532327afc27156c4126173e60cf728e881fe2.gif" alt="step1-gif-browser-ui-request-status-ok" width="640" height="370" /&gt;&lt;/P&gt;
&lt;/LI&gt;
&lt;LI&gt;
&lt;P&gt;The Hubspot panel does not show the latest property value correctly, waited for several minutes and nothing, done enough page refresh:&lt;BR /&gt;
&lt;IMG src="https://community.hubspot.com/legacyfs/online/uploads/default/original/2X/9/96ef6693f744b62a5bca75a67b0cf45af18076a7.gif" alt="step2-gif-hubspot-contact-ready-state-not-updated-after-minutes-wait-and-refresh" width="640" height="370" /&gt;&lt;/P&gt;
&lt;/LI&gt;
&lt;LI&gt;
&lt;P&gt;Copy the http request as cURL&lt;BR /&gt;
&lt;IMG src="https://community.hubspot.com/legacyfs/online/uploads/default/original/2X/1/1fb69b33d6a7b111a80ba12bd75144044ed82e76.gif" alt="step3-gif-copy-original-http-request-as-curl" width="640" height="370" /&gt;&lt;/P&gt;
&lt;/LI&gt;
&lt;LI&gt;
&lt;P&gt;Paste the cURL command to the terminal and ran resulting in the same status 200 response&lt;BR /&gt;
&lt;/P&gt;&lt;DIV class="lightbox-wrapper"&gt;&lt;A class="lightbox" href="https://community.hubspot.com/legacyfs/online/uploads/default/original/2X/1/1a4ce1ee2fcec3a477e3ad5a9d31531e14f884ec.gif" data-download-href="/legacyfs/online/uploads/default/1a4ce1ee2fcec3a477e3ad5a9d31531e14f884ec" title="step4-gif-paste-curl-request-to-terminal-result-status-200.gif" rel="nofollow noopener"&gt;&lt;IMG src="https://community.hubspot.com/legacyfs/online/uploads/default/optimized/2X/1/1a4ce1ee2fcec3a477e3ad5a9d31531e14f884ec_1_581x500.gif" alt="step4-gif-paste-curl-request-to-terminal-result-status-200" width="581" height="500" srcset="https://discourse-cdn-sjc1.com/hubspot/uploads/default/optimized/2X/1/1a4ce1ee2fcec3a477e3ad5a9d31531e14f884ec_1_581x500.gif, https://discourse-cdn-sjc1.com/hubspot/uploads/default/original/2X/1/1a4ce1ee2fcec3a477e3ad5a9d31531e14f884ec.gif 1.5x, https://discourse-cdn-sjc1.com/hubspot/uploads/default/original/2X/1/1a4ce1ee2fcec3a477e3ad5a9d31531e14f884ec.gif 2x" /&gt;&lt;DIV class="meta"&gt;
&lt;SPAN class="filename"&gt;step4-gif-paste-curl-request-to-terminal-result-status-200.gif&lt;/SPAN&gt;&lt;SPAN class="informations"&gt;640x550 2.48 MB&lt;/SPAN&gt;&lt;SPAN class="expand"&gt;&lt;/SPAN&gt;
&lt;/DIV&gt;&lt;/A&gt;&lt;/DIV&gt;&lt;P&gt;&lt;/P&gt;
&lt;/LI&gt;
&lt;LI&gt;
&lt;P&gt;The hubspot property value is displayed&lt;BR /&gt;
&lt;IMG src="https://community.hubspot.com/legacyfs/online/uploads/default/original/2X/3/306bc950adaa51ca3789f012240e6ddc8de5862f.gif" alt="step5-gif-paste-hubspot-finally-updates" width="640" height="498" /&gt;&lt;/P&gt;
&lt;/LI&gt;
&lt;/OL&gt;
&lt;P&gt;For now, I can just send the same request twice, but that doesn't seem a very proper way to deal with this situation.&lt;/P&gt;
&lt;P&gt;I'm going to have to double check everything on my side, but this seems to be a bug on hubspot side of things?&lt;/P&gt;</description>
      <pubDate>Fri, 30 Nov 2018 15:50:11 GMT</pubDate>
      <guid>https://community.hubspot.com/t5/APIs-Integrations/Hubspot-Contact-API-createOrUpdate-endpoint-not-reliable/m-p/221785#M681</guid>
      <dc:creator>punkbit</dc:creator>
      <dc:date>2018-11-30T15:50:11Z</dc:date>
    </item>
    <item>
      <title>Re: Hubspot Contact API createOrUpdate endpoint not reliable</title>
      <link>https://community.hubspot.com/t5/APIs-Integrations/Hubspot-Contact-API-createOrUpdate-endpoint-not-reliable/m-p/221786#M682</link>
      <description>&lt;P&gt;Just noticed in the history that there's middle process in the middle, a workflow.&lt;BR /&gt;
I'm not a Hubspot admin/user, just developing some requirements, so I have to report this to my colleague who created the workflow.&lt;/P&gt;
&lt;P&gt;&lt;/P&gt;&lt;DIV class="lightbox-wrapper"&gt;&lt;A class="lightbox" href="https://community.hubspot.com/legacyfs/online/uploads/default/original/2X/a/a8ba27a16e4a83af8cff103e0c9574c7907276ab.png" data-download-href="/legacyfs/online/uploads/default/a8ba27a16e4a83af8cff103e0c9574c7907276ab" title="Screen Shot 2018-11-30 at 15.51.53.png" rel="nofollow noopener"&gt;&lt;IMG src="https://community.hubspot.com/legacyfs/online/uploads/default/optimized/2X/a/a8ba27a16e4a83af8cff103e0c9574c7907276ab_1_690x285.png" alt="53" width="690" height="285" srcset="https://discourse-cdn-sjc1.com/hubspot/uploads/default/optimized/2X/a/a8ba27a16e4a83af8cff103e0c9574c7907276ab_1_690x285.png, https://discourse-cdn-sjc1.com/hubspot/uploads/default/optimized/2X/a/a8ba27a16e4a83af8cff103e0c9574c7907276ab_1_1035x427.png 1.5x, https://discourse-cdn-sjc1.com/hubspot/uploads/default/optimized/2X/a/a8ba27a16e4a83af8cff103e0c9574c7907276ab_1_1380x570.png 2x" /&gt;&lt;DIV class="meta"&gt;
&lt;SPAN class="filename"&gt;Screen Shot 2018-11-30 at 15.51.53.png&lt;/SPAN&gt;&lt;SPAN class="informations"&gt;1672x692 47.7 KB&lt;/SPAN&gt;&lt;SPAN class="expand"&gt;&lt;/SPAN&gt;
&lt;/DIV&gt;&lt;/A&gt;&lt;/DIV&gt;&lt;P&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 30 Nov 2018 15:53:45 GMT</pubDate>
      <guid>https://community.hubspot.com/t5/APIs-Integrations/Hubspot-Contact-API-createOrUpdate-endpoint-not-reliable/m-p/221786#M682</guid>
      <dc:creator>punkbit</dc:creator>
      <dc:date>2018-11-30T15:53:45Z</dc:date>
    </item>
  </channel>
</rss>

