# Error creating calculation property with Properties API

**URL:** <https://community.hubspot.com/t/error-creating-calculation-property-with-properties-api/73442>\
**Category:** APIs & Integrations\
**Tags:** developer-tools\
**Created:** [January 21, 2023, 12:47am UTC](https://community.hubspot.com/t/error-creating-calculation-property-with-properties-api/73442 "2023-01-21T00:47:42Z")\
**Posts on this page:** 1\
**Showing post:** 3

<div class="post-metadata">

**Author:** ![PD](https://avatars.discourse-cdn.com/v4/letter/p/82dd89/32.png) [@PD](https://community.hubspot.com/u/PD)\
**Post date:** [January 23, 2023, 10:04pm UTC](https://community.hubspot.com/t/error-creating-calculation-property-with-properties-api/73442/3 "2023-01-23T22:04:44Z")

</div>

The properties I’m referencing in the calculation formula are not calculation properties themselves. They’re number properties. In my example, quantity and price are each number properties.

Screenshot of my creating a calculation property in the Hubspot Portal:

 ![calc_prop_from_app.png](https://d2qpr2jzcazej7.cloudfront.net/original/3X/d/b/db5563f8eac36461790dfcf51e743be41da49731.png)

For clarification, when I said “_I even tried to create a calculated property that was identical to an existing calculated property but just with a different name. I got the same error_” what I meant was:  
1) I created the calculated property, calc\_prop\_from\_app, in the HubSpot Portal (see screenshot above)

2) I used the “Read a property” endpoint of Properties API (

**GET** /crm/v3/properties/{objectType}/{propertyName}) to get the property specification as JSON.

3) I used the JSON specification from step 2 as the request body to the “Create a Property” endpoint of the Properties API ( **POST** /crm/v3/properties/{objectType}) ), except I changed the name from “calc\_prop\_from\_app” to “calc\_prop\_from\_api”

4) The attempt to create the property via the API failed with the error

```auto
{
 "status": "error",
 "message": "There was a problem with the request.",
 "correlationId": "179e982a-fdcf-4714-9b27-b52203a34ea6"
}

```

I supposed that if I used the same JSON that I got from the Properties API to create a new property then the new property would be identical to the old one.

---

_[View the full topic](https://community.hubspot.com/t/error-creating-calculation-property-with-properties-api/73442)._
