APIs & Integrations

findshorty
Mitglied

Valid, non zero date is not updating Datepicker custom field value

We use custom deal and contact properties extensively, many of them datepicker and datetimepicker types, and are having issues with updating the value of one particular deal property, which is regularly set as 1/1/1970.

 

This doesn't happen with any other datepicker or datetimepicker custom properties, only this one, and it doesn't do it for every record. Most of our deals receive and display the value correctly, but I would think up to 30% don't.

 

We're sending valid, midnight based microtimes via the API, not receiving any API errors, the response contains the correct value for the property, and yet the property isn't being updated.

 

Any ideas?

0 Upvotes
2 Antworten
quentin_lamamy
Autorität | Diamond Partner
Autorität | Diamond Partner

Valid, non zero date is not updating Datepicker custom field value

Thanks @dennisedson for the ping
Hi @findshorty , can you send me an example of the object you are sending to the hubspot api for one of the record that was correctly updated and one for a record that was not correctly updated ?


0 Upvotes
dennisedson
HubSpot-Produktteam
HubSpot-Produktteam

Valid, non zero date is not updating Datepicker custom field value

Hey @findshorty ,

That is odd 🤔

Just so we can see, could you throw up your code that you are submitting? 

@quentin_lamamy , do you have any thoughts on this?

0 Upvotes