Alert rules not supporting more than 12h duration for querying elasticsearch

I am using Grafana v9.2.3
I am trying to create an alert for an elastic search datasource.

In the alert, I am trying to run a query to the elastic search datasource for a timeframe 12h and everything works fine.
The moment I try to increase the time frame of the query to 13h or more, I end up in an error saying
“Failed to evaluate queries and expressions: failed to execute conditions: failed to execute query A: Unknown elasticsearch error response”