Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in
It's not the same without you

Join the community to find out what other Atlassian users are discussing, debating and creating.

Atlassian Community Hero Image Collage

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
Community showcase
Published in Bitbucket

📣 Calling Bitbucket Data Center customers to participate in research

Hi everyone, Are you Bitbucket DC customer? If so, we'd love to talk to you! Our team wants to dive deep to understand your long-term plans regarding Bitbucket DC and Atlassian Cloud. Do you plan...

190 views 2 4
Read article

Community Events

Connect with like-minded Atlassian users at free events near you!

Find an event

Connect with like-minded Atlassian users at free events near you!

Unfortunately there are no Community Events near you at the moment.

Host an event

You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events

Events near you