I tried to access to vertexai search app with langchain's VertexAISearchRetriever,
but the 404 not Found error pops up with following error message.
I checked whether the app and data store exist and deployed, and user's authrization but the problem is not still solved.
Is this bug?
My code:
from langchain_google_community import VertexAISearchRetriever
retriever = VertexAISearchRetriever(
project_id= project_id,
location_id= location,
data_store_id= data_store_id,
)
Error Message:
google.api_core.exceptions.NotFound: 404 DataStore projects/787703115620/locations/global/collections/default_collection/dataStores/{my-app-engine-id} not found.
Hi @lucy_jung,
Welcome to Google Cloud Community!
The error message "404 DataStore projects/787703115620/locations/global/collections/default_collection/dataStores/{my-app-engine-id} not found" indicates that the Datastore ID you’re using could be incorrect, or the Vertex Ai Search Datastore might not be properly configured or may at the specific path.
Here are some potential ways to address your issue:
If you continue to run into issues, consider reaching out to Google Cloud Support to further check underlying issues. When you contact them, be sure to provide as much detail as possible and include screenshots. This will help them understand your problem better and get it sorted out more quickly.
Was this helpful? If so, please accept this answer as “Solution”. If you need additional assistance, reply here within 2 business days and I’ll be happy to help.