Analytics Data Export API 500 - Invalid Date Range

Stuck on retrieving historical interaction data via the analytics API.

Endpoint: GET /api/v2/analytics/interactions/summary

Headers: Authorization Bearer, Content-Type application/json

Request body: { “date_from”: “2023-01-01T00:00:00.000Z”, “date_to”: “2023-01-31T23:59:59.999Z”, “group_by”: “wrapupcode” }

Response: 500 Internal Server Error

Error message: “The query execution failed due to a timeout or resource limit.”

Environment: Genesys Cloud au-1. SDK: genesys-cloud v1.68.4.

The same query works in the Postman collection provided by Genesys. Terraform state is clean. No recent changes to the environment.