APIs & Integrations

VEspo
Stratege/Strategin

CRM Extensions Will not load

lösung

I created a CRM Card called "Club History"  and on the CRM side it's showing "There was a problem reaching Club History. Please refresh the page to try again or contact the app developer for support."

 

When I look under the Monitoring tab it just shows a parse error -- for which I can't figure out.

 

Extension Card Type:  Club History (214642)
Target CRM object:   Contact (571834)
 
My  card properties are as follows:

club_name (string)
status (string)
is_home_club (string)
status_date (date)

 

And when I paste in the request URL from the Monitoring tab -- I get this back ... for which I see NO parsing errors.  Please advise.

 

{
"results":[
{
"club_name":"GCSANE",
"status":"Active",
"status_date":"1991-06-03",
"is_home_club":"N"
},
{
"club_name":"Primm Valley Golf Club",
"status":"Active",
"status_date":"",
"is_home_club":"N"
},
{
"club_name":"TPC of Boston",
"status":"Active",
"status_date":"2021-09-11",
"is_home_club":"Y"
},
{
"club_name":"The Cape Club of Sharon",
"status":"Active",
"status_date":"2016-04-08",
"is_home_club":"N"
},
{
"club_name":"Walpole Country Club",
"status":"Inactive",
"status_date":"2016-04-09",
"is_home_club":"N"
},
{
"club_name":"Youth on Course/Mass Golf",
"status":"Inactive",
"status_date":"2020-01-09",
"is_home_club":"N"
}
]
}

 


 

0 Upvotes
1 Akzeptierte Lösung
VEspo
Lösung
Stratege/Strategin

CRM Extensions Will not load

lösung

Figured it out … I had to change objectID to objectId

Lösung in ursprünglichem Beitrag anzeigen

4 Antworten
VEspo
Lösung
Stratege/Strategin

CRM Extensions Will not load

lösung

Figured it out … I had to change objectID to objectId

VEspo
Stratege/Strategin

CRM Extensions Will not load

lösung

@dennisedson

I thought I didn't need to do that if I have them set up in the app?

Capture.PNG

 

 

0 Upvotes
VEspo
Stratege/Strategin

CRM Extensions Will not load

lösung

OK - figured out I was missing the objectID and title properties, so I added those, as well as a record count, and removed the "club_name" property from my CRM card ... but still getting the parse error.  My response definitely passes JSON validation, so please let me know what I've got wrong.

 

{
"results":[
{
"objectID": 6443540,
"title": "Bayberry Hills / Bass River",
"status": "Active",
"is_home_club": "Y",
"status_date": "2021-09-28"
}
],
"totalCount": 1
}

 

 

0 Upvotes
dennisedson
HubSpot-Produktteam
HubSpot-Produktteam

CRM Extensions Will not load

lösung

@VEspo 

Have you looked at putting the properties into an array? 

Example:

"properties": [
                {
                    "label": "club name",
                    "dataType": "STRING",
                    "value": "ijones@hubspot.com"
                },
                {
                    "label": "is home club",
                    "dataType": "STRING",
                    "value": "Referred to documentation"
                },
                {
                    "label": "Status Date",
                    "dataType": "DATE",
                    "value": "2016-10-01"
                }
            ]
0 Upvotes