# required

The operation needs a request body and none was sent (400).

## Meaning

Written before the handler runs: the operation declares a required body and the
request had none. It is not the per-field `required` code inside `errors`.

## Impact

The request did nothing. It is a client bug, often a missing `Content-Type` or a body
dropped by a proxy.

## Diagnosis

The refusal is recorded as `http.request.screened` with reason `invalid_request` and
cause `schema_invalid`. Check whether the client sent a body and whether a proxy
strips it.

## Mitigation

- As a client developer: send the body the API reference declares, with its
  `Content-Type`.

## Escalation

Escalate when a request with a body is answered this way. Open an issue with the
request id, the endpoint and the server version.

---

[Problem code runbooks](https://www.nauthera.io/docs/v1/runbooks/problems) · Generated from [`internal/runbook/problems.yaml`](https://github.com/nauthera/nauthera-server/blob/main/internal/runbook/problems.yaml) in nauthera-server.
