Unable to make repositories private — no collaborators or pending invitations #212466
Replies: 2 comments
|
Ah, I see you're looking at that GitHub discussion where someone is completely locked out of changing their repositories from public to private because of that frustrating error: "Visibility can't be private. We are unable to provide this feature for one of the collaborators or invitees in this repository." Even though they checked and confirmed they are the only collaborator with zero pending invites, GitHub's database still thinks an outside account is attached to the repo, triggering a safety lock. Here is why this happens and how to actually fix it:
|
|
Your support ticket was closed automatically and the problem hits every repo, even though you're the only collaborator. That makes me think the restriction is on your account, not on the repos. The "one of the collaborators" in the error can mean you, the owner. Two quick checks:
GitHub can flag an account when it links it to a sanctioned region through your IP address (a VPN counts), billing details or profile location. Restricted accounts can still use public repos but can't make anything private, which matches what you're seeing. If you find the notice: fill in the appeal form linked from GitHub's trade controls page: Use that form, not a normal support ticket, since those tend to get closed. Have proof of where you live ready, like an ID or a utility bill. If you don't find it and new private repos fail too: reply to your closed ticket or open a new one. Include the exact error text, the names of the five repos, and that a new private repo also fails, and ask for someone to look at your account. |
Uh oh!
There was an error while loading. Please reload this page.
🏷️ Discussion Type
Question
Body
Hello,
I cannot change any of my repositories from public to private.
I receive this error:
"Visibility can't be private. We are unable to provide this feature
for one of the collaborators or invitees in this repository."
The affected repositories belong to my personal account, sp1ne8.
I checked the collaborators and pending invitations: my account is
the only listed collaborator, and there are no pending invitations.
The same error occurs for portfolio, future-tech, Area, still-coffee,
and northline-garage. I contacted GitHub Support, but my ticket was
closed automatically and I was directed to the community.
Is there an account restriction or another setting that could cause
this? How can I find out why private repositories are unavailable
for my account?
Thank you.
All reactions