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.

Resolving Segment Source empty_batch_result Discarded Events

Issue

The error code empty_batch_result appears when sending batch events to a source. This error indicates that some events in the batch have been discarded and are not displayed in the source's debugger.

 

Product

Segment

 

Environment

Segment Console

 

Cause

This error usually occurs when an individual event within a batch request exceeds the 32 KB size limit. While the Tracking API enforces a 500 KB limit for the entire batch and a 32 KB limit for single requests, the 32 KB restriction for events within batch requests is enforced by the Transformer after the Tracking API flow. Oversized events are discarded, resulting in the empty_batch_result error.

 

Resolution

To prevent this error, ensure that no individual event in a batch request exceeds 32 KB in size before sending the batch to Segment.

Have more questions? Submit a request
Powered by Zendesk