Aug 29, 2022 4:35 AM - edited Aug 29, 2022 4:38 AM
Hello, I need help.
When trying to create a property of type "HubSpotuser", buy occur the errors “has no options but options are required!”
My goal is to create a new property by copying the existing property. However, if you inquire, the field type responds with a select type.
Can't I create properties of HubSpotuser field type through API?
Existing deal properties on hubspot
{
...
"name": "account_manager",
"label": "Account Manager*",
"type": "enumeration",
"fieldType": "select",
"description": "",
"groupName": "[hubspot2.0]_deals_quote_request_required",
"options": [],
"calculated": false,
"externalOptions": true,
"archived": false,
"hasUniqueValue": false,
"hidden": false,
"showCurrencySymbol": false,
"modificationMetadata": {
"archivable": true,
"readOnlyDefinition": false,
"readOnlyValue": false
},
"formField": false
},
{ "name": "account_manager2", "label": "Account Manager*2", "groupName": "[hubspot2.0]_deals_quote_request_required", "type": "enumeration", "fieldType": "select" }
{ "status": "error", "message": "Property 'account_manager2' has no options but options are required!", "propertiesErrorCode": "PROPERTY_INVALID" }
Aug 31, 2022 11:36 AM
Hi, @BKang6, thanks for reaching out. To confirm, this field-type can only be created in-app. I reviewed the dev documentation and did not find a mention of this being achievable via the API at this time. Thanks for the great question!
Best,
Jaycee