# Error accessing custom contact properties through API

**URL:** <https://community.hubspot.com/t/error-accessing-custom-contact-properties-through-api/136511>\
**Category:** APIs & Integrations\
**Tags:** developer-tools\
**Created:** [July 18, 2025, 9:20pm UTC](https://community.hubspot.com/t/error-accessing-custom-contact-properties-through-api/136511 "2025-07-18T21:20:41Z")\
**Posts on this page:** 1\
**Showing post:** 3

<div class="post-metadata">

**Author:** ![seanrichter](https://avatars.discourse-cdn.com/v4/letter/s/919ad9/32.png) [@seanrichter](https://community.hubspot.com/u/seanrichter)\
**Post date:** [July 18, 2025, 9:38pm UTC](https://community.hubspot.com/t/error-accessing-custom-contact-properties-through-api/136511/3 "2025-07-18T21:38:30Z")

</div>

const contact = await hubspotClient.crm.contacts.basicApi.getById(  
id,  
undefined,  
undefined,  
[  
‘clients\_invited’,  
],  
true  
);

---

_[View the full topic](https://community.hubspot.com/t/error-accessing-custom-contact-properties-through-api/136511)._
