zenodo / zenodo

Research. Shared.
https://zenodo.org
GNU General Public License v2.0
902 stars 240 forks source link

Failure to upload large files with curl #2485

Closed fxcoudert closed 8 months ago

fxcoudert commented 8 months ago

Describe the bug

I am following the documentation at https://gist.github.com/slint/2263b2212743a68b2851b2cb7865675e for file upload with curl. Upload of large files (2.3 GB) fails.

Steps to Reproduce

curl --upload-file ~/Downloads/crystal_300K_volume_change0.tar "https://zenodo.org/api/files/56b80de7-c506-4c50-b918-8571eb6d0601/crystal_300K_volume_change0.tar?access_token=xxxxxxxxx"
{"status": 400, "message": "Bucket quota exceeded."}

At first, I got as error 413 Request Entity Too Large, but I tried a couple of times (through curl, through Python, through the web browser) and the error later turned to Bucket quota exceeded.

Expected behavior

Upload of large files should be possible.

fxcoudert commented 8 months ago

I should have added this screenshot of the web interface:

Capture d’écran 2023-10-17 à 17 00 33

There is plenty of space left

slint commented 8 months ago

Hi @fxcoudert the issue has been fixed now, can you retry the upload (either via the UI or cURL)?

fxcoudert commented 8 months ago

Yes, it works now, thanks.

kikislater commented 8 months ago

Please reopen, it's not working even from gui or api

jarredou commented 7 months ago

Same, I can't upload my dataset, it always fails at some point, while it's working with any other site.