Google AI Studio publishing fails with Cloud Run quota error

I’m trying to publish changes to an existing app from Google AI Studio. Publishing fails with the following error:

“Failed to update Cloud Run service: user has exceeded the quota. Please try again.”

I have checked my quotas, but I’m not sure which quota is causing the error. How can I identify the specific quota and region involved, and resolve the problem without disrupting my live app?

My app is deployed from Google AI Studio to Cloud Run in us-west2. The project is on Starter Tier. The quota for the number of Cloud Run regions used shows 1 of 1, while the visible service, active revision, and memory quotas are below their limits.

Around the time I attempted to republish, a Cloud Build GetDefaultServiceAccount request was blocked by the constraints/gcp.restrictServiceUsage organization policy. I couldn’t find an UpdateService or quota error in Logs Explorer.

Could this policy or the Starter Tier region limit cause the AI Studio publishing error? How can I identify the exact limit or resolve it without disrupting the existing app?

I ran into a similarly vague quota message when republishing a small Cloud Run service, and the quota that was actually full was not the one I first checked. What helped me pin it down was opening IAM and Admin, then Quotas, filtering to the Cloud Run API for my region, and looking for the entry sitting at 100 percent, since the error text never named it. I would also look closely at that blocked GetDefaultServiceAccount call, because in my case a blocked build service account made the whole publish fail with a misleading message. If your regions quota is already at 1 of 1, I would check whether the republish is trying to touch a second region before anything else.

Thank you for your detailed insights. Yes, I will follow your suggestion to check the quotas in the IAM and Admin console more closely, especially for the Cloud Run API in my region, and also investigate the service account permissions. Your experience with similar quota issues is very helpful. I appreciate you taking the time to share this.