APIs & Integrations

VT6
参加者

Our api not getting hit by CRM card for data.

解決

Hi,
We have been trying to setup the CRM Card functionality that would just show a button to open some page.


On our GET api endpoint we are listening for the following query param

associatedObjectID
associatedObjectType
portalID
userEmail
userID
email

also we have configured email to be sent as part of the call:

VT6_0-1616155988171.png

 

When trying out our API manually (same url we put in here, with query params)

VT6_0-1616156436392.png

, we are currently returning a response similar to this one (We've also tried it with returning only the primary action) :

{
"results":[ {"objectId":654231,"title":"Mock hubspot card","link":"https://example.com/page?email={emailFromCallback}"} ],
"primaryAction":{"type":"IFRAME","width":890,"height":748,"uri":"https://example.com/page?email={emailFromCallback}","label":"Have fun"}
}

When checking logs for our api, it seems like hubspot is not calling the endpoint at all.


The card is present on contacts, but says:

There was a problem reaching [...]. Please refresh the page to try again or contact the app developer for support.

 

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 ?

1件の承認済みベストアンサー
Sean_Matthews
解決策
参加者

Our api not getting hit by CRM card for data.

解決

Hey @dennisedson and @VT6 take a look at the Monitoring Tab inside the HubSpot OAuth App settings... https://share.getcloudapp.com/o0uEr9n1

 

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.

 

Definitely have been there before! Let me know if you need any more insights 👍

元の投稿で解決策を見る

3件の返信
dennisedson
HubSpot製品開発チーム
HubSpot製品開発チーム

Our api not getting hit by CRM card for data.

解決

@Sean_Matthews , how do you deal with this?

0 いいね!
Sean_Matthews
解決策
参加者

Our api not getting hit by CRM card for data.

解決

Hey @dennisedson and @VT6 take a look at the Monitoring Tab inside the HubSpot OAuth App settings... https://share.getcloudapp.com/o0uEr9n1

 

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.

 

Definitely have been there before! Let me know if you need any more insights 👍

VT6
参加者

Our api not getting hit by CRM card for data.

解決

Awesome, did not notice the monitoring tab. Should look more closely next time. Thank you.