Forums

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

I generated an api token but don't know how to get git to use it. I keep getting the 410 message

paulrosen
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!
June 30, 2026

I had been using a password for years with git and it worked both in webstorm and the command line.

I now have to use an API Token. I created it, but I can't figure out how to tell the computer to use it.

Edit:

Nevermind, I figured it out. I had to put the token on the command line.

1 answer

0 votes
Tomislav Tobijas
Community Champion
July 1, 2026

Hi @paulrosen ,

So you've sorted it out? (based on the edited description)

Any chance you can share the steps you've used to resolve this?

Cheers,
Tobi

paulrosen
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!
July 1, 2026

There was a little thrashing around, but I think all I would have needed to do is this following on the command line:

```

git remote set-url origin https://{MY_NAME}:{MY_TOKEN}@bitbucket.org/{MY_NAME}/{MY_REPO}.git

```

Like Tomislav Tobijas likes this
Tomislav Tobijas
Community Champion
July 1, 2026

Ah, got it. Thanks for sharing! 🙌

Suggest an answer

Log in or Sign up to answer
DEPLOYMENT TYPE
CLOUD
TAGS
AUG Leaders

Atlassian Community Events