Forums

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

Access from Bamboo server ver 9.3.4 with API Token

avnerozc
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 25, 2026

Hi,

 

I switched to using API tokens, and everything is good.

But now, I also want to allow Bamboo to access with an API Token. I use the token as the password (as I do on my desktop), but it fails to access the repository with the error "Invalid username," which is my username.

I created a token with read permissions, but I also gave it the token I use for development,

What am I missing?

 

Thanks

Avner

 

1 answer

0 votes
Mirek
Community Champion
June 28, 2026

Welcome @avnerozc 

The key detail is which Git host you're connecting Bamboo to...
If you're talking about Bitbucket Cloud and you're using Bamboo 9.3.4, then this is a known limitation

Check this KB article 

https://support.atlassian.com/bamboo/kb/bitbucket-cloud-repository-configuration-fails-in-bamboo-with-api-tokens

avnerozc
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 29, 2026

Thanks, @Mirek. Since I have the Bamboo Server, I cannot upgrade. I tried switching to "Git" repositories when I did "Test connection"; it showed me that the connection is okay, but the build itself failed during repository fetching.

I am using Submodules - is it related to it?

What about working with SSH authentication? Will that solve the problem?

 

Thanks

Avner

Suggest an answer

Log in or Sign up to answer
DEPLOYMENT TYPE
CLOUD
PERMISSIONS LEVEL
Product Admin Site Admin
TAGS
AUG Leaders

Atlassian Community Events