Can not create properties with FieldType "html" for product

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,

Hi, @thaonguyen7 :waving_hand: Thanks for the great question. I get the same result when making a similar test.

Request

Response

Here’s what is interesting, it is flagging us for using a field-type—Enumeration and not a field-type—String error.

String \"html\": not one of the values accepted for Enum class: [calculation_equation, checkbox, number, textarea, booleancheckbox, file, text, date, radio, select]",

I also tried using several objectType options to see if it made a difference, but sadly, it did not — Contact, Deal, etc.

I am going to do more research for us and follow up here.

Best,

Jaycee

Same here, still an issue.
Is a fix coming any soon?