# Invalid argument

**URL:** <https://discuss.ai.google.dev/t/invalid-argument/187396>\
**Category:** Google AI Studio\
**Tags:** ai-studio\
**Created:** [October 7, 2026, 9:05pm UTC](https://discuss.ai.google.dev/t/invalid-argument/187396 "2026-10-07T21:05:43Z")\
**Posts on this page:** 7\
**Page:** 1

<div class="post-metadata">

**Author:** ![Daniel\_Thompson](https://d1dlmcr85iqnpo.cloudfront.net/user_avatar/discuss.ai.google.dev/daniel_thompson/32/151079_2.png) [@Daniel\_Thompson](https://discuss.ai.google.dev/u/Daniel_Thompson)\
**Post date:** [October 7, 2026, 9:05pm UTC](https://discuss.ai.google.dev/t/invalid-argument/187396/1 "2026-10-07T21:05:44Z")

</div>

Hello Google AI Studio Team,

​I am encountering a recurring Invalid argument error (showing Ran for 0s) in my prompt session (“Daniel VTU”).

​The issue occurred right after I updated/changed my API key to v3 while in the middle of an active session. Since then, submitting any prompt or sending follow-up text like “Continue” results in an immediate Invalid argument failure, likely due to a broken session/cached state mismatch.

​Could you please inspect this issue and assist in manually deleting/clearing this initial chat history from my account/dashboard, as the interface is currently stuck on this error thread?

It has two chat historys pls delete or resolve the one that starts with building a kotlin vtu app as chat topic and leave the one that has hi as chat topic

​ **Details:**

- ​ **Project/Prompt Name:** Daniel VTU
- ​ **Model:** Gemini 3.8 Flash
- ​ **Error:** Invalid argument (Ran for 0s)

​Thank you!

---

<div class="post-metadata">

**Author:** ![Mahesh\_Sutar](https://d1dlmcr85iqnpo.cloudfront.net/user_avatar/discuss.ai.google.dev/mahesh_sutar/32/31644_2.png) [@Mahesh\_Sutar](https://discuss.ai.google.dev/u/Mahesh_Sutar)\
**Post date:** [October 8, 2026, 7:58am UTC](https://discuss.ai.google.dev/t/invalid-argument/187396/2 "2026-10-08T07:58:27Z")

</div>

Hello @Daniel_Thompson ,  
can you share below details via DM?

- Confirm whether this behavior appears across other applications or remains isolated to this single app.

- The exact prompt in use when the error appeared.

- Current account tier, whether free tier or a paid plan.

- The applet ID to assist with reviewing this specific case.

---

<div class="post-metadata">

**Author:** ![Swapnil\_Ovhal](https://d1dlmcr85iqnpo.cloudfront.net/user_avatar/discuss.ai.google.dev/swapnil_ovhal/32/148964_2.png) [@Swapnil\_Ovhal](https://discuss.ai.google.dev/u/Swapnil_Ovhal)\
**Post date:** [October 12, 2026, 3:38am UTC](https://discuss.ai.google.dev/t/invalid-argument/187396/3 "2026-10-12T03:38:35Z")

</div>

I am experiencing a similar issue in Google AI Studio Build mode. My project shows “Invalid argument (Ran for 0s)” in my normal Chrome session, but prompts work in Incognito mode.

I am also developing a PlantMate AI app. The app can analyze one plant photo, but subsequent analyses sometimes show “Limit Exceeded”.

Could the Build Agent error be related to a corrupted session or cached state? I would appreciate guidance on resolving the session issue and diagnosing the separate Gemini API quota error.

Thank you.

---

<div class="post-metadata">

**Author:** ![Mahesh\_Sutar](https://d1dlmcr85iqnpo.cloudfront.net/user_avatar/discuss.ai.google.dev/mahesh_sutar/32/31644_2.png) [@Mahesh\_Sutar](https://discuss.ai.google.dev/u/Mahesh_Sutar)\
**Post date:** [October 12, 2026, 7:04am UTC](https://discuss.ai.google.dev/t/invalid-argument/187396/4 "2026-10-12T07:04:34Z")

</div>

Hello @Swapnil_Ovhal ,

I have DM`ed you for more details .

---

<div class="post-metadata">

**Author:** ![nikhil2](https://d1dlmcr85iqnpo.cloudfront.net/user_avatar/discuss.ai.google.dev/nikhil2/32/156745_2.png) [@nikhil2](https://discuss.ai.google.dev/u/nikhil2)\
**Post date:** [October 12, 2026, 9:06am UTC](https://discuss.ai.google.dev/t/invalid-argument/187396/5 "2026-10-12T09:06:34Z")

</div>

![Screenshot 2026-10-12 143332](https://d3qe71uytubmmx.cloudfront.net/original/3X/b/c/bc310a1e743ce1005ce22f8cadf8ec9fc41babb7.png)how to fix on google ai stu

---

<div class="post-metadata">

**Author:** ![nikhil2](https://d1dlmcr85iqnpo.cloudfront.net/user_avatar/discuss.ai.google.dev/nikhil2/32/156745_2.png) [@nikhil2](https://discuss.ai.google.dev/u/nikhil2)\
**Post date:** [October 12, 2026, 9:15am UTC](https://discuss.ai.google.dev/t/invalid-argument/187396/6 "2026-10-12T09:15:07Z")

</div>

how to fix [Invalid argument](https://discuss.ai.google.dev/t/invalid-argument/187396) 🙏

 ![Screenshot 2026-10-12 143332](https://d3qe71uytubmmx.cloudfront.net/original/3X/b/c/bc310a1e743ce1005ce22f8cadf8ec9fc41babb7.png)

---

<div class="post-metadata">

**Author:** ![Daniel\_Thompson](https://d1dlmcr85iqnpo.cloudfront.net/user_avatar/discuss.ai.google.dev/daniel_thompson/32/151079_2.png) [@Daniel\_Thompson](https://discuss.ai.google.dev/u/Daniel_Thompson)\
**Post date:** [October 16, 2026, 6:39pm UTC](https://discuss.ai.google.dev/t/invalid-argument/187396/7 "2026-10-16T18:39:33Z")

</div>

I’m on free tier, plus my limit reaches too fast, after two prompts it will say limit has reached, please help to increase my limit to be like 25 prompts per day
