invalid code lengths se

Pappu Chauhan July 27, 2023

remote: error: inflate: data stream error (invalid code lengths set)

remote: fatal: pack has bad object at offset 8851555: inflate returned -3

error: RPC failed; curl 55 Failed sending data to the peer

Writing objects: 100% (1075/1075), 5.80 GiB | 118.29 MiB/s, done.

Total 1075 (delta 128), reused 2 (delta 0), pack-reused 0

error: remote unpack failed: index-pack abnormal exit

Everything up-to-date

1 answer

1 vote
Theodora Boudale
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
July 28, 2023

Hi @Pappu Chauhan and welcome to the community!

The output you posted here seems to be from a git push command, can you please confirm if that's the case?

The output also indicates that the size of the push is 5.80 GiB.

Every repository in Bitbucket Cloud has a hard limit of 4 GB. Additionally, we have a push limit of 3.5 GB, which means that you will not be able to make such a large push.

If you have accidentally committed any large files in your repo, I would recommend rewriting history to remove them.

If you do need to track large files, I would recommend looking into using Git LFS.

You can check this post of mine with more info:

Please feel free to reach out if you have any questions.

Kind regards,

Suggest an answer

Log in or Sign up to answer
AUG Leaders

Atlassian Community Events