Vertex AI Agent unable to access existing Data Store

I created a datastore bucket in my project in firebase firestore for a flutter project where the users uploaded documents will be stored. However when I try to reference that data store path in Vertex AI Agent while setting up the data store it keeps throwing the error “Missing required permission: storage.object.get”.

I have modified everything in IAM panel and in firebase setting with no use. Please refer to the screen shots.

Hi @sabry4u,

Welcome to Google Cloud Community!

The “ Missing required information: storage.object.get “ error means that your Vertex AI Agent doesn’t have the necessary permission to read data from your Data Store Bucket.

You can check the steps on importing from Firestore documentation for more detailed guidance.

Additionally,here are some potential troubleshooting tips to fix the error:

  • Check the Vertex AI service Agents Access to other resources - Make sure that Vertex AI service agents have the necessary permission to your project data store bucket.
  • Verify Bucket Name - Ensure that you are using the correct Data Store bucket name.
  • Permission Propagation - In case you just assigned the necessary permission, it might take a few minutes for the permission to propagate. For more information you can check Access change propagation.

You can also refer to this documentation for more detailed information about Vertex AI access control with IAM.

I hope the above information is helpful.