Replies: 1 comment
-
Response from ADK Answering Agent (experimental, answer may be inaccurate) TLDR: The Hi @this-dave, Thank you for the detailed breakdown of the issue and the steps you've already taken. I can provide some clarification on your questions based on the ADK's design and documentation. 1. Does the
|
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
Hi everyone,
We're currently developing an agent using the Google Agent Development Kit (ADK) and are running into a persistent connectivity issue when trying to use the
VertexAiSearchTool
with our Vertex AI Data Store. We've followed the documentation and have tried numerous configurations, but we seem to be stuck and would greatly appreciate any insight from the community or the ADK team.Our Goal:
Our objective is to build a simple agent that can query our private Confluence knowledge base. We have successfully set up a Data Store in the
eu
multi-region using the built-in Confluence connector in the Agent Builder UI.The Problem:
No matter how we configure the resource path, any attempt by the agent to use the
VertexAiSearchTool
results in a404 NOT_FOUND
error. We've confirmed our user account hasOwner
permissions and that theVertex AI
andVertex AI Agent Builder
APIs are enabled.The error log always shows that the API correctly resolves our Project ID to its corresponding Project Number, but the data store resource itself cannot be found:
google.genai.errors.ClientError: 404 NOT_FOUND. {'error': {'code': 404, 'message': 'DataStore projects/PROJECT_NUMBER/locations/.../dataStores/DATASTORE_ID not found.', 'status': 'NOT_FOUND'}}
What We Have Tried: Systematically Testing All Resource Paths
Our Data Store ID is
confluence-vertexai_...
(sanitized). We have systematically tested the following three formats for theDATA_STORE_ID
in our.env
file, none of which have worked.1. Path based on the Console URL (assuming a custom collection):
projects/our-project-id/locations/eu/collections/confluence-vertexai_.../dataStores/confluence-vertexai_...
404 NOT_FOUND
2. Path using
default_collection
and the nativeeu
location:projects/our-project-id/locations/eu/collections/default_collection/dataStores/confluence-vertexai_...
404 NOT_FOUND
3. Path using
default_collection
and theglobal
location:projects/our-project-id/locations/global/collections/default_collection/dataStores/confluence-vertexai_...
404 NOT_FOUND
Our Current Configuration
Our setup is straightforward and aligns with the ADK documentation.
agent.py
:.env
File:Our Questions for the Community
Since we've exhausted the obvious pathing solutions, we're wondering if we're missing a more fundamental concept.
Is there a known issue or a specific IAM permission required for
eu
multi-region data stores? We're curious if the service might return a404
for a permissions issue instead of a403
.Does the
VertexAiSearchTool
support "standalone" Data Stores? This is our main question. We created our Data Store directly in the Agent Builder UI. It is not part of a formally created "App" that has an associated "Serving Config". Does the tool require the data store to be explicitly attached to a serving configuration to be addressable via the API?We're at a bit of a dead end and would be very grateful for any advice or clarification. Thank you!
Beta Was this translation helpful? Give feedback.
All reactions