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.