APIs & Integrations

mclayton
Participant

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

Résolue

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?

0 Votes
1 Solution acceptée
IsaacTakushi
Solution
HubSpot Employee
HubSpot Employee

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

Résolue

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

Associate Certification Manager

Voir la solution dans l'envoi d'origine

0 Votes
1 Réponse
IsaacTakushi
Solution
HubSpot Employee
HubSpot Employee

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

Résolue

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

Associate Certification Manager
0 Votes