Trying to build a report that aggregates interactions by queue and media type, but the Analytics API keeps throwing a 500 Internal Server Error. The query structure looks valid according to the docs, but something about combining groupBy: queue and groupBy: mediaType breaks it. Here is the payload:
{
"interval": "2023-10-01T00:00:00.000Z/2023-10-02T00:00:00.000Z",
"groupBy": [
{ "type": "queue" },
{ "type": "mediaType" }
],
"aggregations": [
{ "type": "count", "metric": "interactions" }
]
}
Any idea why this specific combination fails?