No shard follow tasks for follower indices – How to solve this Elasticsearch exception

Opster Team

August-23, Version: 6.8-8.9

Briefly, this error occurs when Elasticsearch cannot find any shard follow tasks for the specified follower indices. This usually happens when the follower index is not properly configured or the leader index is not available. To resolve this issue, you can check the configuration of the follower index and ensure it is correct. Also, verify the availability and health of the leader index. If the leader index is not available, you may need to restore it from a snapshot or recreate it.

This guide will help you check for common problems that cause the log ” No shard follow tasks for follower indices [{}] ” to appear. To understand the issues related to this log, read the explanation below about the following Elasticsearch concepts: shard, indices, plugin.

Log Context

Log “No shard follow tasks for follower indices [{}]” class name is We extracted the following from Elasticsearch source code for those seeking an in-depth context :

 if (Strings.isAllOrWildcard(request.indices()) == false) {
 final ClusterState state = clusterService.state();
 Set shardFollowTaskFollowerIndices = findFollowerIndicesFromShardFollowTasks(state; request.indices());
 if (shardFollowTaskFollowerIndices.isEmpty()) {
 String resources = String.join(";"; request.indices());
 throw new ResourceNotFoundException("No shard follow tasks for follower indices [{}]"; resources);
 super.doExecute(task; request; listener);