# GENDER_DETAIL_INVALID

Canonical page: https://docs.ovok.com/errors/gender-detail-invalid

**HTTP 422.** Problem type: [`https://docs.ovok.com/errors/gender-detail-invalid`](https://docs.ovok.com/errors/gender-detail-invalid).

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

A resident create or update sent `genderDetail` with a `gender` other than `other`. The detail says which administrative gender `other` is, `diverse` (D) or `unspecified` (X), as German base profiles' `gender-amtlich-de` records it, so it belongs to `other` only. Nothing was written.

## Troubleshooting [#troubleshooting]

1. Send `gender: "other"` together with the detail, or leave `genderDetail` out (or `null`) for any other gender.
2. To remove a stored detail, send `genderDetail: null`; changing the gender away from `other` drops it as well.

## Retry safely [#retry-safely]

Safe to send again once the gender and its detail agree; the same request keeps answering 422.

## 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.
