Mar 19, 2021 8:21 AM
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
also we have configured email to be sent as part of the call:
When trying out our API manually (same url we put in here, with query params)
, 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:
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 ?
Solved! Go to Solution.
Mar 19, 2021 4:50 PM
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 👍
Mar 19, 2021 4:18 PM
@Sean_Matthews , how do you deal with this?
Mar 19, 2021 4:50 PM
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 👍
Mar 22, 2021 3:06 AM
Awesome, did not notice the monitoring tab. Should look more closely next time. Thank you.