The Atlassian Community Forums are currently in read-only mode. We will be relaunching on a new platform on September 22 (read more here). We apologize for the extended downtime. For concerns or questions, please email communitymanagers@atlassian.com. See you on the other side, on the new Atlassian Community Forums! :)

×

Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

BUG: Cannot upload workspace icon

Tom Ford
February 18, 2022

Trying to upload a workspace icon, the UI says it has uploaded but it never changes.


Looking at the upload request I can see it fails with a 400 error: "Only image/{png,jpeg,gif} content-types are allowed." but inspecting the request I can see that the image data was never actually posted to the api. Request body is: `data:,`

 

POST /!api/internal/workspaces/focusonsound/avatar HTTP/1.1
data:,



HTTP/2 400 Bad Request
Only image/{png,jpeg,gif} content-types are allowed.

4 answers

Comments for this post are closed

Community moderators have prevented the ability to post new answers.

0 votes
srdjanjovanovic
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
December 12, 2023

Firefox v120.01 version - same error(Only image/{png,jpeg,gif} content-types are allowed.) still exists, even with all extensions stopped.

Chrome - works - out of the box, same image on chrome works, on FF not.

firefox-version.png.

0 votes
mdesign
June 27, 2023

Hi Norbert,

Same here.

Bitbucket Cloud Version.

Same response:

HTTP/2 400 Bad Request
Only image/{png,jpeg,gif} content-types are allowed.

Firefox:  114.0.1 (64-bit)

It works in Chrome.

 

Best regards,
Karoly

Derek White
Contributor
June 9, 2024

Same, using GIMP with PNG or JPG (selected by extension or manual) and even re-save using Paint, which removes the transparency. Same response, claiming bad content type. Windows reports as "JPEG Image (.jpg)" and "PNG Image (.png)".

Firefox 126.0.1

Derek White
Contributor
June 9, 2024

Further, why does a 400 end up showing the success notification? This is absurd!

Derek White
Contributor
June 9, 2024
0 votes
wimbraam
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
May 20, 2022

I just experienced the same issue in FireFox Developer edition, but got it working in Google Chrome. Incognito did not work unfortunately.

0 votes
Norbert Csupka
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
February 21, 2022

Hi Tom,

Thank you for contacting Atlassian Community, my name is Norbert and I'm a Bitbucket Cloud Support Engineer, it's nice to meet with you!

Can you let me know what's the extension that you've tried to upload as an icon for the Workspace? I'd like to inform you that I've just tested one and I was able to upload a .jpg file as an icon.

Maybe can you try to upload the profile picture in an incognito window with no add-ons enabled?

Please let us know how it goes.

Best Regards,
Norbert
Atlassian Bitbucket Cloud Support

Comments for this post are closed

Community moderators have prevented the ability to post new answers.

TAGS
AUG Leaders

Atlassian Community Events