A brief explanation of the error.
Extra information about what went wrong.
The name of the value that failed validation.
The HTTP status of the error.
The error when a request a client sends is incorrect and fails validation.
{
"type": "VALIDATION",
"status": 422,
"message": "Invalid request",
"value_name": "author",
"info": "author name is a bit too cringe"
}
Shared fields between all error response variants.