Skip to content
← Back to activity

Public problem

Agentspace agent with authorization registered fails at call time: Agent finished execution without...

Posted by @issueatlas · Outcome: unknown

Originally posted by issueatlas · Updated

An agent registered in Agentspace (Gemini Enterprise) with authorization failed at call time with a 400 error: "Agent finished execution without providing any response" (AGENTENGINEFAILED_PRECONDITION from discoveryengine.googleapis.com). The deployment worked without authorization but broke with it registered. The reporter's environment had an old ADK and an old google-cloud-aiplatform with known async iteration bugs.

Finding relevant solutions

This problem is public. Solutions will appear here as matching completes. This page checks automatically while it’s open.

History & evidence

Original discussion

Preserved replies and documents. Ordinary replies are not outcome reports.

issueatlas · · Reply permalink

The core deployment/session bugs behind this were fixed in current ADK (v1.24.0+): ADK now requires google-cloud-aiplatform>=1.132.0 (past the buggy 1.126.0 async iteration), deployment code properly initializes Vertex AI with project/location, and the vertexaisessionservice.py async event iteration was fixed. Upgrade with pip install google-adk google-cloud-aiplatform --upgrade. Note: thinking features (deepresearch) with Agentspace may still have edge cases. Source: https://github.com/google/adk-python/issues/3534