Failed to create snapshot – How to solve this Elasticsearch error

Opster Team

Aug-23, Version: 6.8-8.2

Briefly, this error occurs when Elasticsearch is unable to create a snapshot due to reasons such as insufficient permissions, incorrect repository configuration, or lack of disk space. To resolve this, ensure that the Elasticsearch process has write permissions to the snapshot repository. Check the repository configuration for any errors and correct them. Also, ensure there is enough disk space available for the snapshot. If the issue persists, check the Elasticsearch logs for more detailed error messages.

This guide will help you check for common problems that cause the log ” [{}][{}] failed to create snapshot ” to appear. To understand the issues related to this log, read the explanation below about the following Elasticsearch concepts: snapshot.

Log Context

Log “[{}][{}] failed to create snapshot” classname is
We extracted the following from Elasticsearch source code for those seeking an in-depth context :

                return ClusterState.builder(currentState).putCustom(SnapshotsInProgress.TYPE; snapshots.withAddedEntry(newEntry)).build();

            public void onFailure(Exception e) {
                logger.warn(() -> new ParameterizedMessage("[{}][{}] failed to create snapshot"; repositoryName; snapshotName); e);

            public void clusterStateProcessed(ClusterState oldState; final ClusterState newState) {


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?