Loading

Data 360: Understanding Intermittent Failures During Bulk Operations in Ingestion API Data Streams

Publiceringsdatum: Dec 4, 2025
Beskrivning

When using the Salesforce Ingestion API, you may notice intermittent Data Stream failures, especially when switching between streaming and bulk operations. These errors indicate that a streaming job was canceled to make way for a bulk job. While the failure status may seem concerning, it's typically benign and doesn't impact the data stream.

Lösning

In the context of Salesforce's Ingestion API, streaming jobs are often interrupted to facilitate bulk operations like large data uploads or deletions. Normally, these jobs are canceled without issue, but if the cancellation takes longer than expected, an error status might be returned, leading to a "Failed" indication in the Data Stream history.
Here's how it works:

  • When a bulk job is initiated, ongoing streaming jobs are canceled. This cancellation allows the bulk job to run, complete, and then restart the streaming job

  • If the cancellation process takes too long, the system logs an error, marking it as a "Cancelled Task." However, this doesn't indicate a true failure, as the streaming job will resume after the bulk job is finished

  • Despite the error status, the bulk operation completes as expected, and the data stream will pick up from where it left off without losing any data

This behavior is expected and doesn't typically require manual intervention. However, it's important to note that Salesforce is exploring options to improve the UI so that intentionally canceled jobs (such as during bulk operations) are not misrepresented as errors.

Knowledge-artikelnummer

002630830

 
Laddar
Salesforce Help | Article