# Bug OP-6361 - 413 Error during attachment upload

Project: OpenProject
Status: rejected
URL: https://community.openproject.org/work_packages/OP-6361

## Open points

_No work packages_

## Details

| Attribute | Value |
| --- | --- |
| Date |  |
| Priority | Medium |
| Module |  |
| Target versions |  |
| Observed in versions | 10.0.0 |
| Sprint |  |
| Backlog bucket |  |
| Bug found in version (deprecated) | 10.0.x |
| Found in mobile app version |  |
| Follow-up feedback e-mail |  |
| Requires doc change | No |
| Accessibility | No |
| Pull preview |  |
| List |  |
| Labels |  |

## People

| Attribute | Value |
| --- | --- |
| Assignee |  |
| Accountable |  |
| Product manager |  |
| Developers |  |
| Designer |  |
| Ordered by |  |
| Signed off by |  |
| Interest by |  |

## Planning

| Attribute | Value |
| --- | --- |
| Relevance |  |

## Costs

| Attribute | Value |
| --- | --- |
| Votes |  |
| Work |  |
| Labor costs |  |

## Description

### **Environment**:

OpenProject Version: 10.0.2  
Ubuntu 18.04.3 / Chrome / Russian

### **Logs**

No errors are found neither in OpenProject nor in Apache logs. Browser console shows some though (attached):

![](/api/v3/attachments/16514/content)

### **Steps to reproduce:**

1.  Go to any work package or  any other module with file attachment functionality.
2.  Click on attach and select a file bigger than 1 Mb.

### **Actual Behavior**

Clean OS, clean install of 10.0.2 OpenProject. Attachment size is set to 100 Mb in settings. Can't attach a file bigger than 1 Mb neither to work package nor to any other module, seeing this:

![](/api/v3/attachments/16515/content)

### **Expected Behavior**

No errors, file attached.
