Unable to execute scroll request – How to solve this Elasticsearch error

Opster Team

Aug-23, Version: 2.3-2.3

Briefly, this error occurs when Elasticsearch fails to execute a scroll request, which is typically used for retrieving large numbers of results from a search query. This could be due to insufficient memory, incorrect query syntax, or an overloaded server. To resolve this issue, you can try increasing the memory allocation for Elasticsearch, checking your query for errors, or reducing the load on your server by optimizing your queries or increasing your server capacity.

This guide will help you check for common problems that cause the log ” unable to execute scroll request [{}] ” to appear. To understand the issues related to this log, read the explanation below about the following Elasticsearch concepts: delete, delete-by-query, deletebyquery, plugins and request.

Log Context

Log “unable to execute scroll request [{}]” classname is TransportDeleteByQueryAction.java.
We extracted the following from Elasticsearch source code for those seeking an in-depth context :

                         logger.error("scroll request [{}] failed; scrolling document(s) is stopped"; e; scrollId);
                        finishHim(scrollId; hasTimedOut(); e);
            } catch (Throwable t) {
                logger.error("unable to execute scroll request [{}]"; t; scrollId);
                finishHim(scrollId; false; t);

        void deleteHits(String scrollId; SearchResponse scrollResponse) {


How helpful was this guide?

We are sorry that this post was not useful for you!

Let us improve this post!

Tell us how we can improve this post?