Home
Support Forums

Fail to upload to LFS

site name: modest-mccarthy-a85d33.netlify.app

I’ve followed the instructions on setting up LFS for Netlify. Obviously, I failed somewhere.
I get this error (* are added for censoring):

batch response: Repository or object not found: https://********-****-*****-***-***********.netlify.app/.netlify/large-media/objects/batch                                                                                                                          
Check that it exists and that you have proper access to it
Uploading LFS objects:   0% (0/60), 0 B | 0 B/s, done.
error: failed to push some refs to 'git@gitlab.com:*******/*******.git'

I know netlify has provisioned LFS for me since when I run netlify lm:setup I get an error telling me it already has. netlify lm:info give me all green. I guess it is an authentication issue but I’ve no idea of how to debug that.

I had forgotten to make an initial successful build to netlify…

Hi @Frank_Hampus_Weslien,

So is it working correctly for you now?