Getting 404 but logs showing 200 #66257
Replies: 2 comments
-
|
Still no clue what caused this... I changed the route from signupflow to signup_flow and it all suddenly worked.... |
Beta Was this translation helpful? Give feedback.
-
|
Same in pages router when using |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
Hi!
I am at a loss of how to fix this so would love some help. I have been developing in localhost and just deployed to a website address on vercel yesterday.
Everything was working on localhost and most things work on vercel, except when middleware is redirecting me to a specific page (basically a signup route), I am getting a 404 error on the page... yet in the logs it shows as a 200 code and no errors.
This is an example of the route:
/dashboard/signupflow/step2
[Error] Failed to load resource: the server responded with a status of 404 () (step2, line 0)
If the user is redirected to this route (or anything with signupflow in it) it returns a 404... if not, it works...
I am sure I have a bug somewhere, my problem is it works 100% in localhost and I am getting a 200 in the logs on vercel so I am not sure where to look.
There is no layout file in any of these and some of the pages in this route are super basic.
Does anyone have any thoughts as to what I could investigate here? Or has had a similar issue before?
Thanks in advance!
Beta Was this translation helpful? Give feedback.
All reactions