I am trying to update almost 2K deal records, in a loop. However, only 100 updates in a sinlge batch update api call. it works fine for the first 100 updates, however succeeding updates fail with below error:
"Cannot update more than %d objects at once "
what API endpoint are you trying to hit here? The reason I'm asking is that it if you're using
there is actually a limit of 10 per call as mentioned here
Each object provides batch endpoints that let you create, read, update, and archive multiple object records in a single request. Batch endpoints have a limit of 100 records per call except for creating and updating contacts, which are limited to 10 records per call.
So according to this, it's surprising that the first 100 work without any trouble. Can you please confirm that this is the case? The 100 limit should only apply to things like read or archive calls.
oh, I see... In that case, I have no real clue tbh. The only thing that I can think of but seems far-fetched is that the first request wasn't entirely processed when calling the endpoint the second time. The updates are processed asynchronously, so it may take several minutes to see the updates in HubSpot if you're sending a large number of updates.
But it seems unlikely that this is the issue. On the other hand, if there is no limit on the number of properties that are updated, HubSpot has to have some guardrails in place to not have a huge queue of updates to process.
Sorry I can't help you here, I'm afraid. Maybe another community member has some clue on what's going on.