Hello everyone,
When i create new product properties with API v3 have FieldType is
html
then i got the error
{
status: 'error',
message: 'Invalid input JSON on line 1, column 55: Cannot deserialize value of type `com.hubspot.crmpublic.core.models.schemas.properties.FieldType` from String "html": not one of the values accepted for Enum class: [calculation_equation, checkbox, number, textarea, booleancheckbox, file, text, date, radio, select]',
correlationId: 'dbbada0b-ae15-4fa3-a436-9615f0577707'
}
Here is my request
POST /crm/v3/properties/product
{
label: 'My Custom HTML',
type: 'string',
fieldType: "html",
description: 'Content of product',
groupName: 'productinformation',
options: [],
displayOrder: -1,
hasUniqueValue: false,
hidden: false,
formField: false
}
Can someone give me a suggest on my problem, am I doing something wrong? or is hubspot forgetting to add the
html
to their validation Field Type?
Thanks,