I followed the insert walkthrough in the bulk api 2 docs. But when I checked the results I got 0 records processed and an unhelpful status of

null:InternalServerError : null

I toyed with the input file but could not resolve the error.

  • If possible, consider submitting a bug report to Salesforce (create a case). You typically should not be getting InternalServerError messages, and also they shouldn't be producing null values. I don't know if they'll get it fixed, but it would be nice.
    – sfdcfox
    Commented Jun 29, 2018 at 18:43

1 Answer 1


As it turns out, it was the input file. I mistakenly thought one field was a Date but it was a DateTime.

I post this here in case someone else gets the unhelpful error message. Try stripping down your input to the bare minimum and build it back up. Sadly for me the bare minimum included the Date (Time). So if the bare minimum still fails, double-check your data types.

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .