# Error with primary display property while creating new custom object with the API tool

**URL:** <https://community.hubspot.com/t/error-with-primary-display-property-while-creating-new-custom-object-with-the-api-tool/49659>\
**Category:** APIs & Integrations\
**Tags:** developer-tools\
**Created:** [January 12, 2022, 4:25pm UTC](https://community.hubspot.com/t/error-with-primary-display-property-while-creating-new-custom-object-with-the-api-tool/49659 "2022-01-12T16:25:24Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![JBrillinger](https://avatars.discourse-cdn.com/v4/letter/j/848f3c/32.png) [@JBrillinger](https://community.hubspot.com/u/JBrillinger)\
**Post date:** [January 12, 2022, 4:25pm UTC](https://community.hubspot.com/t/error-with-primary-display-property-while-creating-new-custom-object-with-the-api-tool/49659/1 "2022-01-12T16:25:24Z")

</div>

I’m using the Object Definition tab/tool in the [developers.hubspot.com](http://developers.hubspot.com) api docs.  
I am using the create new schema section to create my code.  
I’ve completed all sections and there is no section to enter the primary display property. Of course when I call, the error response is invalid primary display property.  
I’m not able to edit it directly in the Request code window either. There I see it set as: “primaryDisplayProperty”: “my\_object\_property”,

Is something wrong with the Object Definition tool?  
Or what do I need to do to get it to give me the option to edit the primary display property?

---

<div class="post-metadata">

**Author:** ![JBrillinger](https://avatars.discourse-cdn.com/v4/letter/j/848f3c/32.png) [@JBrillinger](https://community.hubspot.com/u/JBrillinger)\
**Post date:** [January 12, 2022, 5:08pm UTC](https://community.hubspot.com/t/error-with-primary-display-property-while-creating-new-custom-object-with-the-api-tool/49659/2 "2022-01-12T17:08:39Z")

</div>

I have just discovered the ‘See all params’ button.  
That did it!

Solved my own first issue 🙂
