Forums

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

When using download repository bitbucket is delivering an empty zip file.

John A_ Espinal A_
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!
November 27, 2025

Only two files are included. Git Ignore and README.md. 

The repo is 33MB in size. and the zip file is 1K.

I am not using LFS, submodules or anything fancy. This is a basic plain repository

I really appreciate any feedback. 

1 answer

0 votes
Ben
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
December 14, 2025

Hi @John A_ Espinal A_ 

May I know the curl command you're executing (with authentication details removed for privacy)?

If you're using an App Password, the command should look like this:

curl --request GET \
  --url https://bitbucket.org/{workspaceID}/{repositoryslug}/get/{commitID}.zip \
 --user username:AppPassword

If using an API token, it would look like this:

curl --request GET \
  --url https://bitbucket.org/{workspaceID}/{repositoryslug}/get/{commitID}.zip \
 --user email:APIToken

Cheers!

- Ben (Bitbucket Cloud Support)

Suggest an answer

Log in or Sign up to answer
DEPLOYMENT TYPE
CLOUD
TAGS
AUG Leaders

Atlassian Community Events