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

Can someone please help me with this error message #178

Open
Raghav2709 opened this issue Dec 22, 2023 · 4 comments
Open

Can someone please help me with this error message #178

Raghav2709 opened this issue Dec 22, 2023 · 4 comments

Comments

@Raghav2709
Copy link

Raghav2709 commented Dec 22, 2023

Screenshot (828)
This happens when I try to sign up as a new person on memories website.(Authentication Problem)
Error Message -
index.js:20

POST http://localhost:5000/user/signup 404 (Not Found)
auth.js:24
AxiosError {message: 'Request failed with status code 404', name: 'AxiosError', code: 'ERR_BAD_REQUEST', config: {…}, request: XMLHttpRequest, …}
code
:
"ERR_BAD_REQUEST"
config
:
{transitional: {…}, adapter: Array(2), transformRequest: Array(1), transformResponse: Array(1), timeout: 0, …}
message
:
"Request failed with status code 404"
name
:
"AxiosError"
request
:
XMLHttpRequest {onreadystatechange: null, readyState: 4, timeout: 0, withCredentials: false, upload: XMLHttpRequestUpload, …}
response
:
{data: '\n\n\n<meta char…e>Cannot POST /user/signup\n\n\n', status: 404, statusText: 'Not Found', headers: AxiosHeaders, config: {…}, …}
stack
:
"AxiosError: Request failed with status code 404\n at settle (http://localhost:3000/main.163b7d63dc2807d8e50b.hot-update.js:1572:12)\n at XMLHttpRequest.onloadend (http://localhost:3000/main.163b7d63dc2807d8e50b.hot-update.js:266:66)"
[[Prototype]]
:
Error

@Raghav2709 Raghav2709 changed the title Can someone please help me with this probel Can someone please help me with this error message Dec 22, 2023
@swarnim-dev
Copy link

Can you please share the corresponding code of server-side that's handling the post request. I'd also like to add that '404' indicates 'non found', this may indicate that an endpoint is not correctly configured to /user/signup

@JyothsnaVellampalli
Copy link

@Raghav2709 check if you are running server on port 5000.

@shristiss
Copy link

hey, any updates? I am also stuck on this issue!

@Saibaba161
Copy link

I too am stuck here

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

5 participants