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 Join to answer
Community showcase
Renan Battaglin
Published May 18, 2017 in Bamboo

FAQ: How to Upgrade Bamboo Server

Bamboo 5.9 will no longer be supported after June 12, 2017. What does this mean? As part of our End of Life policy, Atlassian supports major versions for two years after the first major iteratio...

1,068 views 0 5
Read article

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
Atlassian Team Tour

Join us on the Team Tour

We're bringing product updates and pro tips on teamwork to ten cities around the world.

Save your spot