User limit exceeded despite workspace not accessible for user account?
Asked by BrokenProgrammer:

Hi! I administer the repository for <https://bitbucket.org/Infinity-Anon/anton-coolpecker> and my recent attempt at a push has yielded the following result:

remote: \*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*  
remote: \[ALERT\] Your push failed because the account 'Infinity-Anon' has exceeded its  
remote: \[ALERT\] user limit and this repository is restricted to read-only access.  
remote: \[ALERT\] Change your plan to restore write access:  
remote: \[ALERT\] <https://bitbucket.org/account/user/BrokenProgrammer/plans>  
remote: \*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*

The problem is that the repository in question does not belong to any of my own workspaces yet the workspace for the repository should have been transferred to my account as I understand it; The Infinity-Anon account in question does not appear to host or even have any access to the forementioned repository/workspace when logged in there. Committing to the repository has worked fine until the most recent attempt at pushing a commit.

Would changing the plan for my main account workspace or removing users from repository resolve this issue or would it be unneccessary?

What is the best way to resolve this issue?


Answers:
author: Syahrul
body: Hey [@BrokenProgrammer](/t5/user/viewprofilepage/user-id/131052)

Could you run the following commands to check the repository remote URL and verify it correctly points to the proper workspace?

```
git remote -v
```

Regards,  
Syahrul

comments: author: BrokenProgrammer
body: I believe it should be - The repository is available at <https://bitbucket.org/Infinity-Anon/anton-coolpecker/src/master/> and the remote URL points towards <https://bitbucket.org/Infinity-Anon/anton-coolpecker.git> for both fetch and push. Fetching and pulling from the repository works fine without problem.


author: Syahrul
body: Hi [@BrokenProgrammer](/t5/user/viewprofilepage/user-id/131052)

Thank you for confirming. The error you're experiencing is due to the workspace "Infinity-Anon" exceeding its limit of 5 free users, which has restricted further changes.

Here are two potential solutions:

1. If you have administrative access, you could consider upgrading the workspace plan for "Infinity-Anon". You can manage this at [https://bitbucket.org/infinity-anon/workspace/settings/plans-and-billing](https://bitbucket.org/infinity-anon//workspace/settings/plans-and-billing).

2. Alternatively, you could transfer the repository to another workspace that has not reached the 5-user limit. Instructions on how to do so can be found in our guide

<https://support.atlassian.com/bitbucket-cloud/docs/transfer-repository-ownership/>

Regards,  
Syahrul


author: BrokenProgrammer
body: Thank you for confirming the available solutions to the current issue, however I will have to resolve the forementioned issue with the workspace first in order to follow any of the solutions given - Closing the current question as resolved for now!


Tags: bitbucket-administration

bitbucket-cloud

cloud

user

user-management