<?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: Our api not getting hit by CRM card for data. in APIs &amp; Integrations</title>
    <link>https://community.hubspot.com/t5/APIs-Integrations/Our-api-not-getting-hit-by-CRM-card-for-data/m-p/420610#M41706</link>
    <description>&lt;P&gt;Awesome, did not notice the monitoring tab. Should look more closely next time. Thank you.&lt;/P&gt;</description>
    <pubDate>Mon, 22 Mar 2021 07:06:25 GMT</pubDate>
    <dc:creator>VT6</dc:creator>
    <dc:date>2021-03-22T07:06:25Z</dc:date>
    <item>
      <title>Our api not getting hit by CRM card for data.</title>
      <link>https://community.hubspot.com/t5/APIs-Integrations/Our-api-not-getting-hit-by-CRM-card-for-data/m-p/420214#M41659</link>
      <description>&lt;P&gt;Hi,&lt;BR /&gt;We have been trying to setup the CRM Card functionality that would just show a button to open some page.&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;On our GET api endpoint we are listening for the following query param&lt;/P&gt;&lt;PRE&gt;associatedObjectID&lt;BR /&gt;associatedObjectType&lt;BR /&gt;portalID&lt;BR /&gt;userEmail&lt;BR /&gt;userID&lt;BR /&gt;email&lt;/PRE&gt;&lt;P&gt;also we have configured email to be sent as part of the call:&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="VT6_0-1616155988171.png" style="width: 400px;"&gt;&lt;img src="https://community.hubspot.com/t5/image/serverpage/image-id/39674i504BA259A743AEC7/image-size/medium?v=v2&amp;amp;px=400" role="button" title="VT6_0-1616155988171.png" alt="VT6_0-1616155988171.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;When trying out our API manually (same url we put in here, with query params)&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="VT6_0-1616156436392.png" style="width: 400px;"&gt;&lt;img src="https://community.hubspot.com/t5/image/serverpage/image-id/39675iF80ABFE2B42C852A/image-size/medium?v=v2&amp;amp;px=400" role="button" title="VT6_0-1616156436392.png" alt="VT6_0-1616156436392.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;, we are currently returning a response similar to this one (We've also tried it with returning only the primary action) :&lt;/P&gt;&lt;PRE&gt;{&lt;BR /&gt;  &lt;SPAN&gt;"results"&lt;/SPAN&gt;&lt;SPAN&gt;:&lt;/SPAN&gt;[ {&lt;SPAN&gt;"objectId"&lt;/SPAN&gt;&lt;SPAN&gt;:&lt;/SPAN&gt;&lt;SPAN&gt;654231&lt;/SPAN&gt;&lt;SPAN&gt;,&lt;/SPAN&gt;&lt;SPAN&gt;"title"&lt;/SPAN&gt;&lt;SPAN&gt;:&lt;/SPAN&gt;&lt;SPAN&gt;"Mock hubspot card"&lt;/SPAN&gt;&lt;SPAN&gt;,&lt;/SPAN&gt;&lt;SPAN&gt;"link"&lt;/SPAN&gt;&lt;SPAN&gt;:&lt;/SPAN&gt;&lt;SPAN&gt;"https://example.com/page?email={emailFromCallback}"&lt;/SPAN&gt;} ]&lt;SPAN&gt;,&lt;BR /&gt;&lt;/SPAN&gt;  &lt;SPAN&gt;"primaryAction"&lt;/SPAN&gt;&lt;SPAN&gt;:&lt;/SPAN&gt;{&lt;SPAN&gt;"type"&lt;/SPAN&gt;&lt;SPAN&gt;:&lt;/SPAN&gt;&lt;SPAN&gt;"IFRAME"&lt;/SPAN&gt;&lt;SPAN&gt;,&lt;/SPAN&gt;&lt;SPAN&gt;"width"&lt;/SPAN&gt;&lt;SPAN&gt;:&lt;/SPAN&gt;&lt;SPAN&gt;890&lt;/SPAN&gt;&lt;SPAN&gt;,&lt;/SPAN&gt;&lt;SPAN&gt;"height"&lt;/SPAN&gt;&lt;SPAN&gt;:&lt;/SPAN&gt;&lt;SPAN&gt;748&lt;/SPAN&gt;&lt;SPAN&gt;,&lt;/SPAN&gt;&lt;SPAN&gt;"uri"&lt;/SPAN&gt;&lt;SPAN&gt;:&lt;/SPAN&gt;&lt;SPAN&gt;"https://example.com/page?email={emailFromCallback}"&lt;/SPAN&gt;&lt;SPAN&gt;,&lt;/SPAN&gt;&lt;SPAN&gt;"label"&lt;/SPAN&gt;&lt;SPAN&gt;:&lt;/SPAN&gt;&lt;SPAN&gt;"Have fun"&lt;/SPAN&gt;}&lt;BR /&gt;}&lt;/PRE&gt;&lt;P&gt;When checking logs for our api, it seems like hubspot is &lt;STRONG&gt;not calling the endpoint at all.&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;The card is present on contacts, but says:&lt;/P&gt;&lt;DIV class="UISection__ScrollWrapper-sc-15uz51t-0 fuLlPw is--module namespaced-hack-section m-bottom-8"&gt;There was a problem reaching [...]. Please refresh the page to try again or contact the app developer for support.&lt;/DIV&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Is there a way to check whats going on by ourselves ? Logs or errors or any help ? Or can you please provide some support to get this working ?&lt;/P&gt;</description>
      <pubDate>Fri, 19 Mar 2021 12:21:00 GMT</pubDate>
      <guid>https://community.hubspot.com/t5/APIs-Integrations/Our-api-not-getting-hit-by-CRM-card-for-data/m-p/420214#M41659</guid>
      <dc:creator>VT6</dc:creator>
      <dc:date>2021-03-19T12:21:00Z</dc:date>
    </item>
    <item>
      <title>Re: Our api not getting hit by CRM card for data.</title>
      <link>https://community.hubspot.com/t5/APIs-Integrations/Our-api-not-getting-hit-by-CRM-card-for-data/m-p/420423#M41686</link>
      <description>&lt;P&gt;&lt;a href="https://community.hubspot.com/t5/user/viewprofilepage/user-id/80390"&gt;@Sean_Matthews&lt;/a&gt; , how do you deal with this?&lt;/P&gt;</description>
      <pubDate>Fri, 19 Mar 2021 20:18:29 GMT</pubDate>
      <guid>https://community.hubspot.com/t5/APIs-Integrations/Our-api-not-getting-hit-by-CRM-card-for-data/m-p/420423#M41686</guid>
      <dc:creator>dennisedson</dc:creator>
      <dc:date>2021-03-19T20:18:29Z</dc:date>
    </item>
    <item>
      <title>Re: Our api not getting hit by CRM card for data.</title>
      <link>https://community.hubspot.com/t5/APIs-Integrations/Our-api-not-getting-hit-by-CRM-card-for-data/m-p/420433#M41692</link>
      <description>&lt;P&gt;Hey&amp;nbsp;&lt;a href="https://community.hubspot.com/t5/user/viewprofilepage/user-id/13982"&gt;@dennisedson&lt;/a&gt;&amp;nbsp;and&amp;nbsp;&lt;a href="https://community.hubspot.com/t5/user/viewprofilepage/user-id/175716"&gt;@VT6&lt;/a&gt;&amp;nbsp;take a look at the Monitoring Tab inside the HubSpot OAuth App settings...&amp;nbsp;&lt;A href="https://share.getcloudapp.com/o0uEr9n1" target="_blank"&gt;https://share.getcloudapp.com/o0uEr9n1&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;You should see the requests happening in there, and you can even copy and paste the URL of the request being made so you can inspect what's going on.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Definitely have been there before! Let me know if you need any more insights &lt;span class="lia-unicode-emoji" title=":thumbs_up:"&gt;👍&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 19 Mar 2021 20:50:03 GMT</pubDate>
      <guid>https://community.hubspot.com/t5/APIs-Integrations/Our-api-not-getting-hit-by-CRM-card-for-data/m-p/420433#M41692</guid>
      <dc:creator>Sean_Matthews</dc:creator>
      <dc:date>2021-03-19T20:50:03Z</dc:date>
    </item>
    <item>
      <title>Re: Our api not getting hit by CRM card for data.</title>
      <link>https://community.hubspot.com/t5/APIs-Integrations/Our-api-not-getting-hit-by-CRM-card-for-data/m-p/420610#M41706</link>
      <description>&lt;P&gt;Awesome, did not notice the monitoring tab. Should look more closely next time. Thank you.&lt;/P&gt;</description>
      <pubDate>Mon, 22 Mar 2021 07:06:25 GMT</pubDate>
      <guid>https://community.hubspot.com/t5/APIs-Integrations/Our-api-not-getting-hit-by-CRM-card-for-data/m-p/420610#M41706</guid>
      <dc:creator>VT6</dc:creator>
      <dc:date>2021-03-22T07:06:25Z</dc:date>
    </item>
  </channel>
</rss>

