# Properties missing from custom object

**URL:** <https://community.hubspot.com/t/properties-missing-from-custom-object/65636>\
**Category:** APIs & Integrations\
**Tags:** object\
**Created:** [September 22, 2022, 10:56am UTC](https://community.hubspot.com/t/properties-missing-from-custom-object/65636 "2022-09-22T10:56:31Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![jonn-rebil](https://avatars.discourse-cdn.com/v4/letter/j/6de8d8/32.png) [@jonn-rebil](https://community.hubspot.com/u/jonn-rebil)\
**Post date:** [September 22, 2022, 10:56am UTC](https://community.hubspot.com/t/properties-missing-from-custom-object/65636/1 "2022-09-22T10:56:31Z")

</div>

Hello. I am trying to get the properties for a custom object, and I can’t find anything when using the hubspot client. I’m guessing there’s something I’ve missed, but I can’t find any documentation that is helpful.

With the following code:

```lia-code-sample
const associations = await client.crm.deals.associationsApi.getAll(
 dealId,
 'car',
);
const [id] = associations.results.map((item) => item.id);
const car = await client.crm.objects.basicApi.getById('car', id, ['Modell']);
console.log(car);

```

I am seeing the following output:

```lia-code-sample
SimplePublicObjectWithAssociations {
 id: '416093891',
 properties: {
 hs_createdate: '2022-09-20T09:08:02.811Z',
 hs_lastmodifieddate: '2022-09-20T09:39:03.827Z',
 hs_object_id: '416093891'
 },
 createdAt: 2022-09-20T09:08:02.811Z,
 updatedAt: 2022-09-20T09:39:03.827Z,
 archived: false
}

```

There should be a massive amount of properties on this object, but I can only see the three standard hs properties. Where’s the rest of them? How do I fetch all of them? I’ll attach a screenshot of the custom object from my sandbox.

 ![Screenshot 2022-09-22 at 12.55.10.png](https://d2qpr2jzcazej7.cloudfront.net/original/3X/d/3/d32eebc39b1fa728fe5c629344d0a065f692d9ac.png)

---

<div class="post-metadata">

**Author:** ![LeeBartelme](https://d10pqhm3lwygmk.cloudfront.net/user_avatar/community.hubspot.com/leebartelme/32/95647_2.png) [@LeeBartelme](https://community.hubspot.com/u/LeeBartelme)\
**Post date:** [September 22, 2022, 1:50pm UTC](https://community.hubspot.com/t/properties-missing-from-custom-object/65636/2 "2022-09-22T13:50:41Z")

</div>

You have to [specify the properties](https://github.com/HubSpot/hubspot-api-nodejs/blob/master/codegen/crm/objects/apis/BasicApi.ts#:~:text=string%2C%20objectId%3A%20string%2C-,properties%3F%3A%20array%3Cstring%3E,-%2C%20propertiesWithHistory%3F%3A%20Array%3Cstring) you want returned. Per your code, if ‘Modell’ is the underlying field name you should be getting that back. (Those may be case sensistive and since you have a capital M and it’s not there I suspect it is.)  
Either way, your array of field property names needs to include all the properties you want back from the API. You can’t use the display name either, you need to use the underlying property name which can be seen when you edit the property in your object settings by clicking the \</\> icon.

`const car = await client.crm.objects.basicApi.getById('car', id, ['modell','field_b','field_c','field_d']);`

---

<div class="post-metadata">

**Author:** ![jonn-rebil](https://avatars.discourse-cdn.com/v4/letter/j/6de8d8/32.png) [@jonn-rebil](https://community.hubspot.com/u/jonn-rebil)\
**Post date:** [September 22, 2022, 1:59pm UTC](https://community.hubspot.com/t/properties-missing-from-custom-object/65636/3 "2022-09-22T13:59:18Z")

</div>

Is there a way to get wildcard? All properties on an object?

Where do I check my property names for the custom object?

---

<div class="post-metadata">

**Author:** ![LeeBartelme](https://d10pqhm3lwygmk.cloudfront.net/user_avatar/community.hubspot.com/leebartelme/32/95647_2.png) [@LeeBartelme](https://community.hubspot.com/u/LeeBartelme)\
**Post date:** [September 22, 2022, 2:00pm UTC](https://community.hubspot.com/t/properties-missing-from-custom-object/65636/4 "2022-09-22T14:00:40Z")

</div>

Here is a link to the [KB article](https://knowledge.hubspot.com/crm-setup/manage-your-properties#:~:text=Internal%20name%3A%20click,property%20is%20name.) that talks about where to find the internal name. I don’t think there is a “get all” type thing.
