# Error saving upload data

**URL:** <https://answers.netlify.com/t/error-saving-upload-data/16549>\
**Category:** Support\
**Tags:** netlify-large-media-nlm\
**Created:** [June 9, 2020, 5:40pm UTC](https://answers.netlify.com/t/error-saving-upload-data/16549 "2020-06-09T17:40:51Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![elliott](https://avatars.discourse-cdn.com/v4/letter/e/b5ac83/32.png) [@elliott](https://answers.netlify.com/u/elliott)\
**Post date:** [June 9, 2020, 5:40pm UTC](https://answers.netlify.com/t/error-saving-upload-data/16549/1 "2020-06-09T17:40:52Z")

</div>

**site name:** jolly-ramanujan-1dea16.netlify.app

I’m trying to use Large Media but having an issue when I try to push to the repo. I’ve followed the instructions to set up Large Media and in Netlify I can see that it recognizes I started using it. I told git to start tracking files and added some images to my repo. The problem comes when I try to push those images. I’ve checked my netlify LM installation and everything is good.

The images show up when I run `git lfs ls-files` but not in Gitlab or Netlify

When I run `git push` or `git lfs push origin master --all` they both fail with the same error message. Here’s the error with GIT\_TRACE & GIT\_CURL\_VERBOSE

```
< HTTP/2.0 200 OK
< Connection: close
< Age: 4
< Alt-Svc: clear
< Content-Type: application/vnd.git-lfs+json
< Date: Tue, 09 Jun 2020 17:31:44 GMT
< Server: Netlify
< Vary: Origin
< Via: 1.1 google
< X-Nf-Request-Id: 17ccc47d-de4d-495f-a2a7-2caed975d571-7900627
< 
13:31:44.695527 trace git-lfs: creds: git credential approve ("https", "5be14b6a-13b6-45fc-8110-ed435d3fe9e6.netlify.app", "")
13:31:44.700230 exec-cmd.c:139 trace: resolved executable path from Darwin stack: /Library/Developer/CommandLineTools/usr/libexec/git-core/git
13:31:44.700895 exec-cmd.c:236 trace: resolved executable dir: /Library/Developer/CommandLineTools/usr/libexec/git-core
13:31:44.701622 git.c:419 trace: built-in: git credential approve
13:31:44.701966 run-command.c:643 trace: run_command: 'git credential-netlify store'
13:31:44.709378 exec-cmd.c:139 trace: resolved executable path from Darwin stack: /Library/Developer/CommandLineTools/usr/libexec/git-core/git
13:31:44.709904 exec-cmd.c:236 trace: resolved executable dir: /Library/Developer/CommandLineTools/usr/libexec/git-core
13:31:44.710500 git.c:670 trace: exec: git-credential-netlify store
13:31:44.710521 run-command.c:643 trace: run_command: git-credential-netlify store
time="2020-06-09T13:31:44-04:00" level=debug msg="Initializing Netlify credential helper" args="[/Users/elliottross/.netlify/helper/bin/git-credential-netlify store]"
13:31:44.736395 run-command.c:643 trace: run_command: 'git credential-osxkeychain store'
13:31:44.741926 exec-cmd.c:139 trace: resolved executable path from Darwin stack: /Library/Developer/CommandLineTools/usr/libexec/git-core/git
13:31:44.742561 exec-cmd.c:236 trace: resolved executable dir: /Library/Developer/CommandLineTools/usr/libexec/git-core
13:31:44.743093 git.c:670 trace: exec: git-credential-osxkeychain store
13:31:44.743112 run-command.c:643 trace: run_command: git-credential-osxkeychain store
13:31:44.792569 trace git-lfs: HTTP: {"transfer":"basic","objects":[{"oid":"00c6b4efec88532b0e84acab962314e634c044ea3f8dc89011ffbc0b2a984b82","size":4003099545,"authenticated":true,"error":{"message":"error saving upload info"}},{"oid":"81144bca5d22ed5517d6a418e1dd1f3067b76d9400ff854a0846a91f899d1a5b","size":2655127950,"authenticated":true,"error":{"message":"error saving upload info"}},{"oid":"6c2dcad6876ed53ceaa5d0338495d4780905b95c378ab58c70541c2ef34ec2c0","size":234306290,"authenticated":true},{"oid":"bfaee1cc59c77a467c97ccb4d7bd245b68fc8f
{"transfer":"basic","objects":[{"oid":"00c6b4efec88532b0e84acab962314e634c044ea3f8dc89011ffbc0b2a984b82","size":4003099545,"authenticated":true,"error":{"message":"error saving upload info"}}
```

---

<div class="post-metadata">

**Author:** ![luke](https://sea1.discourse-cdn.com/netlify/user_avatar/answers.netlify.com/luke/32/39_2.png) [@luke](https://answers.netlify.com/u/luke)\
**Post date:** [June 11, 2020, 7:32am UTC](https://answers.netlify.com/t/error-saving-upload-data/16549/2 "2020-06-11T07:32:27Z")

</div>

Hi, @elliott, from those logs, it appears the files you are uploading are 2 GiB and above. Is that correct?

If so, the size of the files may be the issue. Would you please confirm and we’ll check with the developers about the maximum file size supported?

Would you also please send us the output of `netlify lm:info` (example below)?

```nohighlight
$ netlify lm:info
  ✔ Checking Git version [2.26.2]
  ✔ Checking Git LFS version [2.10.0]
  ✔ Checking Git LFS filters
  ✔ Checking Netlify's Git Credentials version [0.1.9]

```

---

<div class="post-metadata">

**Author:** ![elliott](https://avatars.discourse-cdn.com/v4/letter/e/b5ac83/32.png) [@elliott](https://answers.netlify.com/u/elliott)\
**Post date:** [June 13, 2020, 2:00am UTC](https://answers.netlify.com/t/error-saving-upload-data/16549/4 "2020-06-13T02:00:51Z")

</div>

Yes I think it totaled more than 2 GiB. I didn’t know that was a limit!

Here’s the netlify lm: info output

```
  ✔ Checking Git version [Git-122.2)]
  ✔ Checking Git LFS version [2.11.0]
  ✔ Checking Git LFS filters
  ✔ Checking Netlify's Git Credentials version [0.1.9]
```

---

<div class="post-metadata">

**Author:** ![luke](https://sea1.discourse-cdn.com/netlify/user_avatar/answers.netlify.com/luke/32/39_2.png) [@luke](https://answers.netlify.com/u/luke)\
**Post date:** [June 16, 2020, 11:11am UTC](https://answers.netlify.com/t/error-saving-upload-data/16549/6 "2020-06-16T11:11:21Z")

</div>

Hi, @elliott. I did confirm that any files over 2 GiB will not successfully upload to our Large Media service.  
Also, we don’t recommend hosting any files over about 100 MiB on our service - Large Media or otherwise.

So, it won’t be possible to have our Large Media service handle those files. If you want us to disabled the Large Media add-on for this site please let us know and we’ll send next steps.

Likewise, if there are any questions we’re happy to answer them.
