How should I properly to configure a bulk export job for digital channel transcripts that includes specific legal hold metadata tags? We are seeing inconsistent results in the S3 bucket. Some files contain the legal_hold flag, while others are missing this critical metadata entirely, even though the filter criteria should have caught them.
Environment details:
- Genesys Cloud BYOC (eu-west-1)
- Endpoint: POST /api/v2/bulkexports/exportjobs
- Export Type:
transcript - Filter:
interaction_type eq digitalANDlegal_hold eq true
The job completes successfully (status: completed), but when we validate the chain of custody for a specific case, we find gaps. The JSON manifest does not reflect the metadata correctly for all items.
Error in validation script: “Missing required field ‘legal_hold’ in metadata for interaction_id: 78291023”
Is there a known limitation with how metadata is serialized for digital channels versus voice? Or is the filter syntax for legal_hold incorrect? We need every single interaction exported for this discovery request to have the tag visible in the output.