Running into a wall with the Analytics API. Trying to pull queue performance data for a 90-day window. The docs say the max date range is 90 days, but my request keeps hitting a 413 Entity Too Large error. The payload size seems fine, but the endpoint rejects it.
I’ve tried splitting the query into three 30-day chunks. I’m using the standard POST /api/v2/analytics/queues/summary endpoint. Here is the JSON body I’m sending for the first chunk:
{
"dateFrom": "2023-10-01T00:00:00Z",
"dateTo": "2023-10-31T23:59:59Z",
"groupBy": ["queueId"],
"metrics": ["conversationCount", "handleTime"]
}
Still getting 413. I checked the request headers and the content length is under 10KB. What am I missing?
- Environment: CXone Production
- SDK: Custom Python requests library
- Endpoint: POST /api/v2/analytics/queues/summary
- Error: 413 Entity Too Large
- Tried: Reducing metrics count, changing groupBy fields
Any ideas on why the split isn’t working?