Bamboo receiving 401 when trying to publish build status to Stash


I have tried seaching for any information relating to this issue. I am running the download version of Bamboo and Stash.

Application links seem to be set up correctly with Basic Auth (a user with full admin). I have also given the user full admin to the Project on Stash, however, when trying to push results to Stash I get the following error on the build.

"401 Unauthorized" received while attempting to store build status against Stash instance `Stash', check your application link configuration.

I should also mention that I have another instance running for open source projects with pretty much the same set up and that works perfectly.

Any help on this matter would be greatly appreciated.



4 answers

Hi Phil,

I'm not sure about this. It may be related to a known regression in applinks:

But I'm not sure if that affects Bamboo in this instance.

If you haven't already I would recommend you raising a support ticket and attach your Bamboo (and Stash) logs so we can help.



Hi Phil,

Please review the following KB article and follow the resolution steps.

If the problem doesn't get resolved, please open a support ticket:

Thank you.



I have exactly the same Problem and followed the guide you provided - unfortunately without success :-( In Stash I have ssh with ssh-key activated - might this cause trouble when bamboo tries to access the stash repository without having valid key?

what is the resolution of this? 

We get several of these every night.  I have deleted and re-created all application links a few times - but to no avail.  The Application link health checks all get a tick.

So why does this error occur and what are the consequences of it having occurred?

Suggest an answer

Log in or Sign up to answer
Community showcase
Asked Thursday in Jira Ops

I'm John Allspaw, Ask Me Anything about incident analysis and postmortems

I'm John Allspaw, co-founder of   Adaptive Capacity Labs, where we help teams use their incidents to learn and improve. We bring research-driven methods and approaches to drive effective inciden...

3,533 views 8 7
View question

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