Failed to create Cloud Run service. Please try again

  • Users are discussing persistent errors when deploying migrated Firebase apps to Cloud Run.
  • Mahesh is requesting project IDs to investigate deployment failures despite previous adjustments.

After weeks, I found the solution. In my case, since it was using the Next.js 15 architecture, I did a full migration and cleanup to React + Vite, and personally, after deleting every trace of Next.js, it finally deploys without any issues—it even improved the speed a lot. The main issue was that Next.js 15 was throwing “Failed to create Cloud Run service. Please try again.”

(post deleted by author)

I am experiencing the same issue with Google AI Studio.

Error: Failed to update Cloud Run service: Precondition check failed.

  • Project ID: `gaejon-5ad..

  • Cloud Run service: kunsukneo

  • Region: asia-southeast1

  • Current healthy revision: kunsukneo-00070-2b4 (100% traffic)

  • App: kunsuk-aistudio-integration

  • Framework: React + Vite

The app runs successfully in AI Studio Preview (BUILD 124.45), but republishing fails repeatedly. Cloud Run remains healthy and no failed UpdateService status code was found in the Admin Activity logs checked.

Could the Google AI Studio team investigate whether this is related to a stale service generation or ETag?

I would prefer to preserve the existing Cloud Run service, production deployment, and custom domain.

I can provide the Applet ID and additional logs privately if needed.

Any update on the failed to create cloud run service?

Hello all,

Thank you for sharing these details. We are looking into this issue.

I also am having the error of failed to publish app after moving from firebase

Hello @Harrison_Fang ,

DM`ed you for more details .