KEY_SET_AND_REMOVED

Key both set and removed: what the KEY_SET_AND_REMOVED error means and how to fix it.

HTTP 422. Problem type: https://docs.ovok.com/errors/key-set-and-removed.

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

  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 with each key in one list. An unchanged call returns the same error. Nothing was written.

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 explains the response fields, and the machine-code registry lists every endpoint-specific type.

Last updated on

On this page