# Bug OP-7435 - "An internal error has occurred" displayed when file size exceeded on direct upload

Project: OpenProject
Status: closed
URL: https://community.openproject.org/work_packages/OP-7435

## Open points

_No work packages_

## Details

| Attribute | Value |
| --- | --- |
| Date |  |
| Priority | Medium |
| Module |  |
| Target versions | 11.0.0 |
| Observed in versions | 11.0.0 |
| Sprint | 11.0.0 |
| Backlog bucket |  |
| Bug found in version (deprecated) | 11.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 | Markus Kahl |
| Accountable |  |
| Product manager |  |
| Developers |  |
| Designer |  |
| Ordered by |  |
| Signed off by |  |
| Interest by |  |

## Planning

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

## Costs

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

## Description

### TODO

  - Progress bar is not show

### **Steps to reproduce:**

1.  Go to a work package on a openproject-edge.com instance
2.  Try to upload a large file (say 2GB)

### **Actual Behavior**

"An internal error has occured" is displayed.

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

### **Expected Behavior**

The error message returned by the API call should be shown just like it happens for normal uploads.

## Relevant spots in code

1.  <https://github.com/opf/openproject/blob/dev/frontend/src/app/modules/hal/resources/mixins/attachable-mixin.ts#L178>
2.  <https://github.com/opf/openproject/blob/dev/frontend/src/app/components/api/op-file-upload/op-direct-file-upload.service.ts#L50>
