@tcummings if you log the full response you should be able to see the JSON formatted data you are sending over to HubSpot. I was hoping to see what data was actually being sent over and how it was formatted in the end result within the network request. Do you mind pasting that here?
Response: {“vid”:4315251,“canonical-vid”:4315251,“merged-vids”:[],“portal-id”:3268782,“is-contact”:true,“profile-token”:“AO_T-mPXFeN-_dimV5eCwyA0fOGAkbSffnHE3Uggl8l6enAmOLEhrqOnd38NADn-iDiFRSgK5-fJDZyzVA9_Ub1IAQDqIlCWvx7x5h_MkMOXHH-_6gp1aXl-8qn33PNkiKMhH2R7sAoH”,“profile-url”:“https://app.hubspot.com/contacts/3268782/lists/public/contact/_AO_T-mPXFeN-_dimV5eCwyA0fOGAkbSffnHE3... Test Ave”,“versions”:[{“value”:“123 Test Ave”,“source-type”:“API”,“source-id”:null,“source-label”:null,“timestamp”:1498506922423,“selected”:false}]},“city”:{“value”:“Abq”,“versions”:[{“value”:“Abq”,“source-type”:“API”,“source-id”:null,“source-label”:null,“timestamp”:1498506922423,“selected”:false}]},“phone”:{“value”:“505-203-0822”,“versions”:[{“value”:“505-203-0822”,“source-type”:“API”,“source-id”:null,“source-label”:null,“timestamp”:1498506922423,“selected”:false}]},“createdate”:{“value”:“1498506922424”,“versions”:[{“value”:“1498506922424”,“source-type”:“API”,“source-id”:“Contacts”,“source-label”:null,“timestamp”:1498506922424,“selected”:false}]},“state”:{“value”:“NM”,“versions”:[{“value”:“NM”,“source-type”:“API”,“source-id”:null,“source-label”:null,“timestamp”:1498506922423,“selected”:false}]},“email”:{“value”:“thomas@cummings.com”,“versions”:[{“value”:“thomas@cummings.com”,“source-type”:“API”,“source-id”:null,“source-label”:null,“timestamp”:1498506922423,“selected”:false}]},“lastname”:{“value”:“Test”,“versions”:[{“value”:“Test”,“source-type”:“API”,“source-id”:null,“source-label”:null,“timestamp”:1498506922423,“selected”:false}]}},“form-submissions”:[],“list-memberships”:[],“identity-profiles”:[{“vid”:4315251,“is-deleted”:false,“is-contact”:false,“pointer-vid”:0,“previous-vid”:0,“linked-vids”:[],“saved-at-timestamp”:0,“deleted-changed-timestamp”:0,“identities”:[{“type”:“EMAIL”,“value”:“thomas@cummings.com”,“timestamp”:1498506922424,“source”:“UNSPECIFIED”},{“type”:“LEAD_GUID”,“value”:“8e4b1669-2790-4d04-a00f-e7a771e2ffe9”,“timestamp”:1498506922429,“source”:“UNSPECIFIED”}]}],“merge-audits”:[]}
@tcummings I agree it doesn’t appear that you are calling it twice within the code snippet that you shared above. I am a little lost as to where the second API call is coming from then. Someone is making a call to the Contacts API at the same time that is overwriting those values for your calls. You don’t have any additional services that are running after a contact gets updated/created?