I’m completely stumped as to why the analytics API returns a 500 Internal Server Error when attempting to aggregate metadata for WhatsApp transcripts within a specific date range for legal discovery. The endpoint /api/v2/analytics/interactions/summary works fine for voice interactions, but fails consistently for digital channels using the wa interaction type. The request payload includes standard filters for date.from and date.to aligned with UTC+0 (London time), and the groupBy parameter is set to conversationId.
The error response body contains a generic message: "Internal server error" with no additional context. We have verified that the underlying data exists in the recording export S3 bucket, as the bulk export job completes successfully with a 202 Accepted status. The issue appears isolated to the aggregation step required for chain of custody verification.
We are using Genesys Cloud EU-West-1 environment. The SDK version is genesys-cloud-architect-sdk-v2. Has anyone encountered this specific failure mode when querying digital channel metrics? The documentation here suggests this endpoint supports all interaction types, but the behavior differs significantly from voice data. We need a reliable method to export this metadata for audit trails without hitting this server error.