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

Cannot push to bitbucket from Github Desktop

Ewoud van der Werf
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
September 3, 2024

Hi folks,

I'm relatively new to git, I'm mostly used to Github with Github Desktop. I'm now collaborating with a team using Bitbucket, I had some trouble configuring everything but after following this short video I got Github Desktop working with Bitbucket.

However I cannot push my changes.

When I try in the Desktop client it says: "Authentication failed. Some common reasons include:..."

When I try to do git push origin it says: "remote: The requested repository either does not exist or you do not have access. If you believe this repository exists and you have access, make sure you're authenticated. fatal: unable to access 'https://bitbucket.org/*******/*********.git/': The requested URL returned error: 403"

Could you help me with this? It's probably a simple issue I'm overlooking.
The steps I used to clone the project with HTTPS are in the video I mentioned.

1 answer

1 accepted

0 votes
Answer accepted
Patrik S
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
September 5, 2024

Hey @Ewoud van der Werf ,

and welcome to the Community!

Based on the error message you are receiving, the issue seems to be related to authentication.

The URL in the logs suggests you're using HTTPS to interact with the repository.

In this case, if you confirmed that you have write access to that repository, could you please verify if you're using an app password (not your account password) in your Github Desktop configuration to authenticate the git operation ? The app password is used on behalf of your account password when authentication git activity and API calls.

If you haven't already, please create a new app password and try pushing the content again.

Thank you, @Ewoud van der Werf !

Patrik S

 

Ewoud van der Werf
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
September 6, 2024

Hi Patrik,

Thank you for your help! I was able to resolve the issue yesterday, it turned out I simply didn't have the permissions to write to the repository yet.

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events