# Bug OP-17053 - Error 500 on deleting Categories

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

## Open points

_No work packages_

## Details

| Attribute | Value |
| --- | --- |
| Date |  |
| Priority | Medium |
| Module |  |
| Target versions | 15.5.1 |
| Observed in versions |  |
| Sprint | 15.5.1 |
| Backlog bucket |  |
| Bug found in version (deprecated) |  |
| 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 | Oliver Günther |
| Designer |  |
| Ordered by |  |
| Signed off by |  |
| Interest by |  |

## Planning

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

## Costs

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

## Description

###   

### Steps to reproduce

1.  Login as admin and go to Administration/Files/Categories
    
2.  Click on three dots on any category and choose Delete
    

### What is the buggy behavior?

*   Error 500
    

### What is the expected behavior?

Deletion should be possible and such error should not be thrown.

### Environment information

**OpenProject version**

Core build

[7120140fde42eb1fa8586761b597d9d33336894e](https://github.com/opf/openproject/commits/7120140fde42eb1fa8586761b597d9d33336894e)

Product version

[919ed3e9d7608859d40b693fd235e2c6411d37a1](https://github.com/opf/saas-openproject/commits/919ed3e9d7608859d40b693fd235e2c6411d37a1)

Core version

OpenProject 15.5.1
