Hi,
We have a call to create a property on a Company object, this works has worked on many portals we have setup however on a newly created one we are getting back an error not seen before. We have checked on other portals and this error doesn’t occur.
POST https://api.hubapi.com/properties/v1/companies/properties
json:
{
“name” : “international_framework”,
“options” : [
{
“value” : “”,
“label” : “Default / Inherited”
},
{
“label” : “Standard”,
“value” : “0”
},
{
“label” : “Gold”,
“value” : “1”
},
{
“label” : “Test”,
“value” : “2”
},
{
“value” : “3”,
“label” : “RETAIL”
}
],
“fieldType” : “select”,
“groupName” : “courier_navigator”,
“label” : “International Framework”,
“type” : “enumeration”,
“displayName” : “International Framework”
}
The response states:
‘145813211/0-2/international_framework’ cannot have options with blank values",
category":“VALIDATION_ERROR”,“subCategory”:“PropertyValidationError.OPTION_HAS_BLANK_VALUE”}
The error is clear but we have a requirement for the enumerate to include a blank / null value (tried both) there’s nothing to say that this can’t be done anymore and the fact we have used it many times on other portals is confusing. Other properties types dates, select and strings have worked its just those the blank value that fail. Is there an setting required to enable this behaviour?
Thanks
