Git push tag fails

After a successful pipeline, we push a tag using command git(“push”, “origin”, newtag).
The problem is i am using a group level access token with role as maintainer. It works fine as long as i do not remove a member named A from our project.
If i remove Member A from our project then it stops working and gives error. How can group level access token be associated with it? I created the token

Is the project under the group where the access token is created? If you are using Group access token as credentials for git I don’t see how removing another user from a project would make it stop working.

Yes, exactly