I hit a snag. Please try again shortly or modify your prompt

I need help with the followin please
( even if i just say hi i get the error )

  • I restarted the VM / did not work
  • I cleared the chat / did not work
  • This problem is only on 1 of my projects

Sorry, I hit a snag. Please try again shortly or modify your prompt.
[GoogleGenerativeAI Error]: Error fetching from https://monospace-pa.googleapis.com/v1/models/gemini-2.5-pro:streamGenerateContent?alt=sse: [400 Bad Request] The input token count (1049240) exceeds the maximum number of tokens allowed (1048576).

I am having the same issue. Tried everything so far but can’t get it moving at all!! Requested support but nothing has been done for over a day

1 Like

I’m facing same issue

1 Like

I have contacted the support team, and have tried all the ways described currently , but nothing seems to work.

the support team told me that they know about this issue and are trying to come up with a solution.. but since the application we have created are now becoming not manageable with the current situation’s ? So do we have to wait for rollout of a new patch or is this a temporary problem ( because they told me they cant give a date when this issue will be fixed ) .

if anyone recently has been helped or knows the solution please advise as well .

I have tried duplicating project, issue is - I can’t then, get the proto-typer to work.

Do you know how to get the proto-typer to work in this way? Or is your guess as good as mine ahah

1 Like

dont know about that, but i did shared the project with another user , and then tried from there , (also did not work. ) so you know i dont want to be self resolcing this issue since its a common issue now

Its a petty random bug… just wait 1 to 3 hours and it should be working again.

1 Like

It’s been more than 16 for me

1 Like

I get this version of this “I hit a snag error”:
[GoogleGenerativeAI Error]: Failed to parse stream

Anyone know why? how to fix?

1 Like

its been 8 days for me!

Seems like a similair version but with a diffrent input, so i think really someone from Firebase studio should help with the fix.

1 Like

( This message is from the Firebase Studio Team, For me it did not work )

Since it can sometimes be tricky to decide which files can be ignored to reduce the data used by the AI Prototyper, we recommend using the following command in your terminal:

find . -type d ( -name “node_modules” -o -name “.next” ) -prune -o -type f -size +1M -exec ls -lh {} + | tee heavy_files.txt

Finding Files to Exclude

  1. Click on the “switch to command” icon in the right corner of your interface.
  2. Choose “New Terminal”.
  3. Enter the command we discussed into the terminal and press enter/run.
  4. A new file named “heavy_files.txt” will be created. In this file, you’ll find a list of files sorted by size that you might consider ignoring and adding to your /.aiexclude file.

If these steps don’t bring the required effect, we’ll unfortunately have to wait for the fix from the product team. You can keep an eye out for any updates regarding this issue in our release notes or the Firebase Studio Community.
In the meantime, have a good day! If you have any further concerns, please feel free to contact us.