# KEY_SET_AND_REMOVED

Canonical page: https://docs.ovok.com/errors/key-set-and-removed

**HTTP 422.** Problem type: [`https://docs.ovok.com/errors/key-set-and-removed`](https://docs.ovok.com/errors/key-set-and-removed).

## What this means [#what-this-means]

The same key is in both `strings` and `remove` in one `set_cms_translations` call, so Ovok cannot tell whether to set or delete it. The tool wrote nothing. The error lists those keys in `keys`.

## Troubleshooting [#troubleshooting]

1. Keep each key in `keys` in one list only. Leave it in `strings` to set or change its text, or in `remove` to delete it from every locale.
2. To rename a key, put the new key in `strings` and the old key in `remove`. Do not list the same key in both.

## Retry safely [#retry-safely]

Retry with each key in one list. An unchanged call returns the same error. Nothing was written.

## If the problem persists [#if-the-problem-persists]

Share the HTTP status, problem `type`, request path, response timestamp and `traceId` with your administrator or support contact. Remove access tokens, provider secrets and patient data first. The [Error responses guide](/errors) explains the response fields, and the [machine-code registry](/errors/machine-codes) lists every endpoint-specific type.
