A validation error describes, in response to an invalid request, which fields are problematic and why. It is returned with a 400 or 422 code and a structured body listing fields and messages, so the client can display each error next to the right field.
Example
{ "errors": [{ "field": "email", "message": "Invalid format" }] }