cmd/go: go get 403 Forbidden Access denied private bitbucket repositories #46344
Labels
FrozenDueToAge
NeedsInvestigation
Someone must examine and confirm this is a valid issue and not a duplicate of an existing one.
WaitingForInfo
Issue is not actionable because of missing required information, which needs to be provided.
Milestone
What version of Go are you using (
go version
)?Does this issue reproduce with the latest release?
yes
What operating system and processor architecture are you using (
go env
)?go env
OutputWhat did you do?
I have added private key in bitbucket , and can clone using
git@bitbucket.org:project-name/repo-name.git
added
git config --global url."git@bitbucket.org:project-name".insteadOf "https://bitbucket.org/project-name"
also Added GOPRIVATE=bitbucket.org/project-name/second-repo
What did you expect to see?
I need to pull library from second repositary
What did you see instead?
go get bitbucket.org/project-name/second-repo: reading https://api.bitbucket.org/2.0/repositories/project-name/second-repo?fields=scm: 403 Forbidden
server response: Access denied. You must have write or admin access.
The text was updated successfully, but these errors were encountered: