# Code View and Prototyper 404 Errors Loading Project

**URL:** https://community.firebasestudio.dev/t/code-view-and-prototyper-404-errors-loading-project/14487
**Category:** General
**Tags:** troubleshooting, app-hosting
**Created:** [June 4, 2025, 2:24am UTC](https://community.firebasestudio.dev/t/code-view-and-prototyper-404-errors-loading-project/14487 "2025-06-04T02:24:09Z")
**Posts on this page:** 20
**Page:** 1

<div class="post-metadata">

### Author: ![Jeremy\_Rexroad](https://sea2.discourse-cdn.com/flex002/user_avatar/community.firebasestudio.dev/jeremy_rexroad/32/6369_2.png) [@Jeremy\_Rexroad](https://community.firebasestudio.dev/u/Jeremy_Rexroad)
#### Post date: [June 4, 2025, 2:24am UTC](https://community.firebasestudio.dev/t/code-view-and-prototyper-404-errors-loading-project/14487/1 "2025-06-04T02:24:09Z")

</div>

Started having issues later this afternoon (EST) after committing some changes then all of a sudden started getting 404 errors across the Prototyper and Project IDX (code view) web consoles. They are showing `404 - This page could not be found.` I even tried to setup a minimal project and load it with the same results:

```auto
minimal-test{dev}$ npm run dev

> test-runner@0.1.0 dev
> next dev

  ▲ Next.js 14.2.29
  - Local: http://localhost:3000
  - Environments: .env.local, .env

 ✓ Starting...
 ✓ Ready in 6.1s
 ○ Compiling /_not-found ...
 ✓ Compiled /_not-found in 33.2s (479 modules)
 GET / 404 in 33244ms

```

Within my code view Gemini Prompt, it’s stating the following:

_The fact that a fresh, minimal Next.js project with the correct App Router structure fails to load the root path suggests something outside of your project’s control is interfering with the routing._

_While I don’t have direct insight into the internal workings of the Project IDX environment or the ability to diagnose environment-specific issues, here are some potential areas where the problem could lie:_

\*\* **Project IDX’s routing or proxy layer:** There might be a configuration or issue within Project IDX’s infrastructure that is incorrectly handling or blocking requests to the root path of Next.js applications.\*  
\*\* **Environment-specific build or serving quirks:** There could be nuances in how Project IDX builds or serves Next.js applications that are not standard and are causing this issue.\*  
\*\* **Resource limitations or container issues:** In rare cases, underlying container or resource limitations in the environment could manifest in unexpected ways, including routing problems.\*

_ **At this point, since we’ve exhausted the standard troubleshooting steps for a Next.js 404 and the issue persists in a minimal project, I recommend the following:** _

_ **Contact Project IDX Support:** This seems to be an environment-specific issue that requires assistance from the Project IDX support team. Provide them with the details of the problem, the steps you’ve taken (including creating the minimal project and confirming the 404 there), and the error messages you are seeing._

_They will have the necessary tools and knowledge to investigate potential environment-level causes for this routing problem._

_I apologize that I couldn’t resolve this issue directly. My capabilities are focused on code and project configuration within the IDE, and this appears to be an infrastructure-level problem._

\*Please reach out to Project IDX support, and they should be able to assist you further. \*

Anyone have any ideas on this by chance?

---

<div class="post-metadata">

### Author: ![user69](https://sea2.discourse-cdn.com/flex002/user_avatar/community.firebasestudio.dev/user69/32/7241_2.png) [@user69](https://community.firebasestudio.dev/u/user69)
#### Post date: [June 4, 2025, 4:46am UTC](https://community.firebasestudio.dev/t/code-view-and-prototyper-404-errors-loading-project/14487/2 "2025-06-04T04:46:33Z")

</div>

I’m having the same problem.

---

<div class="post-metadata">

### Author: ![Nosbus](https://sea2.discourse-cdn.com/flex002/user_avatar/community.firebasestudio.dev/nosbus/32/3553_2.png) [@Nosbus](https://community.firebasestudio.dev/u/Nosbus)
#### Post date: [June 4, 2025, 9:34am UTC](https://community.firebasestudio.dev/t/code-view-and-prototyper-404-errors-loading-project/14487/3 "2025-06-04T09:34:08Z")

</div>

yeah, its a p1, looks most vm are now toast, even hard restart has killed them or partially. Error opening workspace: We are currently experiencing increased load. Please come back and try again later.

---

<div class="post-metadata">

### Author: ![Rehmall](https://sea2.discourse-cdn.com/flex002/user_avatar/community.firebasestudio.dev/rehmall/32/4524_2.png) [@Rehmall](https://community.firebasestudio.dev/u/Rehmall)
#### Post date: [June 4, 2025, 1:29pm UTC](https://community.firebasestudio.dev/t/code-view-and-prototyper-404-errors-loading-project/14487/4 "2025-06-04T13:29:19Z")

</div>

You can easily fix this error.. we are experiencing high load… Just by doing simple steps.

First of all wait few time and reopen your workspace. If error is still showing then just share your workspace to another your google account and then open the workspace from that account.

I face the same error and everytime these steps works for Mee. So you can try maybe it’s work for you too.

---

<div class="post-metadata">

### Author: ![Jeremy\_Rexroad](https://sea2.discourse-cdn.com/flex002/user_avatar/community.firebasestudio.dev/jeremy_rexroad/32/6369_2.png) [@Jeremy\_Rexroad](https://community.firebasestudio.dev/u/Jeremy_Rexroad)
#### Post date: [June 4, 2025, 2:51pm UTC](https://community.firebasestudio.dev/t/code-view-and-prototyper-404-errors-loading-project/14487/5 "2025-06-04T14:51:21Z")

</div>

@Rehmall - My workspace opens just fine which isn’t my current issue. It’s within my workspace when now in my prototyper or code view that I’m getting a 404. Was also working fine till mid afternoon yesterday. Per my research, it may be an environmental issue out of my control…thoughts?

---

<div class="post-metadata">

### Author: ![Vincent\_Samaha](https://sea2.discourse-cdn.com/flex002/user_avatar/community.firebasestudio.dev/vincent_samaha/32/7700_2.png) [@Vincent\_Samaha](https://community.firebasestudio.dev/u/Vincent_Samaha)
#### Post date: [June 4, 2025, 5:39pm UTC](https://community.firebasestudio.dev/t/code-view-and-prototyper-404-errors-loading-project/14487/6 "2025-06-04T17:39:55Z")

</div>

I’m having an issue with the app previewer not reflecting code changes.

---

<div class="post-metadata">

### Author: ![Jeremy\_Rexroad](https://sea2.discourse-cdn.com/flex002/user_avatar/community.firebasestudio.dev/jeremy_rexroad/32/6369_2.png) [@Jeremy\_Rexroad](https://community.firebasestudio.dev/u/Jeremy_Rexroad)
#### Post date: [June 5, 2025, 3:46pm UTC](https://community.firebasestudio.dev/t/code-view-and-prototyper-404-errors-loading-project/14487/7 "2025-06-05T15:46:49Z")

</div>

I’m still having 404 issues including:

```auto
2025-06-05T15:43:08Z [web] ○ Compiling /_not-found ...
2025-06-05T15:43:12Z [web] ✓ Compiled /_not-found in 4.8s (478 modules)`

```

I even got this when I reverted back to a known previously working commit id in a new branch. I’m stumped for I’ve tried about everything I can think of.

---

<div class="post-metadata">

### Author: ![Jeremy\_Rexroad](https://sea2.discourse-cdn.com/flex002/user_avatar/community.firebasestudio.dev/jeremy_rexroad/32/6369_2.png) [@Jeremy\_Rexroad](https://community.firebasestudio.dev/u/Jeremy_Rexroad)
#### Post date: [June 5, 2025, 6:23pm UTC](https://community.firebasestudio.dev/t/code-view-and-prototyper-404-errors-loading-project/14487/8 "2025-06-05T18:23:29Z")

</div>

Found the issue. It appears that when I was coding, a change to the package.json file was executed. Even after that was executed, the app stated operational allowing more changes to be executed. When the dev server was restarted (due to connectivity issues yesterday with the VMs), the 404 started appearing and even my build for production had the 404 error. So, I had to go back through my commit IDs by loading them into new branches until I found the culprit during build/compilation. Once I found the culprit, I upgraded the necessary packages, etc, deleted my node modules folder, package json lock file, and the .next folder and restarted then my app was functional again. Not sure if this will help anyone or not but wanted to share my solution.

---

<div class="post-metadata">

### Author: ![Oren\_Alazraki](https://sea2.discourse-cdn.com/flex002/user_avatar/community.firebasestudio.dev/oren_alazraki/32/8152_2.png) [@Oren\_Alazraki](https://community.firebasestudio.dev/u/Oren_Alazraki)
#### Post date: [June 19, 2025, 2:44am UTC](https://community.firebasestudio.dev/t/code-view-and-prototyper-404-errors-loading-project/14487/9 "2025-06-19T02:44:41Z")

</div>

similar issue… i reverted my code and still no change - nothing works.

---

<div class="post-metadata">

### Author: ![Carlos\_Tecles](https://sea2.discourse-cdn.com/flex002/user_avatar/community.firebasestudio.dev/carlos_tecles/32/6443_2.png) [@Carlos\_Tecles](https://community.firebasestudio.dev/u/Carlos_Tecles)
#### Post date: [June 27, 2025, 8:55pm UTC](https://community.firebasestudio.dev/t/code-view-and-prototyper-404-errors-loading-project/14487/10 "2025-06-27T20:55:24Z")

</div>

> [@Jeremy\_Rexroad](#):
>
> package json lock file, an

Hi @Jeremy_Rexroad can you give more details how you solve the problem, please? I don’t know how to work with git ☹

I got the same problem today, out of the blue, while working in my project for the last 4+ weeks.  
I’m in dispair!!! 😵‍💫

I think my problem happened after implementing an AI functionality and the version of genIA em Node clashed.

**Did anyone find how to solve it?** @kirupa , can you help me out please?!

 ![image](https://us1.discourse-cdn.com/flex002/uploads/idxcommunity/original/2X/3/32f486c9c52f1c7ac826cfc39ec5d9dd39ae0c6d.png)

---

<div class="post-metadata">

### Author: ![Carlos\_Tecles](https://sea2.discourse-cdn.com/flex002/user_avatar/community.firebasestudio.dev/carlos_tecles/32/6443_2.png) [@Carlos\_Tecles](https://community.firebasestudio.dev/u/Carlos_Tecles)
#### Post date: [June 28, 2025, 4:07pm UTC](https://community.firebasestudio.dev/t/code-view-and-prototyper-404-errors-loading-project/14487/11 "2025-06-28T16:07:59Z")

</div>

To anyone that doesn’t know git as I don’t, thats the steps I did with help of a friend to get back to work:

1. Clean the capra context file

```auto
code /home/user/.idx/ai/capra-context-state.json

```

1. Delete the “node\_modules” folder  

2. Run a hard restart

---

<div class="post-metadata">

### Author: ![cellogirl1102](https://sea2.discourse-cdn.com/flex002/user_avatar/community.firebasestudio.dev/cellogirl1102/32/8539_2.png) [@cellogirl1102](https://community.firebasestudio.dev/u/cellogirl1102)
#### Post date: [June 28, 2025, 5:32pm UTC](https://community.firebasestudio.dev/t/code-view-and-prototyper-404-errors-loading-project/14487/12 "2025-06-28T17:32:58Z")

</div>

> [@Carlos\_Tecles](#):
>
> Clean the capra context file

Hi Carlos, I’m getting the same “404 this page could not be found” , yesterday the AI started getting really whacky on me and made a lot of changes that I did not ask for. I tried rolling back to a much earlier version of my app but that did not seem to help. I have also been working on my app for the past 4 weeks and it’s scary to think I could lose all of that work! Can you explain to me what you mean by “Clean the capra context file”? I used to be a java developer and I’m totally new to developing using AI… so I am not familiar with the lingo.

---

<div class="post-metadata">

### Author: ![Carlos\_Tecles](https://sea2.discourse-cdn.com/flex002/user_avatar/community.firebasestudio.dev/carlos_tecles/32/6443_2.png) [@Carlos\_Tecles](https://community.firebasestudio.dev/u/Carlos_Tecles)
#### Post date: [June 28, 2025, 7:29pm UTC](https://community.firebasestudio.dev/t/code-view-and-prototyper-404-errors-loading-project/14487/13 "2025-06-28T19:29:58Z")

</div>

Hi @cellogirl1102 , check my post here where I detail how to clean the capra file:

> [@How-to Enabling Prototyper on Existing Project + Prototyper Full Context Clear](https://community.firebasestudio.dev/t/how-to-enabling-prototyper-on-existing-project-prototyper-full-context-clear/13781/11):
>
> Hi @Martin_Cafiero , I made a personal process (unfortunately manual) I run every morning: At Prototyper: Ask to update all context files, keeping then optimized and concise At Code: Backup files using the Terminal timestamp=$(date +%Y%m%d%H%M%S); mkdir -p "/home/user/studio/context/context\_backup/" && cp "/home/user/.idx/ai/capra-context-state.json" "/home/user/studio/context/context\_backup/capra-context-state-${timestamp}.json" && cp "/home/user/.idx/ai/capra-thread.json" "/home/user/stud…

---

<div class="post-metadata">

### Author: ![Jeremy\_Rexroad](https://sea2.discourse-cdn.com/flex002/user_avatar/community.firebasestudio.dev/jeremy_rexroad/32/6369_2.png) [@Jeremy\_Rexroad](https://community.firebasestudio.dev/u/Jeremy_Rexroad)
#### Post date: [July 2, 2025, 12:21pm UTC](https://community.firebasestudio.dev/t/code-view-and-prototyper-404-errors-loading-project/14487/14 "2025-07-02T12:21:54Z")

</div>

@Carlos_Tecles - Sorry for the delay. I’m just checking to make sure you are back in business.

---

<div class="post-metadata">

### Author: ![Carlos\_Tecles](https://sea2.discourse-cdn.com/flex002/user_avatar/community.firebasestudio.dev/carlos_tecles/32/6443_2.png) [@Carlos\_Tecles](https://community.firebasestudio.dev/u/Carlos_Tecles)
#### Post date: [July 2, 2025, 5:06pm UTC](https://community.firebasestudio.dev/t/code-view-and-prototyper-404-errors-loading-project/14487/15 "2025-07-02T17:06:27Z")

</div>

Yeap! Back in business!

---

<div class="post-metadata">

### Author: ![Oren\_Alazraki](https://sea2.discourse-cdn.com/flex002/user_avatar/community.firebasestudio.dev/oren_alazraki/32/8152_2.png) [@Oren\_Alazraki](https://community.firebasestudio.dev/u/Oren_Alazraki)
#### Post date: [July 15, 2025, 6:41am UTC](https://community.firebasestudio.dev/t/code-view-and-prototyper-404-errors-loading-project/14487/16 "2025-07-15T06:41:05Z")

</div>

Hello @cellogirl1102 , I have been experiencing the same issue for 2 weeks now. nothing works, no matter what I do - I get the same result “404”. all my code is there, and even trying a new VM/project with the same code yields the same error. scary that we could lose it all. I wonder if you have made any progress? Google - help please.

---

<div class="post-metadata">

### Author: ![TimST](https://avatars.discourse-cdn.com/v4/letter/t/6f9a4e/32.png) [@TimST](https://community.firebasestudio.dev/u/TimST)
#### Post date: [July 15, 2025, 6:16pm UTC](https://community.firebasestudio.dev/t/code-view-and-prototyper-404-errors-loading-project/14487/17 "2025-07-15T18:16:44Z")

</div>

Hi @Oren_Alazraki,  
maybe this helps, I had the same issues and found a … simple bug in the file-structure…

[404 Error :- This Page could not be loaded](https://community.firebasestudio.dev/t/404-error-this-page-could-not-be-loaded/15755/8)

---

<div class="post-metadata">

### Author: ![Oren\_Alazraki](https://sea2.discourse-cdn.com/flex002/user_avatar/community.firebasestudio.dev/oren_alazraki/32/8152_2.png) [@Oren\_Alazraki](https://community.firebasestudio.dev/u/Oren_Alazraki)
#### Post date: [July 16, 2025, 2:09pm UTC](https://community.firebasestudio.dev/t/code-view-and-prototyper-404-errors-loading-project/14487/18 "2025-07-16T14:09:12Z")

</div>

Hello @TimST , Well, that was impressive – **thank you**. You solved a problem Google AI could not solve despite over 30 attempts of messing up my code. Unfortunately, you missed the little dance and chuckle I had when I realized how stupid the issue is, and how brilliantly you found it! Well done! 👌

---

<div class="post-metadata">

### Author: ![Billy](https://sea2.discourse-cdn.com/flex002/user_avatar/community.firebasestudio.dev/billy/32/9799_2.png) [@Billy](https://community.firebasestudio.dev/u/Billy)
#### Post date: [August 8, 2025, 7:29pm UTC](https://community.firebasestudio.dev/t/code-view-and-prototyper-404-errors-loading-project/14487/19 "2025-08-08T19:29:49Z")

</div>

I’ve been having the same issue myself for the past three weeks! Any help would be appreciated!

 ![Screenshot 2025-08-08 at 2.25.37 PM](https://us1.discourse-cdn.com/flex002/uploads/idxcommunity/original/2X/6/6847368811a8ad84a22c1005ef4f5ad32b7c5b4c.png)

---

<div class="post-metadata">

### Author: ![Alexander\_Castaneda](https://sea2.discourse-cdn.com/flex002/user_avatar/community.firebasestudio.dev/alexander_castaneda/32/11634_2.png) [@Alexander\_Castaneda](https://community.firebasestudio.dev/u/Alexander_Castaneda)
#### Post date: [November 20, 2025, 9:02pm UTC](https://community.firebasestudio.dev/t/code-view-and-prototyper-404-errors-loading-project/14487/20 "2025-11-20T21:02:22Z")

</div>

Hello, @Jeremy_Rexroad

Could you please provide more details on the solution to the problem?

I started having the same issue (404 | This page could not be found) when I wanted to correct the next.config.ts file.

Something went wrong, and my project began to show the 404 error. I tried to revert to a stable version through Firebase Studio’s version control, but the error persists.

[Next page](https://community.firebasestudio.dev/t/code-view-and-prototyper-404-errors-loading-project/14487.md?page=2)
