Next.js Discord

Discord Forum

Next-Approute-issue with routegroup after deployment to linux server

Unanswered
Eastern yellowjacket posted this in #help-forum
Open in Discord
Eastern yellowjacketOP
We have folder structure as app/[locale]/(base)/home/page.jsx when we deploy this project in linux machine, somehow route path is not resolved when we try the "/home" we got error as "_next/static/chunks/app/%5Blocale%5D/(base)/layout.js net::ERR_ABORTED 403 (Forbidden)"

we observed this error after we introduced routegroup which is inside [locale]

We also did verify one more scenaion where we have routegroup inside another routegroup in this case also we got the same error as forbidden

ROUTERGROUP is workng only if ther is only one level not in multilevel scenaion in linux system however it did work fine in local windows system with prod build
so can someone help us to resolve this issue. #vercel-help #next-auth #bug

0 Replies