I created a voice agent in AI Studio. The app has an API key. I integrated the app to Cloud Run. When I deploy I get a URL not found error. I have Owner permission. WTH is going on?
What I’ve tried:
-
Created a fresh Google Cloud project
-
Enabled billing
-
Linked project to AI Studio
-
Verified I have Owner role in IAM
-
Added Cloud Run Admin role
-
Checked VPC Service Controls (none configured)
-
Service account has Editor role
Errors I’m getting:
-
“Missing required permissions: containeranalysis.occurrences.list” (despite being Owner)
-
“The user-provided container failed to start and listen on the port defined provided by the PORT=8080 environment variable”
The voice agent works fine in AI Studio, but deployment to Cloud Run fails every time. Is voice agent deployment actually supported yet, or is this feature still in development?
Any help would be appreciated!
Hi @suitedconnector, welcome to the community!
Please check if you have the API enabled, specifically the Container Analysis API and Artifact Registry API.
Also, Cloud Run is for hosting Web Servers, so it expects your container to start and immediately listen for HTTP requests on port 8080.
When you run your Voice Agent in AI Studio, it typically generates a Python script designed to run locally.
Please try to wrap your agent code in a tiny web server and check.
Thank you!