How can I set to "true" a multi checkbox field in Hubspot via the clay integration?
For HubSpot multi-checkbox fields, you must use exact values from the allowed options list. [1]
Based on your error, the field only accepts: "Trucking", "Aviation", "General Auto Accidents", "Birth Injury", or "Nursing Home". You cannot use "None identified".
In your JSON body, format boolean values as true (not "true" in quotes) and use one of the valid options: [2]
{
"field_name": "Trucking"
}Could you copy and paste your current JSON so I can help troubleshoot the exact formatting?
If you still need help with setting the multi-checkbox field in HubSpot via our integration, I’m here to assist. Would you like to share your current JSON so we can troubleshoot the formatting together?
"Trucking", "Aviation", "General Auto Accidents"
For HubSpot multi-checkbox fields with multiple values, format them as an array in your JSON:
{
"field_name": ["Trucking", "Aviation", "General Auto Accidents"]
}Use square brackets to wrap the values and separate each option with commas. [1]
Could you copy and paste your current JSON so I can help troubleshoot the exact formatting?
Property values were not valid: [{"isValid":false,"message":"["Trucking", "Aviation", "General Auto Accidents"] was not one of the allowed options: [Trucking, Aviation, General Auto Accidents, Birth Injury, Nursing Home Abuse/Neglect, Asbestos, Toxic Tort/Environmental Injury, Food Safety, Workplace Accidents, Social Security Disability, Mass Disaster, Consumer Class Actions, Securities Class Actions, Privacy/Tech Class Actions, Wildfire Litigation, Mass Tort, Catastrophic Injury, Wrongful Death, Sexual Assault, Civil Rights, Employment, ERISA, Antitrust, Securities, Human Rights, Maritime, Environmental, Construction, Consumer Protection]","error":"INVALID_OPTION","name":"firm_specialty","localizedErrorMessage":"["Trucking", "Aviation", "General Auto Accidents"] was not one of the allowed options: [Trucking, Aviation, General Auto Accidents, Birth Injury, Nursing Home Abuse/Neglect, Asbestos, Toxic Tort/Environmental Injury, Food Safety, Workplace Accidents, Social Security Disability, Mass Disaster, Consumer Class Actions, Securities Class Actions, Privacy/Tech Class Actions, Wildfire Litigation, Mass Tort, Catastrophic Injury, Wrongful Death, Sexual Assault, Civil Rights, Employment, ERISA, Antitrust, Securities, Human Rights, Maritime, Environmental, Construction, Consumer Protection]","propertyValue":"["Trucking", "Aviation", "General Auto Accidents"]","portalId":242471864}]
The issue is that HubSpot is receiving your array as a string instead of individual values. For multi-checkbox fields, don't wrap the values in an array - send each value separately.
Instead of:
{
"firm_specialty": ["Trucking", "Aviation", "General Auto Accidents"]
}Try this format:
{
"firm_specialty": "Trucking;Aviation;General Auto Accidents"
}Or send them as separate API calls for each value. The error shows HubSpot is treating your entire array as one invalid option rather than processing the individual values. [1]
Could you copy and paste your current JSON body so I can help troubleshoot the exact formatting?
Property values were not valid: [{"isValid":false,"message":"{ "firm_specialty": "Trucking was not one of the allowed options: [Trucking, Aviation, General Auto Accidents, Birth Injury, Nursing Home Abuse/Neglect, Asbestos, Toxic Tort/Environmental Injury, Food Safety, Workplace Accidents, Social Security Disability, Mass Disaster, Consumer Class Actions, Securities Class Actions, Privacy/Tech Class Actions, Wildfire Litigation, Mass Tort, Catastrophic Injury, Wrongful Death, Sexual Assault, Civil Rights, Employment, ERISA, Antitrust, Securities, Human Rights, Maritime, Environmental, Construction, Consumer Protection]","error":"INVALID_OPTION","name":"firm_specialty","localizedErrorMessage":"{ "firm_specialty": "Trucking was not one of the allowed options: [Trucking, Aviation, General Auto Accidents, Birth Injury, Nursing Home Abuse/Neglect, Asbestos, Toxic Tort/Environmental Injury, Food Safety, Workplace Accidents, Social Security Disability, Mass Disaster, Consumer Class Actions, Securities Class Actions, Privacy/Tech Class Actions, Wildfire Litigation, Mass Tort, Catastrophic Injury, Wrongful Death, Sexual Assault, Civil Rights, Employment, ERISA, Antitrust, Securities, Human Rights, Maritime, Environmental, Construction, Consumer Protection]","propertyValue":"{ "firm_specialty": "Trucking;Aviation;General Auto Accidents" }","portalId":242471864}]
Your JSON has a syntax error - there's a missing closing quote after "Trucking". The error shows "{ "firm_specialty": "Trucking instead of proper JSON format.
Fix your JSON to:
{
"firm_specialty": "Trucking;Aviation;General Auto Accidents"
}Ensure all strings are properly enclosed in double quotes and check for missing commas or brackets.
Is that clear for fixing your JSON?
Property values were not valid: [{"isValid":false,"message":"{\n "firm_specialty": "Trucking [{\u000A "firm_specialty": "Trucking] was not one of the allowed options: [Trucking, Aviation, General Auto Accidents, Birth Injury, Nursing Home Abuse/Neglect, Asbestos, Toxic Tort/Environmental Injury, Food Safety, Workplace Accidents, Social Security Disability, Mass Disaster, Consumer Class Actions, Securities Class Actions, Privacy/Tech Class Actions, Wildfire Litigation, Mass Tort, Catastrophic Injury, Wrongful Death, Sexual Assault, Civil Rights, Employment, ERISA, Antitrust, Securities, Human Rights, Maritime, Environmental, Construction, Consumer Protection]","error":"INVALID_OPTION","name":"firm_specialty","localizedErrorMessage":"{\n "firm_specialty": "Trucking [{\u000A "firm_specialty": "Trucking] was not one of the allowed options: [Trucking, Aviation, General Auto Accidents, Birth Injury, Nursing Home Abuse/Neglect, Asbestos, Toxic Tort/Environmental Injury, Food Safety, Workplace Accidents, Social Security Disability, Mass Disaster, Consumer Class Actions, Securities Class Actions, Privacy/Tech Class Actions, Wildfire Litigation, Mass Tort, Catastrophic Injury, Wrongful Death, Sexual Assault, Civil Rights, Employment, ERISA, Antitrust, Securities, Human Rights, Maritime, Environmental, Construction, Consumer Protection]","propertyValue":"{\n "firm_specialty": "Trucking;Aviation;General Auto Accidents"\n}","portalId":242471864}]
Your JSON has malformed syntax. The error shows corrupted formatting with extra brackets and line breaks.
Use this clean format:
{
"firm_specialty": "Trucking;Aviation;General Auto Accidents"
}Is that clear now?
If you still need help resolving the JSON formatting issue for your HubSpot multi-checkbox field, I’m here to assist. Would you like to share your current JSON so we can troubleshoot it together?
