(internetKeychainItemForServer:withUsername:path:port:protocol:) - The specified item could not be found in the keychain.

getting this error when pushing branch from source tree to bitbucket in mac

3 answers

As this is the first thing that comes up on Google when searching this error, I wanted to add the answer I found that worked when I stumbled upon this issue.

http://stackoverflow.com/questions/20217389/sourcetree-cant-push-to-bitbucket

In short: I didnt have write access to the repo.

Hi Swathi,

This could be the same reason as from this post: https://answers.atlassian.com/questions/125892/submodule-with-different-user-fails-to-clone-push-with-sourcetree

In short, it might be because you're using HTTPS authentication and not specifying your username in the URL. Have a read and see if it helps.

Cheers

I was getting this because the case of the username I entered was not the same as the case of the username in the URL/path. e.g. I would type username, but the repo url was https://Username@server.com:8443/path/project.git 

Suggest an answer

Log in or Sign up to answer
Community showcase
Published 6 hours ago 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...

48 views 0 1
Read article

Atlassian User Groups

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

Find a group

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

Find my local user group

Unfortunately there are no AUG chapters near you at the moment.

Start an AUG

You're one step closer to meeting fellow Atlassian users at your local meet up. Learn more about AUGs

Groups near you