HubSpot API call fail INVALID_DATE not midnight! Last updated on May 21, 2019 by Sal Ferrarello When making a HubSpot API call to update a date picker field, I’m getting a response with “response code 400”, “error INVALID_DATE”, and the message includes “not midnight!”. This is why I’m getting this error and how I fixed this call.