We are using batch API to update contacts in bulk. In some cases, the response for the bulk update returns empty "results" array but the status is "Complete".
Attached such response received in Postman
Tried with multiple scenarios by providing the wrong contact id, and received an error message which seems to be working fine. Only facing issues with the above-mentioned case.
Are your records actually updating all of those properties? I've encountered this before and the results array was empty. The results array should contain the records you're passing in if:
In that case, I'm not sure what would cause it off the top of my head.
We should definitely post this on the idea submissions forum if it isn't there already. It is frustrating not receiving results in a batch update with no error.
No, The data given in the request is of no error. I verified it by using the PATCH /crm/v3/objects/contacts/{contactId} API with the same data and it worked fine.
It is expected that the "results" array will have the updated object in it as given below image.
In what scenario are you getting the empty array?
Not sure. We need your help in finding the scenario.