Picked up a weird 400 when hitting /api/v2/analytics/queues/summary. The query runs fine for voice alone, but slapping group_by: [“queue”, “mediaType”] into the payload breaks everything. Node SDK throws a validation error on the interval field even though the ISO string looks solid. Swapped to groupBy in case. Still nothing. Here’s the JSON we’re sending:
{“interval”: “2023-10-01/2023-10-02”, “group_by”: [“queue”, “mediaType”], “view”: “default”}
Docs say this structure is standard. Response keeps complaining about a missing parameter. SDK keeps rejecting the interval field.