Hi there…
I actually spoke to you directly in a ticket regarding this issue a while ago but it clearly has never been adressed. (I am flavorgasted that its never been caught up before and still an ongoing issue).
As far as I know, this issue is true for any batch endpoint.
I am creating / updating custom objects (Batch Create & Update endpoint)
https://api.hubapi.com/crm/v3/objects/" . $objectTypeId . "/batch/createhttps://api.hubapi.com/crm/v3/objects/" . $objectTypeId . "/batch/update"
Lets say I want to create the following array of objects (as parameter to the batch endpoint)
objectsToCreate = [
“a”,
“b”,
“c”
]
They will all be created, but they are not returned in the same order. Hubspot is shuffling the order and its being returned like
Results = [
A,
C,
B
]
See image from my actual debugger explaining this visually
I just made the “mistake” to trust the endpoint and how its returning the results.
The result: I did a mapping of the hubspot object id to the associated object in my system… but they are all wrong / shuffled!!
Who the **bleep** did this endpoint ?
I dont think we should have to do so much testing to figure out that the api is returning **bleep** data.
You just send us the ball to do 1001 checks and calculations to “find” the right result in the list.
Is this a known issue ?
Are you gonna fix this ?
Thank you…
