Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in
Celebration

Earn badges and make progress

You're on your way to the next level! Join the Kudos program to earn points and save your progress.

Deleted user Avatar
Deleted user

Level 1: Seed

25 / 150 points

Next: Root

Avatar

1 badge earned

Collect

Participate in fun challenges

Challenges come and go, but your rewards stay with you. Do more to earn more!

Challenges
Coins

Gift kudos to your peers

What goes around comes around! Share the love by gifting kudos to your peers.

Recognition
Ribbon

Rise up in the ranks

Keep earning points to reach the top of the leaderboard. It resets every quarter so you always have a chance!

Leaderboard

Come for the products,
stay for the community

The Atlassian Community can help you and your team get more value out of Atlassian products and practices.

Atlassian Community about banner
4,461,688
Community Members
 
Community Events
176
Community Groups

Unable to clone Git repository, remote: Forbidden

 

Cloning for my first repo with HTTPS gives me this error:

$ git clone https://{username}@bitbucket.org/{username}/test.git
Cloning into 'test'...
remote: Forbidden
fatal: unable to access 'https://{username}@Bitbucket.org/{username}/test.git/': The requested URL returned error: 403

When trying to clone via SSH it looks if it works, but then I need to type the password everytime, I thought that with SSH it is not needed every time?

Help needed for a BitBucket newbee ;-)

Thnx,

 

Maurice

 

 

2 answers

1 accepted

8 votes
Answer accepted

Well it looks like I made the stupid "mistake" of typing a pasphrase during the creation of my SSH key on my computer. This was not necessary!

Answering my own question is for when other people make the same "error" ;-) 

Thanks but how do you solve it then ? remove passphrase ?

Like Iyakrivas likes this

I made a new key without it. 

Like Stephane Duval likes this

I have  the same problem though... its remote : forbidden and error 403 I have log in but its not cloning my  repository, thanks. 

What is the process for making a new key? Thank you!

Like # people like this

Me also having this silly problem. When trying to clone with https it is returning me

remote: You'll need to authenticate with a valid app password. You can create an app password from your account at https://bitbucket.org/account/admin/app-passwords

fatal: unable to access 'https://bitbucket.org/<reponame>': The requested URL returned error: 403

But with ssh it is ok.
What's wrong, still i could not get it!

You have to create app password according to the bitbucket from march, 2022. I will share the links for it. https://support.atlassian.com/bitbucket-cloud/docs/create-an-app-password/. After creating the app password, make sure to keep copy the password it generates. when you clone, or make pull request, you have to use that password for one time

Suggest an answer

Log in or Sign up to answer
TAGS

Atlassian Community Events