404 on dynamic segment nested beneath parallel route slot
Unanswered
Madeiran sardinella posted this in #help-forum
Madeiran sardinellaOP
Hi! I'm currently struggling on hitting my dynamic route properly. I am trying to implement my app so that
However, I am currently getting 404 errors trying to access
app/@profile route is accessible in app/layout.tsxhttp://site.com/profile/view/[id] is accessible via hard navigationhttp://site.com/profile is accessible via hard navigation (populates with logged in user data)However, I am currently getting 404 errors trying to access
http://site.com/profile/view[id]. I've tried renaming the view folder to an intercept route like (..profile) with no success either. Can anyone tell me at a glance if I've setup my directory incorrectly? Thank you â¤ï¸3 Replies
Madeiran sardinellaOP
Forgot screenshot 🙂
Knopper gall
I'm having the same exact issue too.
I'm trying to make a page route for /payments/[paymentId] but getting a page not found issue.
I'm trying to make a page route for /payments/[paymentId] but getting a page not found issue.
Knopper gall
I got it to work!
I had to split my code into route groups.
So basically one route group does not have the dynamic route and the other one does.
I had to split my code into route groups.
So basically one route group does not have the dynamic route and the other one does.