The feature states value – How to solve this Elasticsearch exception

Opster Team

August-23, Version: 7.12-7.13

Briefly, this error occurs when the Elasticsearch snapshot feature is trying to restore a feature state that doesn’t exist or is not recognized. This could be due to a version mismatch or a typo in the feature state’s name. To resolve this issue, you can check the feature state’s name for typos, ensure that the feature state exists in the snapshot, or verify that the Elasticsearch version supports the feature state. If the feature state is not needed, you can exclude it from the restore operation.

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

Log Context

Log “the feature_states value [” class name is We extracted the following from Elasticsearch source code for those seeking an in-depth context :

 featureStatesToRestore = Collections.emptyMap();
 } else {
 // Otherwise; handle the list of requested feature states
 final Set requestedStates = org.elasticsearch.common.collect.Set.of(requestedFeatureStates);
 if (requestedStates.contains(NO_FEATURE_STATES_VALUE)) {
 throw new SnapshotRestoreException(snapshot; "the feature_states value [" + NO_FEATURE_STATES_VALUE +
 "] indicates that no feature states should be restored; but other feature states were requested: " + requestedStates);
 if (snapshotFeatureStates.keySet().containsAll(requestedStates) == false) {
 Set nonExistingRequestedStates = new HashSet<>(requestedStates);


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?