Why the $request->validate() does not return error json?

Hello!
I have ajax method in this method send email.
public function uniqEmail(Request $request){
$request->validate([
 "email"=> "unique:users"
]);
 }

If I understand correctly then if the validation has not passed should return a response 442 - errors for example: "the email Data uzer was" in json format.
However, the answer comes but errors I do not see.

Error: Request failed with status code 422
at createError (app.js:668)
at settle (app.js:831)
at XMLHttpRequest.handleLoad (app.js:201)
Tell me what could be wrong.
March 23rd 20 at 18:40
0 answer

Find more questions by tags Laravel