I'm starting to use the Bulk API 2.0 and am seeing an unexpected result from successfulResults.

I'm uploading this CSV for an upsert operation (for this post I replaced my prefix with 'prefix'.):


The operation works -- the record is inserted -- but I'm surprised by what successfulResults returns:


The documentation says that the responses includes "Field data for the row that was provided in the original job data upload request", but you can see that all these fields were returned as empty strings. This makes it hard for us to reconcile the sf__Id values with the external IDs we sent, particularly because the documentation also warns "The order of records in the response is not guaranteed to match the ordering of records in the original job data."

Why might this be happening? I was unable to find any other reports of this behavior.

Also, this problem does not happen for the insert operation, only upsert.

| improve this question | | | | |

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.