Error adding template request was not acknowledged – How to solve this Elasticsearch error

Opster Team

Aug-23, Version: 7.14-8.9

Briefly, this error occurs when Elasticsearch fails to acknowledge the addition of a new template. This could be due to a variety of reasons such as network issues, incorrect template syntax, or insufficient permissions. To resolve this issue, you can try the following: 1) Check your network connection and ensure Elasticsearch is running properly. 2) Verify the syntax of your template and ensure it adheres to the correct format. 3) Check your user permissions to ensure you have the necessary rights to add a template.

This guide will help you check for common problems that cause the log ” error adding template [{}]; request was not acknowledged ” to appear. To understand the issues related to this log, read the explanation below about the following Elasticsearch concepts: template, plugin, request.

Log Context

Log “error adding template [{}]; request was not acknowledged” classname is
We extracted the following from Elasticsearch source code for those seeking an in-depth context :


        ActionListener innerListener = ActionListener.wrap(response -> {
            if (response.isAcknowledged() == false) {
                logger.warn("error adding template [{}]; request was not acknowledged";;
        }; listener::onFailure);

        executeAsyncWithOrigin(client; ML_ORIGIN; PutComposableIndexTemplateAction.INSTANCE; templateRequest; innerListener);


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?