cretueusebiu / laravel-vue-spa

A Laravel-Vue SPA starter kit.

Home Page:https://laravel-vue-spa.cretueusebiu.com

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Error Log

emanuelriolan opened this issue · comments

Everything is work, unfortunly error show on console :

xhr.js?b50d:160 PATCH http://localhost:8002/api/settings/password 422 (Unprocessable Entity)
vue.common.dev.js?4650:630 [Vue warn]: Error in v-on handler (Promise/async): "Error: Request failed with status code 422"
found in

---> at resources/js/pages/settings/password.vue
at resources/js/pages/settings/index.vue
at resources/js/components/Child.vue
at resources/js/layouts/default.vue

vue.common.dev.js?4650:1893 Error: Request failed with status code 422
at createError (createError.js?2d83:16)
at settle (settle.js?467f:18)
at XMLHttpRequest.handleLoad (xhr.js?b50d:59)

commented

Error 422 Unprocessable Entity : means the request was invalid.
Maybe you were logged out or the token was expired when making the request. (Wrong username or password)