I’ve been getting this error all day on any and every project I try. Is there an outage that anyone knows of. Or is anyone experiencing the same?
I’m in a project trying to ask AI and any and everything I ask gets this.
Sorry, I hit a snag. Please try again shortly or modify your prompt.
there is a temporary solution in this forum
I have searched a few terms. Would you happen to have a link to the solution?
okay, here is the link : Temporary workaround for error due to exceeding input token count (unofficial) but this solution ain’t working anymore so read it just so that you understund the error. i mean the exact comands ain’t working anymore. firstly you’ll type in the terminal timestamp=$(date +%Y%m%d%H%M%S); \ mkdir -p "/home/user/studio/context_backup/" && \ cp "/home/user/.idx/ai/prototyper-context-state.json" "/home/user/studio/context_backup/prototyper-context-state-${timestamp}.json" && \ cp "/home/user/.idx/ai/prototyper-thread.json" "/home/user/studio/context_backup/prototyper-thread-${timestamp}.json"
this is to keep backup of your context file in case if things went wrong(trust me its important). then after you do, you’ll type code /home/user/.idx/ai/prototyper-context-state.json
this is the file where the context of gemeni is stored, and thats why you are getting that problem. after you typed this in the terminal you’ll continue with step 9 in the link i sent you.
1 Like
For anyone that this happend to. looks like Google found the bug and have updated something. The AI Should now fix itself. it said
" The error message you received is because I previously misconfigured your firebase.json
file, leaving it in a state where Firebase didn’t know which part of your project to deploy.
I will now provide the correct configuration for firebase.json
to explicitly point to your main Next.js application at the root of the project. This will resolve the deployment error."