Skip to content

Error code 10 when adk deploy agent_engine #4683

@francamacdowell

Description

@francamacdowell

🔴 Required Information

Describe the Bug:
A clear and concise description of what the bug is.

Steps to Reproduce:
Please provide a numbered list of steps to reproduce the behavior:

  1. Building and setting up a local agent (with google ADK)
  2. Run (in my case)
adk deploy agent_engine \
        --project=$PROJECT_ID \
        --region=$LOCATION_ID \
        --display_name="My First Agent" \
        multi_tool_agent
  1. The error:
Deploy failed: Failed to create Agent Engine: {'code': 10, 'message': 'Please refer to our documentation (https://cloud.google.com/vertex-ai/generative-ai/docs/agent-engine/troubleshooting/deploy) for checking logs and other troubleshooting tips.'}

Expected Behavior:
A message informing the success of deployment

Observed Behavior:
The error message:
Deploy failed: Failed to create Agent Engine: {'code': 10, 'message': 'Please refer to our documentation (https://cloud.google.com/vertex-ai/generative-ai/docs/agent-engine/troubleshooting/deploy) for checking logs and other troubleshooting tips.'}

Environment Details:

  • ADK Library Version (pip show google-adk): 1.24.0"
  • Desktop OS:** [e.g., macOS, Linux, Windows] MacOS
  • Python Version (python -V): 3.12

Model Information:

  • Which model is being used: (gemini-2.5-flash)

Logs:

Staging all files in: /Users/franca.sales/Workspace/Kanastra/agents-lab/jedais-agents/monitoring_agent_tmp20260302_190326
Staging all files in: /Users/franca.sales/Workspace/Kanastra/agents-lab/jedais-agents/monitoring_agent_tmp20260302_190326
Copying agent source code...
Copying agent source code complete.
Resolving files and dependencies...
Creating /Users/franca.sales/Workspace/Kanastra/agents-lab/jedais-agents/monitoring_agent_tmp20260302_190326/requirements.txt...
Created /Users/franca.sales/Workspace/Kanastra/agents-lab/jedais-agents/monitoring_agent_tmp20260302_190326/requirements.txt
Reading environment variables from /Users/franca.sales/Workspace/Kanastra/agents-lab/jedais-agents/monitoring_agent/.env
Ignoring GOOGLE_CLOUD_PROJECT in .env as `--project` was explicitly passed and takes precedence
Ignoring GOOGLE_CLOUD_LOCATION in .env as `--region` was explicitly passed and takes precedence
Initializing Vertex AI...
Vertex AI initialized.
Created monitoring_agent_tmp20260302_190326/agent_engine_app.py
Files and dependencies resolved
Deploying to agent engine...
Cleaning up the temp folder: monitoring_agent_tmp20260302_190326
Deploy failed: Failed to create Agent Engine: {'code': 10, 'message': 'Please refer to our documentation (https://cloud.google.com/vertex-ai/generative-ai/docs/agent-engine/troubleshooting/deploy) for checking logs and other troubleshooting tips.'}

Context.
Already read all documentation referenced and the error 10 is not described.
How often has this issue occurred?:

  • Always (100%)

Metadata

Metadata

Assignees

Labels

agent engine[Component] This issue is related to Vertex AI Agent Enginerequest clarification[Status] The maintainer need clarification or more information from the authorstale[Status] Issues which have been marked inactive since there is no user response

Type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions