# last_owner

> The last_owner Problem Details code: A workspace needs at least one owner. Make someone else an owner first.

Source: https://docs.nexafone.so/v1/errors/last_owner/

| | |
| --- | --- |
| HTTP status | `409` |
| Area | Keys and SDK sessions |
| Problem `type` | `https://docs.nexafone.so/errors/last_owner` |

## What the `detail` says

The `detail` explains the occurrence; it can read, for example:

- A workspace needs at least one owner. Make someone else an owner first.
- The store … (…) needs at least one owner, and this user is its last. Make someone else an owner first.

## Handling it

The current state does not allow this; read it again before retrying.

## Example

```json
{
  "type": "https://docs.nexafone.so/errors/last_owner",
  "title": "Conflict",
  "status": 409,
  "code": "last_owner",
  "detail": "A workspace needs at least one owner. Make someone else an owner first.",
  "requestId": "01J9Z8Q4TQ3W6M5V2X7Y8Z9A0B"
}
```

Match on `code`, never on `detail`: the wording may change. See [Problem Details](/v1/errors/).
