Showing results for 
Search instead for 
Did you mean: 
Sign up Log in

Earn badges and make progress

You're on your way to the next level! Join the Kudos program to earn points and save your progress.

Deleted user Avatar
Deleted user

Level 1: Seed

25 / 150 points

Next: Root


1 badge earned


Participate in fun challenges

Challenges come and go, but your rewards stay with you. Do more to earn more!


Gift kudos to your peers

What goes around comes around! Share the love by gifting kudos to your peers.


Rise up in the ranks

Keep earning points to reach the top of the leaderboard. It resets every quarter so you always have a chance!


Come for the products,
stay for the community

The Atlassian Community can help you and your team get more value out of Atlassian products and practices.

Atlassian Community about banner
Community Members
Community Events
Community Groups

Getting 401 unauthorized when using the Bitbucket backup client

I've put what I believe to be the correct, necessary values in the file:


bitbucket.user=(local Windows user that runs the Bitbucket service)

bitbucket.password=(password for that same local user)


When I run the backup client, I get:

ERROR A backup could not be created
com.atlassian.bitbucket.internal.backup.client.BackupException: The Bitbucket version could not be verified; the server returned 401 Unauthorized. Backup/restore is only supported by Bitbucket 2.7.0 and later.
at com.atlassian.bitbucket.internal.backup.client.RestBitbucketService.handleVersionQueryFailure(RestBitbucketSe
at com.atlassian.bitbucket.internal.backup.client.RestBitbucketService.getVersion(RestBitbucketService.groovy:18


I'm running v5.7.0 and the latest version of the backup client.


2 answers

1 accepted

3 votes
Answer accepted
Dick Atlassian Team Mar 26, 2018

Hi Joel,

It looks like you've used the wrong user + password. Instead of using your local Windows user, bitbucket.user should be the username of a sysadmin on the Bitbucket service.

bitbucket.password should be the password for that user on Bitbucket. So, to summarise:

bitbucket.user=(username of a sysadmin on Bitbucket)
bitbucket.password=(password for that same sysadmin on Bitbucket)

I hope this helps!


Thanks, Dick. Makes sense. I'll test that out tonight. 

Yep, that's what I needed. Thanks.

Thanks Joel and Dick!  I've been searching and reading for hours/days trying to figure this and a few other things.  I stumbled across this a few days after I created a post(never received a response though). The user I had was sysadmin on BB and it wasn't working due to a "!" in the password field.  Ironically enough, I created another account with another sysadmin and didnt use the bang(just found out) and voila...thx!

incredible hint of yours! I was having the same problem because of a $

Suggest an answer

Log in or Sign up to answer

Atlassian Community Events