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
- Keep each key in
keysin one list only. Leave it instringsto set or change its text, or inremoveto delete it from every locale. - To rename a key, put the new key in
stringsand the old key inremove. 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