CRM CARD RESPONSE_DESERIALIZATION_ERROR

Hi there!

I’m trying to show some data from my external application in a CRM card on contact level. HubSpot retrieves my response, but can’t parse it for some reason.

I have the following error:

The following image is my response:


I’ve also tried:

"link": null,

And:

"link": "null",

And even removing link completely.

Does anyone know what the problem might be? If you need more information let me know!

NOTE: I’m using a plugin that adds style to the JSON when viewing it, that’s why it looks like that. I’ve also ran it though jsonlint.com, there should be nothing wrong with the format.

Ok so I found the solution myself
16x16_smiley-tongue.png.png

It was because my objectId and link must’ve been:

"objectId": integer,"link": null,