# Replica shards unassigned issue: unavailable\_shards\_exception

**URL:** <https://discuss.elastic.co/t/replica-shards-unassigned-issue-unavailable-shards-exception/374422>\
**Category:** Elasticsearch\
**Created:** [February 12, 2025, 12:16pm UTC](https://discuss.elastic.co/t/replica-shards-unassigned-issue-unavailable-shards-exception/374422 "2025-02-12T12:16:38Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![bhavesh\_gujarati](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/bhavesh_gujarati/32/141320_2.png) [@bhavesh\_gujarati](https://discuss.elastic.co/u/bhavesh_gujarati)\
**Post date:** [February 12, 2025, 12:16pm UTC](https://discuss.elastic.co/t/replica-shards-unassigned-issue-unavailable-shards-exception/374422/1 "2025-02-12T12:16:39Z")

</div>

Hello,

I have the following issue:

{"error":{"root\_cause":[{"type":"unavailable\_shards\_exception","reason":"[archival\_collection][2] primary shard is not active Timeout: [1m], request: [delete {[archival\_collection][object][ARC1]}]"}],"type":"unavailable\_shards\_exception","reason":"[archival\_collection][2] primary shard is not active Timeout: [1m], request: [delete {[archival\_collection][object][ARC1]}]"},"status":503}

When we ran the explain command as below then we received below issue:

Command: curl -X GET "localhost:9200/\_cluster/allocation/explain?pretty"

**issue**  
"unassigned\_info" : {  
"reason" : "REPLICA\_ADDED",  
"at" : "2025-02-11T06:52:11.809Z",  
"delayed" : false,  
"allocation\_status" : "no\_attempt"  
},  
"allocation\_delay\_in\_millis" : 60000,  
"remaining\_delay\_in\_millis" : 0,  
"nodes" : {  
"oHuLmxrGTCKl88XllP-nqQ" : {  
"node\_name" : "oHuLmxr",  
"node\_attributes" : { },  
"store" : {  
"shard\_copy" : "NONE"  
},  
"final\_decision" : "NO",  
"final\_explanation" : "the shard cannot be assigned because allocation deciders return a NO decision",  
"weight" : 32.449997,  
"decisions" : [  
{  
"decider" : "same\_shard",  
"decision" : "NO",  
"explanation" : "the shard cannot be allocated on the same node id [oHuLmxrGTCKl88XllP-nqQ] on which it already exists"  
}  
]  
}  
}

Can you please check this and let me know how we can fix this issue?

Thanks!
