Error An internal error occurred

Subject: Critical – Google AI Studio Build returns “An internal error occurred” on existing project

Hello Google AI Studio Support Team,

My existing Google AI Studio Build project has become completely unusable.

Every prompt sent to the Build Agent immediately returns:

“An internal error occurred.”

Troubleshooting performed:

  • Created new conversations within the original project.

  • Tested a Remix of the original project.

  • Tested simple read-only prompts.

  • Created a completely new project in the same Google account.

The results are consistent:

  • Original project: Build Agent fails on every request.

  • Remix project: Same internal error.

  • New independent project: Works normally.

I need assistance recovering the original project’s Build environment without losing its source code, version history or configuration.

Could your engineering team investigate the project’s internal workspace, Build Agent initialization and repository synchronization state?

project ID: gen-lang-client-06798232..

Please do not perform any destructive reset or rollback without preserving the current project state.

Thank you.

Hello @DanielIgino,

Thanks for the detailed troubleshooting steps. To look into this further, could you please share the Applet ID of the original app and of the remix that shows the same error? The Applet ID is the part after aistudio.google.com/apps/ in the app’s address bar, and you can share it here in this thread.

Hi, I managed to solve it. A file containing the rules for development was corrupted during an “AI agent” deployment. Since I made a backup beforehand, I just restored it and it started working again.

hi

im having the same issue with one of my projects,how you managed to fix it?

I solved it by restoring the last file that the AI agent modified.

tried that but error still there,searching around i sent a message in the playground area and some type of error about verify my account popped out ,i followed the procces and now the editor is working again,for some reason my account was blocked or something happened,who knows because ai studio never informed me,thats a boomer,we can easilly destroy or damage any project trying to find out what the heck happened and at the end it wasnt our fault,just a simple account verification fixed the issue.

thanks for your response!

That’s great that it worked out. In my case, I asked Gemini 4 to update a file and left it running while I left home. When I returned, it already had the error and wouldn’t let me send any commands, not even a “hi”. I spent two days locked out, unable to do anything on my account, until I decided to restore that file in “MD” format. After doing that, everything started working on my account again. This is because I had made a backup before asking the agent ai to make the adjustment.

Persistent “An internal error occurred” in Google AI Studio Build – AgroMarketChain Project

Hello Google AI Studio Team,

I am experiencing a persistent issue with one specific project in Google AI Studio Build. The AI assistant has stopped processing prompts and consistently returns the error message:

“An internal error occurred.”

I would appreciate an investigation by your engineering team, as the issue persists even after restoring previous versions and creating a Remix of the project.

1. Project Information

Project name: AgroMarketChain

Original Applet ID:
35eeaa01-1702-4f39-9636-0446a4582e9e

Original project URL:

Error IDs:

  • 7457a6f0-6345-4a6b-84e5-47bb608d2028

  • 8b1021a9

Remix error ID:
adce77e6-7204-48bf-acec-b74977d36b63

2. Description of the Problem

The Gemini assistant in the Build environment consistently fails to process new prompts.

The error occurs even with extremely simple requests, such as:

  • Sending a simple greeting (“سلام”).

  • Asking the assistant to read the package.json file.

  • Asking the assistant to provide a short text response without modifying any code.

In every case, the assistant returns:

“An internal error occurred.”

Clicking the Fix button does not resolve the issue. It simply results in another failed attempt and the button changes to Retry.

3. Important Observations

I have three other projects in the same Google AI Studio account, and all three continue to work normally.

One of those projects experienced a similar issue once. However, restoring an earlier version resolved the problem permanently in that case.

AgroMarketChain behaves differently:

  • Restoring previously working versions does not provide a lasting solution. The same problem returns after a short time.

  • The published version of AgroMarketChain, accessed through its Publish URL, continues to load and function correctly.

  • The File Explorer in the Build environment works normally. I can browse the project files and open them, including package.json, and view their contents.

  • The problem appears to be isolated to the Gemini assistant’s ability to process prompts.

4. Remix Test

To investigate whether the problem was limited to the original project’s internal state, I used the built-in Remix feature to create a separate copy of AgroMarketChain.

The Remix operation completed successfully.

The new project also included the following integrations:

  • Firebase Firestore & Authentication

  • Google Drive

  • Google Sheets

However, the Gemini assistant in the newly remixed project produced exactly the same error when I submitted a simple test prompt.

The error ID generated in the Remix project was:

adce77e6-7204-48bf-acec-b74977d36b63

Therefore, Remixing the project did not resolve the issue.

5. Local Source Code Verification

I also have a local copy of the project source code.

The following commands completed successfully:

  • npm run lint

  • npm run build

This suggests that the local source code can pass TypeScript checking and the production build process, although it does not necessarily rule out every possible application-level issue.

6. Request for Technical Investigation

Based on these observations, I suspect that the issue may involve the project’s internal Build environment, Gemini assistant initialization, workspace state, repository synchronization, or another server-side component.

Could your engineering team please investigate:

  1. Why the Gemini assistant cannot process even simple prompts in this specific project.

  2. Why restoring previous versions and creating a Remix do not resolve the issue.

  3. Whether there is an issue with the project’s internal workspace, Build Agent, or file-processing mechanism.

  4. Whether the original project can be repaired without losing its source code, version history, Firebase configuration, integrations, or other project data.

This project is important to me, and I would strongly prefer to recover the existing project rather than rebuild it from scratch.

Please investigate the provided Error IDs and Applet ID, and let me know whether there is a way to restore the Build assistant functionality.

I can provide screenshots, additional logs, or other diagnostic information if needed.

Thank you for your time and assistance.