# Bug OP-6985 - Error 500 when trying to remove EE trial license (on PullPreview)

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

## Open points

_No work packages_

## Details

| Attribute | Value |
| --- | --- |
| Date |  |
| Priority | Medium |
| Module |  |
| Target versions | 10.5.0 |
| Observed in versions | 10.5.0 |
| Sprint | 10.5.0 |
| Backlog bucket |  |
| Bug found in version (deprecated) | 10.5.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**:

PullPreview (dev)

### **Steps to reproduce:**

1.  Request and activate Enterprise Edition trial license (using the new EE trial license mechanism).
2.  Delete trial license.

### **Actual Behavior**

Error 500 shown and license not deleted:

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

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

### **Expected Behavior**

License deleted.
