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

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

Avatar

1 badge earned

Collect

Participate in fun challenges

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

Challenges
Coins

Gift kudos to your peers

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

Recognition
Ribbon

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!

Leaderboard

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
4,465,953
Community Members
 
Community Events
176
Community Groups

Bad Request 400 on file upload

Edited

My file (.csv) is 2.58MB and I continue to receive the 400 error. Isn't the file limit 100MB? The total lines in this file is 17,155. If I reduce my file size below 2.5MB then the file uploads successfully.


If the file is uploaded via the git package on my linux terminal the commit is also successful. It seems the issue is only with the browser upload of the file.

 

What could be causing this failure if I have not reached the file size limit?

1 answer

0 votes
Syahrul Atlassian Team Dec 01, 2021

Hi @Scanit Technologies

Welcome to the community!

I tried uploading similar files and sizes as yours using the uploader in the UI and so far haven't had any issue so can you try to reproduce this in a different web browser just to verify that it's not b browser-specific issue?

Additionally, can you also try uploading it via the cURL:

curl -v -u username:AppPassword -X POST https://api.bitbucket.org/2.0/repositories/workspaceID/repoName/src -F filename.ext=@filename.csv

If it's failing, please share with me the verbose logs and remove any unnecessary information.

I look forward to hearing from you.

Cheers,
Syahrul

The issue is only on the website. Where do I find the verbose logs when using the website?

Syahrul Atlassian Team Dec 06, 2021

Hi @Scanit Technologies

Noted, the logs are for the curl commands if it's failing. If it's for the web you can get the har log while reproducing the issue.

Additionally, have you tried to upload the same files on a different web browser and incognito windows? This is to verify that it's not a b browser-specific issue that's causing the file to fail to upload.

I look forward to hearing from you.

Cheers,
Syahrul

Suggest an answer

Log in or Sign up to answer
TAGS

Atlassian Community Events