Google AI Studio — Gemini 3.8 Flash showing “Invalid argument” since yesterday

Title: Google AI Studio — Gemini 3.8 Flash has been showing “Invalid argument” since yesterday

Update: I tried remixing my EZOx app, but the issue persists. Even the prompt “Reply only OK” fails immediately with “Invalid argument” and a duration of 0 seconds. However, my app preview still works. I’m still on the free tier. Could you please check whether this issue is coming from the Build Agent, my workspace, or the Google AI Studio infrastructure? I’m looking for a free solution that preserves my code and changes.

did u find any solution so far ? im having the sam e issue

Title: Google AI Studio Build Agent — “Invalid argument” after 0 seconds on my EZOx project

Hello Google AI Studio Team,

I would like to report a persistent issue with the Google AI Studio Build Agent on my EZOx project.

Observed Issue:

  • The Gemini 3.8 Flash model immediately displays “Invalid argument”.

  • The displayed execution time is 0 seconds.

  • Even a very simple prompt, such as “Reply only OK”, fails.

  • The issue seems to be related to the Build environment or request execution, rather than just the content of my prompts.

  • The public preview of my application is still working normally.

Impact:
I can no longer continue development or fix bugs in my application from AI Studio Build.

My project contains critical features: authentication, user data, subscriptions, MyPaie and SasPay payment integrations, webhooks, and artificial intelligence features.

I would like to resolve this issue without losing my code, recent changes, data, or payment integrations.

Requested Checks:

  1. Check the Build Agent error logs and the actual cause of the “Invalid argument” message.

  2. Check whether the workspace, project snapshots, or model invocation are invalid.

  3. Check if this issue is related to a known incident with Google AI Studio Build.

  4. Provide an official procedure to repair the environment or restore a stable version without data loss.

Please let me know the specific steps to follow to get the Build Agent working again.

Affected Project: EZOx
Displayed Model: Gemini 3.8 Flash
Exact Error: “Invalid argument”
Displayed Duration: 0 seconds
Public Preview Status: Working normally

I can provide the project ID and screenshots if needed.

Thank you for your help.

Hello @Badara_Diallo ,

Thank you for reporting this issue. A fix was recently rolled out for Invalid argument errors in Google AI Studio Build Mode.
If your existing project is still encountering this error after refreshing the page, please share your Applet ID (found in the Google AI Studio app URL) and a screenshot of the error—via direct message.