Skip to content

[FEATURE] Hubspot - Update validation logic to comply with breaking change #14856

@malexanderlim

Description

@malexanderlim

As of April 7th, 2025, Hubspot will be enforcing validation rules on non-string property values - any values with leading or trailing spaces used to be accepted, but will result in a 400 in the future.

We should update our logic to trim the whitespace on either end before sending non-string property values to conform to their validation rules, and to ensure that users don't start hitting these errors as soon as this rule is live.

https://developers.hubspot.com/changelog/breaking-change-enhanced-validations-for-non-string-properties-in-hubspots-crmobject-apis?utm_campaign=App%20Partner%20Comms%202024&utm_medium=email&utm_content=337045292&utm_source=hs_email

Metadata

Metadata

Assignees

Labels

enhancementNew feature or request

Type

No type

Projects

Status

Done

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions