AI Studio Build Assistant fails: CreateUserSnapshot returns "The service is currently unavailable" then UI shows "Invalid argument"

Hello Google AI Studio team,

I am experiencing a persistent issue with the Build Assistant in an existing Google AI Studio application.

The application itself and its Preview continue to work normally, but the Build Assistant can no longer process any prompt.

I reproduced the issue with a brand-new Assistant chat and the minimal prompt:

Reply only: OK

The result is:

Gemini 3.8 Flash
Ran for 0s
Invalid argument.

I investigated the request sequence using Chrome DevTools Network and found the following:

  1. ProvisionAndInitializeApplet completes successfully (HTTP 200).
  2. CreateUserSnapshot is then triggered.
  3. CreateUserSnapshot hangs/fails.
  4. Its Response contains exactly:

[14, “The service is currently unavailable.”]

  1. After this backend failure, the AI Studio UI displays “Invalid argument.”

I reproduced this multiple times, including after starting a completely new Assistant chat inside the same app.

This suggests that the visible “Invalid argument” message may not represent the actual underlying problem. The failure appears to occur during CreateUserSnapshot before the Gemini Assistant actually processes the prompt.

Additional observations:

  • The application Preview remains operational.
  • ProvisionAndInitializeApplet succeeds.
  • The problem occurs even with a minimal prompt.
  • Starting a new Assistant chat does not resolve it.
  • Refreshing does not resolve it.
  • I inspected subsequent ApplyFileSystemOperation responses; the ones checked appeared to be filesystem listing/read operations.
  • I have not intentionally deleted or modified workspace files while troubleshooting.
  • I have already submitted feedback through the AI Studio “Submit Bug” feature.

This is an important existing application with production-related data/workflows, so I do not want to use Restore, Remix, or destructive workspace cleanup as troubleshooting steps.

Could someone from the AI Studio team please investigate the CreateUserSnapshot service failure or advise on a safe recovery procedure that preserves the existing app/workspace?

I can provide additional DevTools screenshots, request timing, or other non-sensitive diagnostic information if needed.

For security, I will not post authentication cookies, bearer tokens, API keys, secrets, or other credentials.

Thank you.

Hello @Hassan_Ramzoun ,

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.

Update: I have confirmed that the same harmless test prompt works in a new blank Google AI Studio project, but my existing project still returns “Invalid argument.” The error persists in a fresh chat and when using Plan mode. The existing project’s Preview still works.

I want to preserve the current project and its uncommitted Phase 7 work. Could the team advise whether this may be a project snapshot or workspace backend issue, and provide a safe recovery procedure that does not overwrite the existing project?

Account tier: Free.
Browser: Firefox on Windows.
Model: Gemini 3.8 Flash.

I’m experiencing the same issue with my existing project.

My project is “Remix ZIQARO — AI Shorts & Reel Story Studio.”

Every prompt submitted to the Build Agent immediately returns Invalid argument, including the simple prompt Reply with OK only. Reloading the project and testing in a private Safari tab did not resolve it. The Preview still works.

I need to preserve the existing project and recent changes, including image generation, authentication, payments, video export, and watermark work.

Could the Google AI Studio team advise on a safe recovery method that preserves the current project and its latest changes? I do not want to restore an older version or recreate the project without a verified backup.

Thank you.