SUPPORT.TWILIO.COM END OF LIFE NOTICE: This site, support.twilio.com, is scheduled to go End of Life on February 27, 2024. All Twilio Support content has been migrated to help.twilio.com, where you can continue to find helpful Support articles, API docs, and Twilio blog content, and escalate your issues to our Support team. We encourage you to update your bookmarks and begin using the new site today for all your Twilio Support needs.

How does Segment report success for Salesforce Bulk API 2.0 jobs?

Question

When sending Segment events in batches to Salesforce via Bulk API 2.0, why do the Event Delivery dashboard and Segment Sync History (for Reverse ETL sources) show a "Success" status even if some records fail with errors like REQUIRED_FIELD_MISSING? How can I see individual record failures?

 

Product

Twilio Segment

 

Environment

Segment Console.

 

Answer

Segment evaluates a "Success" status for Salesforce Bulk API 2.0 batch jobs based on whether Salesforce successfully receives the batch payload. Segment’s Sync History and Event Delivery tab only track batch-level delivery, not individual record processing results. If Salesforce accepts the batch, Segment marks it as "Success" - even if some records within the batch fail due to missing required fields or other row-level errors.

To review individual record failures, use Salesforce’s Bulk Data Load Jobs page. This page provides row-level error details for each batch processed by Bulk API 2.0. Segment does not currently break down Event Delivery stats into individual failed or passed events.

 

Additional Information 

  • Segment batches up to 5,000 records before sending to Salesforce.
  • Row-level errors (such as REQUIRED_FIELD_MISSING) are only visible in Salesforce, not in Segment’s UI.
  • For more information, see Salesforce Bulk Data Load Jobs documentation.

 

Have more questions? Submit a request
Powered by Zendesk