For some large teams, the /api/events/values endpoint sometimes returns 504 or 512 errors.
504 - gateway timeout, without a response.
512 - Clickhouse error code that says a request would exceed the timeout.
Example of the 512 response:
{
"type": "server_error",
"code": "error",
"detail": "Estimated query execution time (61.24618196061911 seconds) is too long. Try reducing its scope by changing the time range.",
"attr": null
}
Bug Description
Bug description
For some large teams, the
/api/events/values
endpoint sometimes returns 504 or 512 errors.Example of the 512 response:
Additional context
Related support ticket: https://posthoghelp.zendesk.com/agent/tickets/15299 +1 from the Posthog team