Failed to get snapshots – How to solve this Elasticsearch exception

Opster Team

August-23, Version: 6.8-7.13

Briefly, this error occurs when Elasticsearch is unable to retrieve snapshots due to issues like incorrect snapshot repository configuration, lack of necessary permissions, or network connectivity problems. To resolve this, you can verify the snapshot repository configuration, ensure the Elasticsearch process has read permissions for the snapshot directory, and check network connectivity between Elasticsearch and the snapshot repository. Additionally, ensure the snapshot you’re trying to retrieve actually exists.

This guide will help you check for common problems that cause the log ” failed to get snapshots ” to appear. To understand the issues related to this log, read the explanation below about the following Elasticsearch concepts: repositories, blobstore.

Log Context

Log “failed to get snapshots” class name is We extracted the following from Elasticsearch source code for those seeking an in-depth context :

 try {
 return; snapshotId.getUUID(); namedXContentRegistry; bigArrays);
 } catch (NoSuchFileException ex) {
 throw new SnapshotMissingException(; snapshotId; ex);
 } catch (IOException | NotXContentException ex) {
 throw new SnapshotException(; snapshotId; "failed to get snapshots"; ex);
 }  @Override
 public Metadata getSnapshotGlobalMetadata(final SnapshotId snapshotId) {


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?