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

Getting error data stream error (invalid code lengths set) while pushing to repo
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!
June 30, 2023


I am pushing the last commit to my repo and I am getting the following error. Could somebody guide me on how to fix it?

Thanks so much

Enumerating objects: 10272, done.
Counting objects: 100% (10272/10272), done.
Delta compression using up to 12 threads
Compressing objects: 100% (7208/7208), done.
remote: error: inflate: data stream error (invalid code lengths set)
remote: fatal: pack has bad object at offset 561706: inflate returned -3
error: RPC failed; curl 55 Failed sending data to the peers
Writing objects: 100% (10261/10261), 842.58 MiB | 2.49 MiB/s, done.
Total 10261 (delta 4407), reused 4150 (delta 1750), pack-reused 0
error: remote unpack failed: index-pack abnormal exit




1 answer

0 votes
Theodora Boudale
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
July 4, 2023

Hi Gabriel and welcome to the community.

Based on the output of the push command, your local repo may be corrupted.

Could you please run the following command in the directory of your clone and let us know what the output is?

git fsck --full

Kind regards,

Suggest an answer

Log in or Sign up to answer
Site Admin
AUG Leaders

Atlassian Community Events