# Error An internal error occurred

**URL:** <https://discuss.ai.google.dev/t/error-an-internal-error-occurred/197984>\
**Category:** Google AI Studio\
**Tags:** ai-studio\
**Created:** [November 3, 2026, 4:05pm UTC](https://discuss.ai.google.dev/t/error-an-internal-error-occurred/197984 "2026-11-03T16:05:04Z")\
**Posts on this page:** 9\
**Page:** 1

<div class="post-metadata">

**Author:** ![DanielIgino](https://d1dlmcr85iqnpo.cloudfront.net/user_avatar/discuss.ai.google.dev/danieligino/32/165099_2.png) [@DanielIgino](https://discuss.ai.google.dev/u/DanielIgino)\
**Post date:** [November 3, 2026, 4:05pm UTC](https://discuss.ai.google.dev/t/error-an-internal-error-occurred/197984/1 "2026-11-03T16:05:05Z")

</div>

**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.

---

<div class="post-metadata">

**Author:** ![Payal\_Sharma2](https://d1dlmcr85iqnpo.cloudfront.net/user_avatar/discuss.ai.google.dev/payal_sharma2/32/31911_2.png) [@Payal\_Sharma2](https://discuss.ai.google.dev/u/Payal_Sharma2)\
**Post date:** [November 6, 2026, 6:37am UTC](https://discuss.ai.google.dev/t/error-an-internal-error-occurred/197984/2 "2026-11-06T06:37:57Z")

</div>

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.

---

<div class="post-metadata">

**Author:** ![DanielIgino](https://d1dlmcr85iqnpo.cloudfront.net/user_avatar/discuss.ai.google.dev/danieligino/32/165099_2.png) [@DanielIgino](https://discuss.ai.google.dev/u/DanielIgino)\
**Post date:** [November 7, 2026, 3:19pm UTC](https://discuss.ai.google.dev/t/error-an-internal-error-occurred/197984/3 "2026-11-07T15:19:47Z")

</div>

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.

---

<div class="post-metadata">

**Author:** ![John-Gonzo](https://d1dlmcr85iqnpo.cloudfront.net/user_avatar/discuss.ai.google.dev/john-gonzo/32/167693_2.png) [@John-Gonzo](https://discuss.ai.google.dev/u/John-Gonzo)\
**Post date:** [November 10, 2026, 1:24pm UTC](https://discuss.ai.google.dev/t/error-an-internal-error-occurred/197984/4 "2026-11-10T13:24:18Z")

</div>

hi

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

---

<div class="post-metadata">

**Author:** ![DanielIgino](https://d1dlmcr85iqnpo.cloudfront.net/user_avatar/discuss.ai.google.dev/danieligino/32/165099_2.png) [@DanielIgino](https://discuss.ai.google.dev/u/DanielIgino)\
**Post date:** [November 10, 2026, 1:57pm UTC](https://discuss.ai.google.dev/t/error-an-internal-error-occurred/197984/5 "2026-11-10T13:57:52Z")

</div>

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

---

<div class="post-metadata">

**Author:** ![John-Gonzo](https://d1dlmcr85iqnpo.cloudfront.net/user_avatar/discuss.ai.google.dev/john-gonzo/32/167693_2.png) [@John-Gonzo](https://discuss.ai.google.dev/u/John-Gonzo)\
**Post date:** [November 10, 2026, 2:36pm UTC](https://discuss.ai.google.dev/t/error-an-internal-error-occurred/197984/6 "2026-11-10T14:36:08Z")

</div>

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!

---

<div class="post-metadata">

**Author:** ![DanielIgino](https://d1dlmcr85iqnpo.cloudfront.net/user_avatar/discuss.ai.google.dev/danieligino/32/165099_2.png) [@DanielIgino](https://discuss.ai.google.dev/u/DanielIgino)\
**Post date:** [November 10, 2026, 10:02pm UTC](https://discuss.ai.google.dev/t/error-an-internal-error-occurred/197984/7 "2026-11-10T22:02:58Z")

</div>

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.

---

<div class="post-metadata">

**Author:** ![mo3en](https://d1dlmcr85iqnpo.cloudfront.net/user_avatar/discuss.ai.google.dev/mo3en/32/168246_2.png) [@mo3en](https://discuss.ai.google.dev/u/mo3en)\
**Post date:** [November 11, 2026, 9:28pm UTC](https://discuss.ai.google.dev/t/error-an-internal-error-occurred/197984/8 "2026-11-11T21:28:12Z")

</div>

# 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:**

> **[Sign in - Google Accounts](https://accounts.google.com/v3/signin/identifier?continue=https:%2F%2Faistudio.google.com%2Fapps%2F35eeaa01-1702-4f39-9636-0446a4582e9e&followup=https:%2F%2Faistudio.google.com%2Fapps%2F35eeaa01-1702-4f39-9636-0446a4582e9e&passive=1209600&flowName=WebLiteSignIn&flowEntry=ServiceLogin&dsh=S-1624623070:1794432387571997)**

**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.

---

<div class="post-metadata">

**Author:** ![Payal\_Sharma2](https://d1dlmcr85iqnpo.cloudfront.net/user_avatar/discuss.ai.google.dev/payal_sharma2/32/31911_2.png) [@Payal\_Sharma2](https://discuss.ai.google.dev/u/Payal_Sharma2)\
**Post date:** [November 17, 2026, 6:43pm UTC](https://discuss.ai.google.dev/t/error-an-internal-error-occurred/197984/9 "2026-11-17T18:43:50Z")

</div>

Hello,

Thanks for the details and the Remix test. This error can happen when a file in the project contains characters that aren’t valid UTF-8 text, such as a binary file (image, font, or archive) stored as a code file, or a text or Markdown file saved in a different encoding. A Remix copies the same files, so it can show the same error.

Please check your project files in the Code tab, especially any non-code or documentation files added around when the error started. Remove the file, or re-save it as UTF-8 text, and then send a test prompt in a new chat. If the error continues, let us know.
