# Error when trying to upload a file larger than 1 megabyte to the story

**URL:** <https://community.taiga.io/t/error-when-trying-to-upload-a-file-larger-than-1-megabyte-to-the-story/2180>\
**Category:** Troubleshooting\
**Tags:** issues, docker\
**Created:** [November 21, 2023, 7:16pm UTC](https://community.taiga.io/t/error-when-trying-to-upload-a-file-larger-than-1-megabyte-to-the-story/2180 "2023-11-21T19:16:25Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![gvzlom](https://dub1.discourse-cdn.com/flex017/user_avatar/community.taiga.io/gvzlom/32/1801_2.png) [@gvzlom](https://community.taiga.io/u/gvzlom)\
**Post date:** [November 21, 2023, 7:16pm UTC](https://community.taiga.io/t/error-when-trying-to-upload-a-file-larger-than-1-megabyte-to-the-story/2180/1 "2023-11-21T19:16:25Z")

</div>

I installed taiga via `docker,` and when I try to upload a file larger than 1 megabyte I get an error `413 Request Entity Too Large` from the `/api/v1/userstories/attachments` endpoint.  
Tell me how to increase the size of the uploaded file?

---

<div class="post-metadata">

**Author:** ![daniel.herrero](https://dub1.discourse-cdn.com/flex017/user_avatar/community.taiga.io/daniel.herrero/32/301_2.png) [@daniel.herrero](https://community.taiga.io/u/daniel.herrero)\
**Post date:** [November 23, 2023, 6:54am UTC](https://community.taiga.io/t/error-when-trying-to-upload-a-file-larger-than-1-megabyte-to-the-story/2180/2 "2023-11-23T06:54:43Z")

</div>

> [@gvzlom](#):
>
> /api/v1/userstories/attachments

Hi @gvzlom

Welcome to the community!

Regarding your error, it doesn’t seem to be a problem in Taiga, but a typical message previous to Taiga.

For example if you have set an Nginx proxypassing the connections I’d look in its settings: [Error: 413 “Request Entity Too Large” in Nginx with “client\_max\_body\_size” / Changes in Nginx config file. | by Shubham Verma | Medium](https://medium.com/@svsh227/error-413-request-entity-too-large-in-nginx-with-client-max-body-size-changes-in-nginx-6aacd525fe11)

Regards

---

<div class="post-metadata">

**Author:** ![gvzlom](https://dub1.discourse-cdn.com/flex017/user_avatar/community.taiga.io/gvzlom/32/1801_2.png) [@gvzlom](https://community.taiga.io/u/gvzlom)\
**Post date:** [November 29, 2023, 1:44am UTC](https://community.taiga.io/t/error-when-trying-to-upload-a-file-larger-than-1-megabyte-to-the-story/2180/4 "2023-11-29T01:44:10Z")

</div>

I installed only through the original docker-compose from you and there really is a container with nginx, I added what is written in the article above, but alas it did not help =( maybe there is nginx somewhere in other containers ?

---

<div class="post-metadata">

**Author:** ![daniel.herrero](https://dub1.discourse-cdn.com/flex017/user_avatar/community.taiga.io/daniel.herrero/32/301_2.png) [@daniel.herrero](https://community.taiga.io/u/daniel.herrero)\
**Post date:** [November 30, 2023, 7:43am UTC](https://community.taiga.io/t/error-when-trying-to-upload-a-file-larger-than-1-megabyte-to-the-story/2180/5 "2023-11-30T07:43:18Z")

</div>

> [@gvzlom](#):
>
> and when I try to upload a file larger than 1 megabyte I get an error `413 Request Entity Too Large` from the `/api/v1/userstories/attachments` endpoint.  
> Tell me how to increase the size of the uploaded file?

What is the size of the file you’re trying to upload? I’ve installed Taiga from scratch and I’ve been able to upload a 1,9mb file.

 ![image](https://europe1.discourse-cdn.com/flex017/uploads/taiga/original/2X/6/662b6a471eb151c07b1ee8b10d494bffd79c119b.png)

As it really takes very little time, I recommend you to repeat a clean installation, verifying you can upload a similar sized file, and then start to change it according to your custom requirements.

---

<div class="post-metadata">

**Author:** ![gvzlom](https://dub1.discourse-cdn.com/flex017/user_avatar/community.taiga.io/gvzlom/32/1801_2.png) [@gvzlom](https://community.taiga.io/u/gvzlom)\
**Post date:** [December 4, 2023, 11:10pm UTC](https://community.taiga.io/t/error-when-trying-to-upload-a-file-larger-than-1-megabyte-to-the-story/2180/6 "2023-12-04T23:10:07Z")

</div>

Hi, I checked the server again and nginx was actually installed. Thanks for the help colleagues, I fixed everything!
