# Sidecard Loading Error

**URL:** <https://community.hubspot.com/t/sidecard-loading-error/11656>\
**Category:** APIs & Integrations\
**Tags:** contacts\
**Created:** [September 28, 2018, 11:46pm UTC](https://community.hubspot.com/t/sidecard-loading-error/11656 "2018-09-28T23:46:23Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![system](https://d10pqhm3lwygmk.cloudfront.net/user_avatar/community.hubspot.com/system/32/124_2.png) [@system](https://community.hubspot.com/u/system)\
**Post date:** [September 28, 2018, 11:46pm UTC](https://community.hubspot.com/t/sidecard-loading-error/11656/1 "2018-09-28T23:46:23Z")

</div>

HI I’m trying to load data from my dataFetchURI for my custom side card.

My api current returns

> ```auto
> {
> "results": [
> {
> "objectId": "51",
> "title": "Last updated",
> "properties": [
> {
> "lastUpdated": "1536710400000"
> }
> ]
> }
> ]
> }
> 
> ```

For the endpoint:

[https://mysiteurl.com/contact?userId=6545462&userEmail=user@user.com&associatedObjectId=51&associatedObjectType=CONTACT&portalId=4929475&last\_updated\_from\_clearbit=1536710400000&email=bh@hubspot.com](https://mysiteurl.com/contact?userId=6545462&userEmail=user@user.com&associatedObjectId=51&associatedObjectType=CONTACT&portalId=4929475&last_updated_from_clearbit=1536710400000&email=bh@hubspot.com)

But for some reason I get the error  
Sorry, but there’s been an error loading the Side Card extension. Please try again or contact Support.

I’m trying to display some user data here pulled from another source. Is my response data formatted correctly? For the object type itself I created a custom object type

[

 ![](https://d2qpr2jzcazej7.cloudfront.net/original/3X/7/f/7fe418079be6f2f30c439f878b8507d98cb8934c.png)

Screen Shot 2018-09-19 at 3.46.06 PM.png869x533 24.2 KB

]([https://community.hubspot.com/legacyfs/online/uploads/default/original/2X/6/694a16e15d4476e7684501c5be80f77c75952552.png](https://community.hubspot.com/legacyfs/online/uploads/default/original/2X/6/694a16e15d4476e7684501c5be80f77c75952552.png))

---

<div class="post-metadata">

**Author:** ![IsaacTakushi](https://d10pqhm3lwygmk.cloudfront.net/user_avatar/community.hubspot.com/isaactakushi/32/70387_2.png) [@IsaacTakushi](https://community.hubspot.com/u/IsaacTakushi)\
**Post date:** [October 3, 2018, 7:20pm UTC](https://community.hubspot.com/t/sidecard-loading-error/11656/2 "2018-10-03T19:20:16Z")

</div>

Hi [@matthew](https://community.hubspot.com/u/matthew),

This may be due to a slight formatting issue. I see that your endpoint returns `objectId` as a string instead of a number. The [CRM Extensions API](https://developers.hubspot.com/docs/methods/crm-extensions/crm-extensions-overview) documentation and [this similar topic](https://integrate.hubspot.com/t/crm-extension-card-not-showing-up/4244) indicate that `51` should be returned instead of `"51"`.

---

<div class="post-metadata">

**Author:** ![IsaacTakushi](https://d10pqhm3lwygmk.cloudfront.net/user_avatar/community.hubspot.com/isaactakushi/32/70387_2.png) [@IsaacTakushi](https://community.hubspot.com/u/IsaacTakushi)\
**Post date:** [October 5, 2018, 2:58pm UTC](https://community.hubspot.com/t/sidecard-loading-error/11656/3 "2018-10-05T14:58:40Z")

</div>

Hi [@matthew](https://community.hubspot.com/u/matthew),

Also, the `properties` array is an optional list of custom properties which does _not_ support key-value pairs. Instead, it requires the format:

```auto
{
 "label": "Last updated",
 "dataType": "DATETIME",
 "value": "1536710400000"
}

```

Instead of placing the `lastUpdated` property in the `properties` array, I recommend defining it on the [object type](https://developers.hubspot.com/docs/methods/crm-extensions/crm-extensions-overview). For example:

```auto
{
 "results": [
 {
 "objectId": 51,
 "title": "Last updated",
 "lastUpdated": "1536710400000"
 }
 ]
}

```
