question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

errors not displayed on return with error 422

See original GitHub issue

I’m getting a 422 error while getting the return from a Laravel’s Form Request Validation class, but the <has-error> component are not being displayed…

POST http://project.build/save-account 422 (Unprocessable Entity)

register.js?id=51eaeeff0b3abd47a38c:5169 Uncaught (in promise) Error: Request failed with status code 422
    at createError (register.js?id=51eaeeff0b3abd47a38c:5169)
    at settle (register.js?id=51eaeeff0b3abd47a38c:5320)
    at XMLHttpRequest.handleLoad (register.js?id=51eaeeff0b3abd47a38c:4730)

What I can do to solve this problem???

Issue Analytics

  • State:closed
  • Created 5 years ago
  • Reactions:3
  • Comments:6 (1 by maintainers)

github_iconTop GitHub Comments

1reaction
koekavernacommented, Feb 22, 2019

Same issue. Show error page “Request failed with status code 422” on dev mode But works fine in production

“nuxt”: “2.4.3”, “axios”: “0.18.0”,

0reactions
Sweeeeepcommented, Jul 16, 2019

just comment this line image

Read more comments on GitHub >

github_iconTop Results From Across the Web

How To Fix the HTTP 422 Error - Kinsta
Unlike other HTTP errors, the HTTP 422 code will keep reappearing until you manage to troubleshoot the problem. Here's how to fix it....
Read more >
422 Unprocessable Entity - HTTP - MDN Web Docs
The HyperText Transfer Protocol (HTTP) 422 Unprocessable Entity response status code indicates that the server understands the content type ...
Read more >
How To Fix the HTTP 422 Error - YouTube
HTTP error 422 may not be as common as other codes such as 404 or 500- but don't worry! This guide is here...
Read more >
How to fix http 422 error: A Complete Guide - Distinguished.io
A brief tutorial on what a 422 Unprocessable Entity error code is, what it means, what causes it, and how to fix http...
Read more >
php - I can't display error messages in blade after I get 422 error
You probably want to change the render function, which I assume is from App\Exceptions\Handler.php to return JSON for exceptions where the ...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found