• Got questions about HubSpot’s Smart CRM?

    Our product team is answering them live through March 6th!

    Ask us anything
  • Ready to build your local HubSpot community?

    HUG leaders host events, spark connections, and create spaces where people learn and grow together.

    Become a HUG Leader

Our api not getting hit by CRM card for data.

VT6
Participant

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 Accepted solution
Sean_Matthews
Solution
Participant

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 👍

View solution in original post

3 Replies 3
dennisedson
Community Manager
Community Manager

@Sean_Matthews , how do you deal with this?


loop Loop Marketing is a new four-stage approach that combines AI efficiency and human authenticity to drive growth.
Learn More

0 Upvotes
Sean_Matthews
Solution
Participant

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
Participant

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