I am doing a mass update of all my companies contacts using HTTP requests. I've written a program to GET 100 contacts, update their properties, and then POST those 100 contacts. I do this 100 contacts at a time for all 100,000+ contacts we have. For every post I get a 202 accepted status, but when I check HubSpot the properties are not updated.
I know the properties are correctly updating because I wrote all the contacts to a CSV and all the properties were as expected. A good example of this is the "Country" property for our contacts. Half of our contacts are missing a country, but have a "State" listed so I update the country based on state. In the CSV all of the contacts show that they now have a country, but in HubSpot when I filter the contacts by "Country: is known" the number doesn't change.
It gets weirder because if I delete the set country of a contact and run the script that contacts country will be properly set. So it just doesn't seem to be working on a massive scale. Any ideas as to what could be happening? Thanks