2

I'm trying to use the Bulk API 2.0 to upload big files. I need to know how I have to upload the data in case the file converted to base64 exceeds the 150Mb allowed. After reading the documentation I'am not sure how to proceed. Should I create another upload data request fo the same Job Id or I would have to create two (or more) jobs to upload the chunks?

I know that Salesforce will create interanal 10000 record batch either way, but it would be easier to just monitor the state of one job than several ones.

If they have to be different jobs, can those be in parallel? Or they need to be secuencial for the same object?

  • Wondering the same. Did you try splitting it into multiple uploads in the same job? – David Grant Feb 16 at 21:01
  • It doesn't work. Just accepts one file per job. I have to split my file and create separate jobs for each of the chunks. – Dan Mar 26 at 12:33
3

After some tests I discovered that the API don't support more than one file per job. It fails if more than one file tries to be uploaded. So I had to split my big file and create a job for each of the chunks.

I have to monitor the state of all the jobs but they can run in parallel.

Your Answer

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

Not the answer you're looking for? Browse other questions tagged or ask your own question.