LFS push fails with Error sending chunk details to media api: StatusCode 400 Bad Request

After having updated SourceTree, a popup asked me to install a custom stuff for faster upload speed. Which I did.

But now, my LFS push fail with this error:

Error sending chunk details to media api: StatusCode 400 Bad Request

 

Here is the full log:

git -c diff.mnemonicprefix=false -c core.quotepath=false -c lfs.customtransfer.bitbucket-media-api.path=git-lfs-bitbucket-media-api push -v --tags origin master:master
Pushing to XXXXXXXXXXX.git
Git LFS: (0 of 1 files) 0 B / 15.41 MB 
Git LFS: (0 of 1 files) 0 B / 15.41 MB
Error transferring "97a34b1f87b6dd039e3253fff6d12e5a21b2986df3858c6cc07f8b0e16c91af6": [17] Error sending chunk details to media api: StatusCode 400 Bad Request from /upload/59081b1a-52fd-4c22-8b5e-883e2f664788/chunks
error: failed to push some refs to 'XXXXXXXXXXX.git'
Completed with errors, see above.

 

What can I do?

Thanks

 

git version: 1.9.5-preview20141217

 

 

 

3 answers

Ok so I uninstalled SourceTree, deleted my Users\XXX\AppData\Local\Atlassian folder, reinstalled SourceTree, I made sure to NOT install the custom Git LFS Bitbucket adapter. And it works!

So the problem is really the Git LFS Bitbucket adapter.

I just ran into the same problem. Removing Bitbucket LFS Media Adapter solved it for Pushing on terminal.

Is there a way to tell SourceTree to not use the Media Adapter as well? or a global solution for this issue? It's a pitty to bypass SourceTree when using LFS.

I solved it uninstalling and reinstalling SourceTree, and then click yes when it asks to update the Git LFS Bitbucket adapter. So maybe it was a bug that was fixed in a posterior version.

Suggest an answer

Log in or Join to answer
Community showcase
Brian Ganninger
Published Jan 23, 2018 in Sourcetree

Tip from the team: workflow and keyboard shortcuts

Supported Platforms macOS Sourcetree has a lot to offer and, like many developer tools, finding and using it all can be a challenge, especially for a new user. Everyone might not love ...

236 views 0 3
Read article

Atlassian User Groups

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

Find a group

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

Find my local user group

Unfortunately there are no AUG chapters near you at the moment.

Start an AUG

You're one step closer to meeting fellow Atlassian users at your local meet up. Learn more about AUGs

Groups near you
Atlassian Team Tour

Join us on the Team Tour

We're bringing product updates and pro tips on teamwork to ten cities around the world.

Save your spot