# Application builder Gemini malfunction

**URL:** <https://community.firebasestudio.dev/t/application-builder-gemini-malfunction/13970>\
**Category:** AI\
**Tags:** feature, troubleshooting\
**Created:** [May 27, 2025, 8:06pm UTC](https://community.firebasestudio.dev/t/application-builder-gemini-malfunction/13970 "2025-05-27T20:06:12Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![Wilton\_Lawrence](https://sea2.discourse-cdn.com/flex002/user_avatar/community.firebasestudio.dev/wilton_lawrence/32/7267_2.png) [@Wilton\_Lawrence](https://community.firebasestudio.dev/u/Wilton_Lawrence)\
**Post date:** [May 27, 2025, 8:06pm UTC](https://community.firebasestudio.dev/t/application-builder-gemini-malfunction/13970/1 "2025-05-27T20:06:12Z")

</div>

### ❗Issue Summary:

I’m encountering a consistent error in Firebase Studio when using the Gemini AI assistant, especially when asking it for help with UI-related code changes.

Every time I submit a prompt (even simple ones like “test”), I receive the following error:

bash

CopyEdit

```auto
❌ Sorry, I hit a snag. Please try again shortly.
Unsupported Part type{"metadata":{"purpose":"${e}","pending":true}}

```

This happens regardless of the prompt content, and the error seems to be internal. I’ve tested with basic prompts, advanced prompts, and across sessions — nothing works.

* * *

### 📍Where it’s happening:

- Inside Firebase Studio
- In the Gemini AI assistant panel
- While trying to use it to modify or analyze project files

* * *

### 💡 What I’ve tried:

- Reloading Firebase Studio
- Restarting the project
- Simplifying prompts
- Checking for service outages
- Inspecting browser console (no obvious network failure)

* * *

### 🧩 Suspected Cause:

It appears that the Gemini assistant inside Firebase Studio is referencing an unsupported or malformed `metadata` part type — possibly due to

 ![image](https://us1.discourse-cdn.com/flex002/uploads/idxcommunity/original/2X/5/55f55506a38f4022aabfd859206701364ea0f668.png)  
a bug in the assistant’s backend or misconfiguration in message formatting.
