# Stock At Prototype Issues

**URL:** https://community.firebasestudio.dev/t/stock-at-prototype-issues/12554
**Category:** General
**Created:** [May 18, 2025, 9:15am UTC](https://community.firebasestudio.dev/t/stock-at-prototype-issues/12554 "2025-05-18T09:15:34Z")
**Posts on this page:** 5
**Page:** 1

<div class="post-metadata">

### Author: ![ohakwe](https://sea2.discourse-cdn.com/flex002/user_avatar/community.firebasestudio.dev/ohakwe/32/6625_2.png) [@ohakwe](https://community.firebasestudio.dev/u/ohakwe)
#### Post date: [May 18, 2025, 9:15am UTC](https://community.firebasestudio.dev/t/stock-at-prototype-issues/12554/1 "2025-05-18T09:15:34Z")

</div>

Since 7 days now, i can’t even use the prototype anymore.

I keep receiving this error:

[GoogleGenerativeAI Error]: Error fetching from [https://monospace-pa.googleapis.com/v1/models/gemini-2.5-pro-preview-03-25:streamGenerateContent?alt=sse:](https://monospace-pa.googleapis.com/v1/models/gemini-2.5-pro-preview-03-25:streamGenerateContent?alt=sse:) [400 Bad Request] The input token count (1049722) exceeds the maximum number of tokens allowed (1048576).

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

I have even removed all the AI related models as i am not using any gemini AI for my project.

I have equally read all previous threads and it seems there is no solution to this.

What should i do?

Help me.

---

<div class="post-metadata">

### Author: ![Tom](https://sea2.discourse-cdn.com/flex002/user_avatar/community.firebasestudio.dev/tom/32/6496_2.png) [@Tom](https://community.firebasestudio.dev/u/Tom)
#### Post date: [May 19, 2025, 7:06pm UTC](https://community.firebasestudio.dev/t/stock-at-prototype-issues/12554/2 "2025-05-19T19:06:38Z")

</div>

I have posted the cause of this error, which occurs when the number of input tokens exceeds the limit, and a tentative solution (unofficial).

Please take a look:

> [@Temporary workaround for error due to exceeding input token count (unofficial)](https://community.firebasestudio.dev/t/temporary-workaround-for-error-due-to-exceeding-input-token-count-unofficial/12457):
>
> Good news for those who are having trouble with the input token count exceeding the limit! I’ve found a temporary solution. However, please note that this is not an official solution. The error discussed in this article [GoogleGenerativeAI Error]: Error fetching from https://monospace-pa.googleapis.com/v1/models/gemini-2.5-pro-preview-03-25:streamGenerateContent?alt=sse: [400 Bad Request] The input token count (1053137) exceeds the maximum number of tokens allowed (1048576).

---

<div class="post-metadata">

### Author: ![ohakwe](https://sea2.discourse-cdn.com/flex002/user_avatar/community.firebasestudio.dev/ohakwe/32/6625_2.png) [@ohakwe](https://community.firebasestudio.dev/u/ohakwe)
#### Post date: [May 19, 2025, 7:36pm UTC](https://community.firebasestudio.dev/t/stock-at-prototype-issues/12554/3 "2025-05-19T19:36:22Z")

</div>

This is not working.

I have read and applied this too but it is not working for me.

---

<div class="post-metadata">

### Author: ![Tom](https://sea2.discourse-cdn.com/flex002/user_avatar/community.firebasestudio.dev/tom/32/6496_2.png) [@Tom](https://community.firebasestudio.dev/u/Tom)
#### Post date: [May 19, 2025, 7:50pm UTC](https://community.firebasestudio.dev/t/stock-at-prototype-issues/12554/4 "2025-05-19T19:50:59Z")

</div>

@ohakwe, have you implemented the following important step that I have just recently added and updated to my post?

> [@Temporary workaround for error due to exceeding input token count (unofficial)](https://community.firebasestudio.dev/t/temporary-workaround-for-error-due-to-exceeding-input-token-count-unofficial/12457/1):
>
> 1. Open `.gitignore` and add the following to the bottom:
> 
> ```auto
> # prototyper
> /context_backup
> 
> ```
> 
> ![.gitignore](https://us1.discourse-cdn.com/flex002/uploads/idxcommunity/original/2X/6/6c029f34080fcf72b9e8f59e1418f634927be49c.png)
> 
> Note: This prevents the `context_backup` folder and the backup files within it from being used as input for the App prototyper agent context.

---

<div class="post-metadata">

### Author: ![Hatim\_Hassan](https://sea2.discourse-cdn.com/flex002/user_avatar/community.firebasestudio.dev/hatim_hassan/32/3565_2.png) [@Hatim\_Hassan](https://community.firebasestudio.dev/u/Hatim_Hassan)
#### Post date: [July 10, 2025, 4:47pm UTC](https://community.firebasestudio.dev/t/stock-at-prototype-issues/12554/5 "2025-07-10T16:47:45Z")

</div>

hello there …  
i found a solution for the issue above 😁"  
short lines:\_  
1/ open your terminal and navigate by running the command : ls -al ~/.idx/ai  
2/you will list of the prototybes that demand your tokens 😋  
3/start deleting using the command : rm -rf (the directory you want to delete).  
4/restart your VM by navigating to the studio .

and huurrrrry …

conclusion:  
I advice you to search about the info you want to delete.
