Sudden 404 Error in Firebase Studio Project

Hi everyone,

My Firebase Studio project was running perfectly on IDX. Suddenly, my app stopped working and started giving 404 errors. I hadn’t touched any JSON file when the issue appeared. I tried downgrading Next.js from version 15 to 14.2.5, but the problem persists.
When I test the app at:

https://6000-firebase-studio-1753775372527.cluster-htdgsbmflbdmov5xrjithceibm.cloudworkstations.dev/dashboard

it shows a 404 error. My folder structure is correct, and I am using the app route properly.
Is anyone else facing this, or is there an update on IDX that could be causing this issue?
Thanks for any help.

A 404 error means that you are attempting to load a page that your Next.js app doesn’t have a route for. Next.js is failing to render this route. It could be that Next.js isn’t building for another reason and is unable to render any route. Review the server build logs in code mode to see if you are building successfully.

If your app is building successfully (I suspect it isn’t) then look at this log for which route is giving the 404 and ask Gemini to fix it.

1 Like

I was curious as to how this ended. Did asking Gemini to fix it work? I would also like to know what happened prior to the 404-error showing up.