Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Error: Request failed with status code 422 #428

Closed
sajumani opened this issue Aug 29, 2016 · 2 comments
Closed

Error: Request failed with status code 422 #428

sajumani opened this issue Aug 29, 2016 · 2 comments

Comments

@sajumani
Copy link

Hi,

am getting error, in my catch function not handling errors
Error: Request failed with status code 422
var error = new Error(message);

@sajumani
Copy link
Author

Itseem your plugin issue.. i fixed ...!!!

@jalaluddin94
Copy link

how do you resolve the error 422? I read there must be a semantycal error in the axios request. I am making an axios POST request to fastAPI with correct url, and body/payload data (eg. the username and password inserted). But I keep getting the response 422, and there's:
createError webpack://[name]/./node_modules/axios/lib/core/createError.js?:16
settle webpack://[name]/./node_modules/axios/lib/core/settle.js?:17
handleLoad webpack://[name]/./node_modules/axios/lib/adapters/xhr.js?:59

Please help me.

@axios axios locked and limited conversation to collaborators May 21, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants