# `missing-required-field`

HTTP 422: Missing required field

## What it means

A required field is absent (the request schema requires it), or a field the organisation's settings or the resource state make mandatory is absent or null, or has no default to fill it (a line's analysis code when the stock item has none; a customer's `invoicePaymentBankAccountId` when several bank accounts match); `errors[]` names every missing field found at that stage.

## What to do

Send every field `errors[]` names (or set it on the record the message points to), then retry.

## The error response

Every error response has an `application/problem+json` body. For this error, its `code` is `missing-required-field` and its `type` is `https://api.omono.co/docs/errors/missing-required-field`. If you contact Omono about the error through the in-app chat, quote the response's `requestId`.
