# MedCAT Large CDB Upload Failure

**URL:** <https://discourse.cogstack.org/t/medcat-large-cdb-upload-failure/170>\
**Category:** MedCAT\
**Created:** [March 13, 2023, 1:06pm UTC](https://discourse.cogstack.org/t/medcat-large-cdb-upload-failure/170 "2023-03-13T13:06:57Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![vsocrates](https://avatars.discourse-cdn.com/v4/letter/v/90db22/32.png) [@vsocrates](https://discourse.cogstack.org/u/vsocrates)\
**Post date:** [March 13, 2023, 1:06pm UTC](https://discourse.cogstack.org/t/medcat-large-cdb-upload-failure/170/1 "2023-03-13T13:06:57Z")

</div>

Hi, I’m trying to upload a previously trained MedCAT CDB file, that has the unsupervised pretrained embeddings from a large amount of text through the Django website. Unfortunately, I’m not able to upload the large file and I keep getting an timeout error due the file size. Please advise on if there’s another way of uploading a CDB file to the Django site. I believe it also needs to be indexed by solr, is that correct? Thank you!

---

<div class="post-metadata">

**Author:** ![tomolopolis](https://avatars.discourse-cdn.com/v4/letter/t/6de8d8/32.png) [@tomolopolis](https://discourse.cogstack.org/u/tomolopolis)\
**Post date:** [March 14, 2023, 9:49am UTC](https://discourse.cogstack.org/t/medcat-large-cdb-upload-failure/170/2 "2023-03-14T09:49:32Z")

</div>

Hi @vsocrates - this is for Trainer? the latest version 2.6.0, has increased the max size to 4gb for uploads

---

<div class="post-metadata">

**Author:** ![vsocrates](https://avatars.discourse-cdn.com/v4/letter/v/90db22/32.png) [@vsocrates](https://discourse.cogstack.org/u/vsocrates)\
**Post date:** [March 15, 2023, 8:54am UTC](https://discourse.cogstack.org/t/medcat-large-cdb-upload-failure/170/3 "2023-03-15T08:54:06Z")

</div>

Hi, our CDB file was just over, so we used the API to upload with python `requests` and that worked fine! Thanks!

---

<div class="post-metadata">

**Author:** ![tomolopolis](https://avatars.discourse-cdn.com/v4/letter/t/6de8d8/32.png) [@tomolopolis](https://discourse.cogstack.org/u/tomolopolis)\
**Post date:** [March 23, 2023, 10:10am UTC](https://discourse.cogstack.org/t/medcat-large-cdb-upload-failure/170/4 "2023-03-23T10:10:15Z")

</div>

ah sorry - @vsocrates - I’ve bumped this to 10G now. Will be available in the next release.
