# Uploaded source code not uploading

**URL:** <https://discourse.mozilla.org/t/uploaded-source-code-not-uploading/130485>\
**Category:** Add-ons\
**Tags:** issue\
**Created:** [May 20, 2024, 6:24am UTC](https://discourse.mozilla.org/t/uploaded-source-code-not-uploading/130485 "2024-05-20T06:24:43Z")\
**Posts on this page:** 11\
**Page:** 1

<div class="post-metadata">

**Author:** ![pemaju02](https://avatars.discourse-cdn.com/v4/letter/p/cab0a1/32.png) [@pemaju02](https://discourse.mozilla.org/u/pemaju02)\
**Post date:** [May 20, 2024, 6:24am UTC](https://discourse.mozilla.org/t/uploaded-source-code-not-uploading/130485/1 "2024-05-20T06:24:44Z")

</div>

We have submitted the source code for code review, and the file size is 400MB. However, we encountered an error stating “The request entity is too large.”.

May I know what is the maximum file size allowed for uploading the source code?

---

<div class="post-metadata">

**Author:** ![juraj.masiar](https://sea1.discourse-cdn.com/flex001/user_avatar/discourse.mozilla.org/juraj.masiar/32/30587_2.png) [@juraj.masiar](https://discourse.mozilla.org/u/juraj.masiar)\
**Post date:** [May 20, 2024, 12:18pm UTC](https://discourse.mozilla.org/t/uploaded-source-code-not-uploading/130485/2 "2024-05-20T12:18:27Z")

</div>

Whoa, you are building addon using 400MB of source code? That’s crazy 🙃  
How big is the final addon?

Are you zipping also whole “node\_modules” folder? Or what is so huge in your sorce code?

Note that you can use zip compression to reduce the file size.

---

<div class="post-metadata">

**Author:** ![Edward\_Sullivan](https://sea1.discourse-cdn.com/flex001/user_avatar/discourse.mozilla.org/edward_sullivan/32/63229_2.png) [@Edward\_Sullivan](https://discourse.mozilla.org/u/Edward_Sullivan)\
**Post date:** [May 20, 2024, 1:27pm UTC](https://discourse.mozilla.org/t/uploaded-source-code-not-uploading/130485/3 "2024-05-20T13:27:07Z")

</div>

According to [this page](https://extensionworkshop.com/documentation/publish/submitting-an-add-on/), it is 200MB.

What type of add-on is it?

---

<div class="post-metadata">

**Author:** ![pemaju02](https://avatars.discourse-cdn.com/v4/letter/p/cab0a1/32.png) [@pemaju02](https://discourse.mozilla.org/u/pemaju02)\
**Post date:** [May 28, 2024, 9:34am UTC](https://discourse.mozilla.org/t/uploaded-source-code-not-uploading/130485/4 "2024-05-28T09:34:50Z")

</div>

Hi Edward,  
Our extension type is Like cryptocurrency wallet. we can transfer the currency like metamask.

---

<div class="post-metadata">

**Author:** ![pemaju02](https://avatars.discourse-cdn.com/v4/letter/p/cab0a1/32.png) [@pemaju02](https://discourse.mozilla.org/u/pemaju02)\
**Post date:** [May 28, 2024, 9:37am UTC](https://discourse.mozilla.org/t/uploaded-source-code-not-uploading/130485/5 "2024-05-28T09:37:49Z")

</div>

Hi Juraj,  
Actually we have zipped the source folder without node modules and dist folder. eventhough it is more than 400 MB. What we can do? … Kindly Assist

---

<div class="post-metadata">

**Author:** ![hans\_squared](https://sea1.discourse-cdn.com/flex001/user_avatar/discourse.mozilla.org/hans_squared/32/67424_2.png) [@hans\_squared](https://discourse.mozilla.org/u/hans_squared)\
**Post date:** [May 28, 2024, 12:01pm UTC](https://discourse.mozilla.org/t/uploaded-source-code-not-uploading/130485/6 "2024-05-28T12:01:35Z")

</div>

> [@pemaju02](#):
>
> Actually we have zipped the source folder without node modules and dist folder. eventhough it is more than 400 MB.

How big is the compiled addon?

---

<div class="post-metadata">

**Author:** ![pemaju02](https://avatars.discourse-cdn.com/v4/letter/p/cab0a1/32.png) [@pemaju02](https://discourse.mozilla.org/u/pemaju02)\
**Post date:** [May 28, 2024, 1:12pm UTC](https://discourse.mozilla.org/t/uploaded-source-code-not-uploading/130485/7 "2024-05-28T13:12:15Z")

</div>

580 mb as zipped file.

---

<div class="post-metadata">

**Author:** ![hans\_squared](https://sea1.discourse-cdn.com/flex001/user_avatar/discourse.mozilla.org/hans_squared/32/67424_2.png) [@hans\_squared](https://discourse.mozilla.org/u/hans_squared)\
**Post date:** [May 28, 2024, 2:41pm UTC](https://discourse.mozilla.org/t/uploaded-source-code-not-uploading/130485/8 "2024-05-28T14:41:53Z")

</div>

> [@pemaju02](#):
>
> Our extension type is Like cryptocurrency wallet. we can transfer the currency like metamask.

> [@pemaju02](#):
>
> 580 mb as zipped file.

Then there’s something seriously wrong with your addon.  
The [MetaMask](https://addons.mozilla.org/en-US/firefox/addon/ether-metamask/) XPI only has 20 MiB.

---

<div class="post-metadata">

**Author:** ![Edward\_Sullivan](https://sea1.discourse-cdn.com/flex001/user_avatar/discourse.mozilla.org/edward_sullivan/32/63229_2.png) [@Edward\_Sullivan](https://discourse.mozilla.org/u/Edward_Sullivan)\
**Post date:** [June 7, 2024, 10:49am UTC](https://discourse.mozilla.org/t/uploaded-source-code-not-uploading/130485/9 "2024-06-07T10:49:13Z")

</div>

Is the file size you mentioned the size of your source code package, or the add-on itself?

---

<div class="post-metadata">

**Author:** ![Edward\_Sullivan](https://sea1.discourse-cdn.com/flex001/user_avatar/discourse.mozilla.org/edward_sullivan/32/63229_2.png) [@Edward\_Sullivan](https://discourse.mozilla.org/u/Edward_Sullivan)\
**Post date:** [June 10, 2024, 2:10pm UTC](https://discourse.mozilla.org/t/uploaded-source-code-not-uploading/130485/10 "2024-06-10T14:10:13Z")

</div>

Can you let me know which add-on you are referring to by including your add-on ID please?

---

<div class="post-metadata">

**Author:** ![hans\_squared](https://sea1.discourse-cdn.com/flex001/user_avatar/discourse.mozilla.org/hans_squared/32/67424_2.png) [@hans\_squared](https://discourse.mozilla.org/u/hans_squared)\
**Post date:** [June 10, 2024, 2:37pm UTC](https://discourse.mozilla.org/t/uploaded-source-code-not-uploading/130485/11 "2024-06-10T14:37:42Z")

</div>

The AMO slug is “metatron”, see their [first post on MD](https://discourse.mozilla.org/t/regarding-our-add-on-rejected-by-mozilla-team/129545).
