Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

Unsure how to use the API password with sourcetree

David-Shane
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!
January 2, 2026

Hi all first time posting. 

I am having an issue where I have a repo where I can pull from, but I am not able to push back into and make edits for some reason. I have basically tracked the issue down that I am not set up with API as I was using the OAuth through sourcetree and that was working, but now I get a fatal error when I try and push my project. 

Has anyone had this issue before? I am also not very antiquated with the terminal at all I just use the sourcetree UI. 

I also can't seem to get any API tokens to register at all. I am sure this is a massive user error but this has really impacted my project and I am unsure how to proceed. 

1 answer

0 votes
Tomislav Tobijas
Community Champion
January 2, 2026

Hey @David-Shane ,

On which platform is the repo located? Are you using Bitbucket, Github or something else?

If you're using Bitbucket, what you could try is the following:

  1. Create an API token - follow instructions here
  2. Add the API token to Sourcetree - instructions here

Related to Bitbucket as well (but might be helpful in general): Push back to your repository 

These are some basic things to start with. If it doesn't work, we can try to troubleshoot it further.

Cheers,
Tobi

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events