# Not Zero leader. Aborting proposal: member : while removing node using admin endpoint

**URL:** <https://discuss.dgraph.io/t/not-zero-leader-aborting-proposal-member-while-removing-node-using-admin-endpoint/15444>\
**Category:** Dgraph\
**Tags:** kind:bug\
**Created:** [August 31, 2021, 1:28pm UTC](https://discuss.dgraph.io/t/not-zero-leader-aborting-proposal-member-while-removing-node-using-admin-endpoint/15444 "2021-08-31T13:28:52Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![reddy.nandikonda](https://yyz1.discourse-cdn.com/flex007/user_avatar/discuss.dgraph.io/reddy.nandikonda/32/8788_2.png) [@reddy.nandikonda](https://discuss.dgraph.io/u/reddy.nandikonda)\
**Post date:** [August 31, 2021, 1:28pm UTC](https://discuss.dgraph.io/t/not-zero-leader-aborting-proposal-member-while-removing-node-using-admin-endpoint/15444/1 "2021-08-31T13:28:52Z")

</div>

## What I want to do

I want to delete the One node using Admin endpoint. My Alpha 3 got crashed and not starting  
[http://192.180.66.41:6080/removeNode?id=3&group=1](http://192.180.66.41:6080/removeNode?id=3&group=1)

## What I did

I have invoked the below get from the postman  
[http://192.180.66.41:6080/removeNode?id=3&group=1](http://192.180.66.41:6080/removeNode?id=3&group=1)

Response :  
“errors”: [

```
    {

        "message": "Not Zero leader. Aborting proposal: member:<id:3 group_id:1 am_dead:true > ",

        "extensions": {

            "code": "Error"

        }

    }

]

```

}

192.180.66.41 : is My Alpha1 and Zero 1 IP address.

I have started My Zeros and Alphas using below commands

nohup dgraph zero --replicas=3 --raft idx=1 --my=192.180.66.41:5080 &  
nohup dgraph zero --replicas=3 --raft idx=2 --my=192.180.66.48:5080 --peer=192.180.66.41:5080 &  
nohup dgraph zero --replicas=3 --raft idx=3 --my=192.180.66.39:5080 --peer=192.180.66.41:5080 &

nohup dgraph alpha --my=192.180.66.41:7080 --zero=192.180.66.41:5080 --security whitelist=0.0.0.0/0 &  
nohup dgraph alpha --my=192.180.66.48:7080 --zero=192.180.66.41:5080 --security whitelist=0.0.0.0/0 &  
nohup dgraph alpha --my=192.180.66.39:7080 --zero=192.180.66.41:5080 --security whitelist=0.0.0.0/0 &

## Dgraph metadata

> **dgraph version**
>
> Dgraph version : v21.03.2  
> Dgraph codename : rocket-2  
> Dgraph SHA-256 : 00a53ef6d874e376d5a53740341be9b822ef1721a4980e6e2fcb60986b3abfbf  
> Commit SHA-1 : b17395d33  
> Commit timestamp : 2021-08-26 01:11:38 -0700  
> Branch : HEAD  
> Go version : go1.16.2  
> jemalloc enabled : true
> 
> For Dgraph official documentation, visit [Overview - Dgraph](https://dgraph.io/docs).  
> For discussions about Dgraph , visit [http://discuss.hypermode.com](http://discuss.hypermode.com/).  
> For fully-managed Dgraph Cloud , visit [Overview - Dgraph](https://dgraph.io/cloud).
> 
> Licensed variously under the Apache Public License 2.0 and Dgraph Community License.  
> Copyright 2015-2021 Dgraph Labs, Inc.

---

<div class="post-metadata">

**Author:** ![iluminae](https://yyz1.discourse-cdn.com/flex007/user_avatar/discuss.dgraph.io/iluminae/32/7367_2.png) [@iluminae](https://discuss.dgraph.io/u/iluminae)\
**Post date:** [August 31, 2021, 1:35pm UTC](https://discuss.dgraph.io/t/not-zero-leader-aborting-proposal-member-while-removing-node-using-admin-endpoint/15444/2 "2021-08-31T13:35:38Z")

</div>

If you have 3 zeros, one is the leader. You made your request to a _non-leader_. The /state endpoint will show who the leader is, or you can try all 3.

---

<div class="post-metadata">

**Author:** ![reddy.nandikonda](https://yyz1.discourse-cdn.com/flex007/user_avatar/discuss.dgraph.io/reddy.nandikonda/32/8788_2.png) [@reddy.nandikonda](https://discuss.dgraph.io/u/reddy.nandikonda)\
**Post date:** [September 1, 2021, 10:53am UTC](https://discuss.dgraph.io/t/not-zero-leader-aborting-proposal-member-while-removing-node-using-admin-endpoint/15444/3 "2021-09-01T10:53:13Z")

</div>

Thanks for Reply.  
I have made request on leader, node has removed but still my zero server is showing and my primary alpha trying to connect removed node.

---

<div class="post-metadata">

**Author:** ![iluminae](https://yyz1.discourse-cdn.com/flex007/user_avatar/discuss.dgraph.io/iluminae/32/7367_2.png) [@iluminae](https://discuss.dgraph.io/u/iluminae)\
**Post date:** [September 1, 2021, 1:36pm UTC](https://discuss.dgraph.io/t/not-zero-leader-aborting-proposal-member-while-removing-node-using-admin-endpoint/15444/4 "2021-09-01T13:36:50Z")

</div>

Oh no that sounds like what led me to this horrible experience: [Raft group cannot pass leader election](http://discuss.hypermode.com/t/raft-group-cannot-pass-leader-election/14837) (specifically when I lost the second member of that group much later)

If you can take an export and rebuild do it now.
