Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in
It's not the same without you

Join the community to find out what other Atlassian users are discussing, debating and creating.

Atlassian Community Hero Image Collage

Cannot clone remote bitbucket authentication error

I created the "magic" password in bitbucket.   saved it.   opened sourcetree for windows 3.4.6.

open a new tab.

click remote

I get a list of repositories on my remote bitbucket account

Choose the one i want

click "clone"

ultimately get this error:

Error: 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

i've edited my account on sourcetree.   changed the password to match the "magic" on generated on bitbucket.   

Note:   i'm not trying to enable ssh

There has to be a coherent set of instructions for hooking sourcetree 3.4.6 up to bitbucket!

hopefully somebody has them.

 

 

 

 

 

 

1 answer

found a solution in another post (linked below for ref)

i had to inject ':<AppPassword>' into the url

https://<username>:<AppPassword>@........

 

https://community.atlassian.com/t5/Sourcetree-questions/Sourcetree-ignores-github-token-and-throws-403-error/qaq-p/1778978

 

 

 

(EDITED, solution above) (original Post - same issue) I'm having exactly the same issue - account authorizes correctly when selecting Basic and supplying new App Password...under Remote it shows my account and brings back the correct Repositories when 'refresh'd....click CLONE.....it spins its wheels for a bit and then brings back:

 

Error: 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/JSchu/test1.git/': The requested URL returned error: 403

Suggest an answer

Log in or Sign up to answer
TAGS
Community showcase
Published in Sourcetree

Tip from the team: configure your repos for hosting goodness!

Supported Platforms macOS Windows We recently introduced support for additional hosting services such as GitHub Enterprise, GitLab (Cloud, Community Edition, Enterprise Edition), and...

7,236 views 5 14
Read article

Community Events

Connect with like-minded Atlassian users at free events near you!

Find an event

Connect with like-minded Atlassian users at free events near you!

Unfortunately there are no Community Events near you at the moment.

Host an event

You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events

Events near you