Keep getting "An internal error occurred" in AI Studio Build. Weird behavior

Yesterday and today i am getting the weird behavior by using AI Studio Build.

Can prompt (to develop) my application till i get a message in my prompt window to enter a API key cause daily limit has been reached. I provide (just like yesterday) a valid API key in the prompt and the behavior starts:

Getting constant “An internal error occurred”. API key is valid. Tried new API keys. Billing account is enabled and valid and in “active” state.

Sometimes a prompt “get true” and a valid expected response is received but that’s 1 out of 20 prompts or so. Yesterday i had the same issue/behavior and suddenly this behavior disappear this morning, (properly caused by the reset of the daily “free” prompts i assume.

I also validated that the API key is available under Settings → API Key. Got the behavior with all models, switching between models doesn’t fix the issue.

Switching browsers, in Cognito mode tried all of these including. Even a simple “hello” in the prompt and i get most of the time the error.

Just some examples:

User

hello

Gemini 3 Flash PreviewRan for 0s

errorAn internal error occurred.

Gemini 3 Flash PreviewRan for 108s

lightbulbThought for 68 seconds

gradingRan quality control

errorAn internal error occurred.

Gemini 3 Flash PreviewRan for 543s

lightbulbThought for 534 seconds

editEdited 1 file

server.ts

check_circle

Checkpoint

errorAn internal error occurred.

Update 1: Created a fresh new project, first prompt en same error.

Update 2:

API details in Googe Clound API console 8 minutes avg latency WTF:

Update 3: Noticed another thread were WebSocket issue’s were seen. Got the same issue seems like:

Please i really need any help with this

1 Like

Just change your model, or restart your computer. For the WebSocket issue — i have that too.