Error codes
validation.body_invalid
Request body parsed as JSON but failed bean-validation rules.
validation.body_invalid is returned at HTTP 400.
When this fires
Spring's MethodArgumentNotValidException is mapped to this code. The body was valid JSON and the right type, but one or more @NotNull / @Size / @Pattern constraints failed.
What to do
Walk the errors[] array — each entry has a path (JSON pointer-style field name) and a per-field code. Fix the offending fields and retry.
See also
- SDK reference — the Python and TypeScript SDKs raise typed exceptions for codes in this namespace.
- Error code index — every code the runtime can return.