Problems·HTTP 422
invalid-request
The request body was rejected.
What it means
The body parsed, but one or more fields were refused. Unknown fields are refused too.
What to do
Correct each field listed in errors.
Extra members
errors- Messages keyed by field name.
Example
Sent as application/problem+json (RFC 9457). Branch on type, which is stable. Never branch on title or detail, which are prose and may change.
{ "type": "https://www.einvoicing.dev/problems/invalid-request", "title": "The request body was rejected.", "status": 422, "detail": "…", "errors": "…"}All problem types
Every error the API can return, with what to do about each.
API reference
Every operation, its parameters and the errors it can answer with.