Just ignore it if you can't reproduce it. Who knows how it is testing your page.
Mar 30, 2021
5
Level 5
how to solve 409 Conflict in Validator with laravel 7
Hi, devs. I am having a problem in SEO (Ahrefs Site Audit) with Laravel Validator in Contact Page when I am returning errors via
$validator = Validator::make($request->all(), [
'name' => ['required', 'string', 'max:190'],
'email' => ['required', 'email', 'max:190'],
'subject' => ['required', 'string', 'max:190'],
'message' => ['required', 'string', 'max:2000']
]);
if ($validator->fails()) {
return response()->json([
'status' => false,
'errors' => $validator->errors()
], 200);
}
in Ahrefs site tell me I have this problem in Contact Page:
HTTP status code 409 Conflict
And The content type of this page:
text/html; charset=iso-8859-1
And the site classifies the problem as (Page has links to broken page)
But as you can see in the previous code, I returned the HTTP status (200) with an error message.
And in my contact page, there are no errors or warnings in (console)
This is the link to the page if you need it: https://blog.error-sd.com/contact
Please or to participate in this conversation.