Error saving avatar

In bitbucket server, When I click on the save button after uploading a new avatar for a project, I get the following error:

The data URI provided to supply avatar data is invalid. The data URI is required to contain Base64-encoded image data, and may not use "URL-safe" encoding.

Does anyone know how to resolve this error?

2 answers

1 accepted

This ended up being a firewall issue within my company's network. One they opened it up I was able to save the avatar.

Try opening the image in something like, and re-exporting it. It may just have something weird in the encoding which Bitbucket can't handle.

I get this with any image I try to use.  I just tried taking one of the images and pasting it into MS Paint and saving as a simple jpg and I still get this error.

Do you have a proxy in front of Bitbucket? It may be misconfigured and could be breaking the request. Though honestly I am mostly guessing on this one.

Yes I do have a proxy in front of it, but the rest of the site has been functioning correctly.  Not sure if there's an additional change that needs to be made specifically for uploading/saving avatars or not.

Any suggestions?

Not off the top of my head. I would need to start digging into local logs to figure it out further. Have you tried reaching out to Atlassian Support?

Suggest an answer

Log in or Sign up to answer
Atlassian Community Anniversary

Happy Anniversary, Atlassian Community!

This community is celebrating its one-year anniversary and Atlassian co-founder Mike Cannon-Brookes has all the feels.

Read more
Community showcase
Piotr Plewa
Published Dec 27, 2017 in Bitbucket

Recipe: Deploying AWS Lambda functions with Bitbucket Pipelines

Bitbucket Pipelines helps me manage and automate a number of serverless deployments to AWS Lambda and this is how I do it. I'm building Node.js Lambda functions using node-lambda&nbsp...

1,747 views 1 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