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

Accepted Answer
0 votes

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

0 votes
Boris Berenberg Community Champion Sep 28, 2017

Try opening the image in something like Preview.app, 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.

Boris Berenberg Community Champion Sep 28, 2017

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?

Boris Berenberg Community Champion Oct 02, 2017

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
Community showcase
Published Aug 21, 2018 in Bitbucket

Branch Management with Bitbucket

As a project manager, I have discovered that different developers want to bring their previous branching method with them when they join the team. Some developers are used to performing individual wo...

2,284 views 9 12
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