A CRM batch read takes at most 100 inputs, and asking for propertiesWithHistory lowers that maximum by an amount HubSpot doesn't document. CRM search can't return property history, so reading stage history for many records is a search for their ids, then batch reads with history.
Documented
More facts from this area
- A CRM search on a custom object with an association filter (
{ propertyName: "associations.contact", operator: "EQ", value: <contact ID> }) answers 400 "There was a problem with the request."; the same search on the object's own properties (a brand and an email, say) works. Find a custom object's records by their own properties, then link or read the association.Measured - Creating a custom object record that leaves one of its schema's
requiredPropertiesempty answers 400 VALIDATION_ERROR "Some required properties were not set". An integration's object can require more than an email: on one portal its display property (first_name) was required, so code that creates its records must fill the person's details too.Measured - An archived contact keeps its email reserved: re-creating a contact with that email returned 409
Contact already exists.Disputed - Creating a contact with an archived contact's email makes a new record with a new ID and none of the old values.Disputed
- A batch create silently collapses identical inputs inside one request: 100 identical contacts returned 201 and created 1 to 3. Compare the created count with the input count.Measured
Spriggit uses these facts when it plans changes. See something out of date? Email [email protected]