what happens when a property is invalid during API contact update?

SOLVE
Regular Contributor

if I'm using the API to update contacts, what happens if one of the properties is invalid. will the other feilds still get updated or is this a failed transaction?

Reply
0 Upvotes
1 Accepted solution

Accepted Solutions
HubSpot Moderator

Hi, @mclayton.

 

If you attempt to use a Contacts API endpoint like this or this to update a contact with an invalid property value, the request will trigger a 400 error and no fields will be updated.

Isaac Takushi

HubSpot Developer Support
Reply
0 Upvotes
1 Reply 1
HubSpot Moderator

Hi, @mclayton.

 

If you attempt to use a Contacts API endpoint like this or this to update a contact with an invalid property value, the request will trigger a 400 error and no fields will be updated.

Isaac Takushi

HubSpot Developer Support
Reply
0 Upvotes