Dynamic path on Render deployment not working

I’m having trouble getting a dynamic React route to work on render. All my other, non-dynamic routes work, but this one doesn’t for some reason and I’m not sure why. This route also works fine when I run the app locally, but deployment wise I just get a “Cannot GET Error”. Is there some file I need to add to make this work?

<Route path=“/resetPassword/:id/:token” element={ ResetPassword } />

https://myapp.onrender.com/login works
https://myapp.onrender.com/123/456 does not work, even though it should


Can you provide more details about your app on Render? What service type have you picked? etc.

Render Support, UTC+3

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.