# Bug OP-18085 - Sending a "name" property to the users API crashes

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

## Open points

_No work packages_

## Details

| Attribute | Value |
| --- | --- |
| Date |  |
| Priority | Medium |
| Module | API, Administration / User administration |
| Target versions | 17.0.0 |
| Observed in versions | 16.5.0 |
| Sprint | 17.0.0 |
| Backlog bucket |  |
| Bug found in version (deprecated) | 16.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 | Jan Sandbrink |
| Designer |  |
| Ordered by |  |
| Signed off by |  |
| Interest by |  |

## Planning

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

## Costs

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

## Description

### Steps to reproduce

1.  Send the following payload to the users api (e.g. `POST /api/v3/users` or `PATCH /api/v3/users/:id`):
    

```json
{
  "name": "ABC"
}
```

### What is the buggy behavior?

*   a 500 is produced
    
*   The client gets no feedback that the field is read-only
    

### What is the expected behavior?

1.  No 500
    
2.  Ideally report that the field is read-only, otherwise ignore the field.
    

###
