Salesforce Connector > Troubleshooting > Troubleshooting a bulk job
  

Troubleshooting a bulk job

If you use Salesforce Bulk API 2.0 to read and write data, you might experience slower performance than when you read and write data using Salesforce Bulk API.
To know the behavior of Salesforce Bulk API 2.0, see the Salesforce documentation.

Unfinished batches in a bulk job due to Salesforce session timeout

When you run a task in bulk mode and the Salesforce session times out, there may be unfinished batches in the job.
To resolve this issue, you can enable a rerun for unfinished batches and limit the batch processing time.
Perform the following steps to enable rerun for unfinished batches:
  1. 1Log in to Informatica Cloud and select the Administrator service.
  2. 2Click Runtime Environments.
  3. 3Select the runtime environment that contains the Secure Agent that you have used to run the task.
  4. 4Click Edit.
  5. 5Under System Configuration Details, configure the following fields:
  6. The list of DTM services is displayed.
  7. 6Click Edit Agent Configuration for any one of the JVM Options. For Example, JVMOption1.
  8. 7Set the value of the JVM option to -DSFDCDisableBatchRetry=false.
  9. 8Click Save.
After you save the changes, the Secure Agent restarts automatically.