{
"message": "Request failed with status code 404",
"name": "AxiosError",
"stack": "AxiosError: Request failed with status code 404n at settle (http://localhost:5000/node_modules/.vite/deps/axios.js?v=269784b8:1216:12)n at XMLHttpRequest.onloadend (http://localhost:5000/node_modules/.vite/deps/axios.js?v=269784b8:1562:7)n at Axios.request (http://localhost:5000/node_modules/.vite/deps/axios.js?v=269784b8:2078:41)",
"config": {
"transitional": {
"silentJSONParsing": true,
"forcedJSONParsing": true,
"clarifyTimeoutError": false
},
"adapter": [
"xhr",
"http",
"fetch"
],
"transformRequest": [
null
],
"transformResponse": [
null
],
"timeout": 0,
"xsrfCookieName": "XSRF-TOKEN",
"xsrfHeaderName": "X-XSRF-TOKEN",
"maxContentLength": -1,
"maxBodyLength": -1,
"env": {},
"headers": {
"Accept": "application/json, text/plain, */*",
"Content-Type": "application/json"
},
"method": "post",
"url": "http://localhost:5000/signup",
"data": "{"email":"[email protected]","password":"123","confirmpassword":"123"}"
},
"code": "ERR_BAD_REQUEST",
"status": 404
}
I need to fix this error, for the signup page that send data for registering the user in mongoDB