# Bug MEET-561 - Not possible to switch meeting status to 'closed' in API 

Project: Stream Meetings
Status: closed
URL: https://community.openproject.org/work_packages/MEET-561

## Open points

_No work packages_

## Details

| Attribute | Value |
| --- | --- |
| Date |  |
| Priority | Medium |
| Module | Modules and project features / Meetings, API |
| Target versions | 17.6.0 |
| Observed in versions |  |
| Bug found in version (deprecated) |  |
| Requires doc change | No |
| Accessibility | No |
| Pull preview |  |
| List |  |
| Labels |  |

## People

| Attribute | Value |
| --- | --- |
| Assignee | Oleksii Borysenko |
| Accountable |  |
| Product manager |  |
| Developers | Mir Bhatia |
| Designer |  |
| Ordered by |  |
| Signed off by |  |
| Interest by |  |

## Planning

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

## Costs

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

## Description

### Steps to reproduce

1.  Choose any meeting with an 'open' or 'in\_progress' status
    
    i.e.: <https://qa.openproject-edge.com/api/v3/meetings/3690>

2.  Change status with patch request to closed: i.e. PATCH <https://qa.openproject-edge.com/api/v3/meetings/3690>
    
    body: {"lockVersion": 6, "state": "closed"}

3.  Check the response
    
    <br>

### What is the buggy behavior?

*Please describe the bug in as much detail as possible. Example:*

  - Server returns an error: 

<!-- end list -->

``` text
 "_type": "Error",
    "errorIdentifier": "urn:openproject-org:api:v3:errors:PropertyConstraintViolation",
    "message": "This meeting is not editable anymore.",
    "_embedded": {
        "details": {
            "attribute": "base"
        }
    }
```

<br>

### What is the expected behavior?

1.  server should return a Meeting object similar to changing state to open or in\_progress
    
    <br>

### Important note

*changing status to open or in\_progress works fine.*

### 

### Screenshots and other files

<img class="image_resized op-uc-image op-uc-image_inline" style="width:376px;" src="/api/v3/attachments/922063/content">

<img class="image_resized op-uc-image op-uc-image_inline" style="width:349px;" src="/api/v3/attachments/922064/content">

###
