# calculation\_equation Field Type not valid for POST/PATCH

**URL:** <https://community.hubspot.com/t/calculation-equation-field-type-not-valid-for-post-patch/40219>\
**Category:** APIs & Integrations\
**Created:** [July 2, 2021, 3:58pm UTC](https://community.hubspot.com/t/calculation-equation-field-type-not-valid-for-post-patch/40219 "2021-07-02T15:58:43Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![DEsposito](https://d10pqhm3lwygmk.cloudfront.net/user_avatar/community.hubspot.com/desposito/32/28756_2.png) [@DEsposito](https://community.hubspot.com/u/DEsposito)\
**Post date:** [July 2, 2021, 3:58pm UTC](https://community.hubspot.com/t/calculation-equation-field-type-not-valid-for-post-patch/40219/1 "2021-07-02T15:58:43Z")

</div>

We have run into a problem while integrating the Hubspot custom objects API into our app. When a property for a custom object is created through the Hubspot UI with the field type calculation\_equation, we don’t receive any errors. However, when we try to make a property with this field type through the API endpoint, or if we try to update a property with this field type through a PATCH, we get an error saying the field type calculation\_equation could not be used.

Is this a bug? Or are we doing something wrong?

---

<div class="post-metadata">

**Author:** ![dennisedson](https://d10pqhm3lwygmk.cloudfront.net/user_avatar/community.hubspot.com/dennisedson/32/28044_2.png) [@dennisedson](https://community.hubspot.com/u/dennisedson)\
**Post date:** [July 2, 2021, 9:06pm UTC](https://community.hubspot.com/t/calculation-equation-field-type-not-valid-for-post-patch/40219/2 "2021-07-02T21:06:54Z")

</div>

@DEsposito

Currently, these field types are not available to be set via the API

---

<div class="post-metadata">

**Author:** ![DEsposito](https://d10pqhm3lwygmk.cloudfront.net/user_avatar/community.hubspot.com/desposito/32/28756_2.png) [@DEsposito](https://community.hubspot.com/u/DEsposito)\
**Post date:** [July 2, 2021, 9:29pm UTC](https://community.hubspot.com/t/calculation-equation-field-type-not-valid-for-post-patch/40219/3 "2021-07-02T21:29:03Z")

</div>

Hi Dennis,

Thank you for the quick response! Enjoy your break 🙂

---

<div class="post-metadata">

**Author:** ![Ivanjlares](https://d10pqhm3lwygmk.cloudfront.net/user_avatar/community.hubspot.com/ivanjlares/32/102437_2.png) [@Ivanjlares](https://community.hubspot.com/u/Ivanjlares)\
**Post date:** [February 22, 2022, 8:28pm UTC](https://community.hubspot.com/t/calculation-equation-field-type-not-valid-for-post-patch/40219/4 "2022-02-22T20:28:08Z")

</div>

Ohh wow. Is this the case for all object types? Contacts, Deals, Etc.  
Or is it just a custom object that has this limitation?
