APIs & Integrations

Not applicable

CRM Extension card not showing up

I’m trying to integrate the CRM extension API with my site. I have an ashx handler set up and is responding with JSON to test requests sent from Postman. I believe I am sending back all the required fields, but the extension isn’t working properly in the contact timeline. I just need to know if I’m not sending all the data I need to, if it isn’t formatted how it should be, or something else.


0 Upvotes
5 Replies 5
Dadams
HubSpot Employee
HubSpot Employee

CRM Extension card not showing up

Hi @batson

Have you checked the logging for your extension requests? If you view the settings for the app, then Monitoring > Extension Logging, you’ll see a log of requests made for your extension objects, including the fetch requests made to load the card, and you’ll get some extra details about the errors that might be happening with the fetch requests.

0 Upvotes
Not applicable

CRM Extension card not showing up

I’m getting a Response deserialization error

0 Upvotes
Not applicable

CRM Extension card not showing up

When I paste the request URI of one of the Deserialization errors into postman and send that, I get this JSON response:
(I have changed the primary action to be an action hook instead)

{

    "results":[
        {
            "objectID":3440951001,
            "title":"Report Cards",
            "actions":[
                {
                    "type":"ACTION_HOOK",
                    "httpMethod":"POST",
                    "uri":"http://sandbox-bls.constructiononline.com/post/EventReportCards.aspx?ACTION=REPORT_FROM_HUBSPOT",
                    "label":"Send Report Card"
                }
            ]
        }
    ]
}
0 Upvotes
Dadams
HubSpot Employee
HubSpot Employee

CRM Extension card not showing up

@batson this looks like a casing issue. You need to use objectId (lowercase d) instead of objectID for the results objects.

Not applicable

CRM Extension card not showing up

That seems to have fixed the issue. Thanks David!

0 Upvotes