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:
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
{
"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.
