# Bug BIM-61 - Misleading error message: IFC upload (file size)

Project: Stream BIM
Status: closed
URL: https://community.openproject.org/work_packages/BIM-61

## Open points

_No work packages_

## Details

| Attribute | Value |
| --- | --- |
| Date |  |
| Priority | Medium |
| Module |  |
| Target versions | 14.1.0 |
| Observed in versions | 13.1.0 |
| Bug found in version (deprecated) | 13.1.x |
| Requires doc change | No |
| Accessibility | No |
| Pull preview |  |
| List |  |
| Labels |  |

## People

| Attribute | Value |
| --- | --- |
| Assignee |  |
| Accountable | Kabiru Mwenja |
| Product manager |  |
| Developers | OP Dev Titan Team |
| Designer |  |
| Signed off by |  |
| Interest by |  |

## Planning

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

## Costs

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

## Description

### Steps to reproduce

1.  Login as a user and navigate to a project where you have permissions to add an IFC model.
    
2.  Navigate to BCF module
    
3.  Click on _IFC models (Industry Foundation Classes)_
    
4.  Try to upload a new IFC model with a file size larger than the max. allowed attachment file size (Administration -&gt; System Settings -&gt; Attachments)
    
5.  Receive an error message
    

### What is the buggy behavior?

*   The error message does not show the correct error reason (file size to large).
    
*   OP instead shows an error message that is misleading (see screenshot below)
    

### What is the expected behavior?

1.  The error message should indicate that the allowed attachment file size is the reason why the file could not be uploaded.
    

### Screenshots and other files

Misleading error message:

<img class="op-uc-image op-uc-image_inline" src="/api/v3/attachments/88051/content">

### Environment information

**OpenProject installation type**

*   [ ] Hosted cloud edition
*   [ ] Packaged installation
    *   What distribution?
        
*   [x] Docker All-in-one container (probably affects all environments)
*   [ ] Docker-compose installation
*   [ ] Other (please specify)

**Browser**

*   [ ] Chrome
*   [x] Firefox
*   [ ] Safari
*   [ ] Mobile Safari
*   [ ] Other (please specify)

**Language**

_EN_

##### _When Fixed Back Port to the following Versions_

*   [ ] _14.0.x - <mention class="mention" data-id="80250" data-type="user" data-text="@Kabiru Mwenja">@Kabiru Mwenja</mention>_
