Hi Experts,
I have a Vertex AI Agent conversation/chat bot based on a datastore. The datastore is created using unstructured documents in a cloud storage folder. The bot works fine and provides the correct answers for the questions and provides the citations( cloud storage URLs). The bot is embedded in a website using authorized uri and google idp is enabled in the vertex AI agent settings.
However the problem is that when someone click these citation URLs, they get 403-Forbidden error.
The cloud storage folder is not public but the user has access to all the documents inside the folder through his google id. We cannot make the folder public due to sensitive data.
Could someone help me understand why the access to the documents does not work when clicking the citations from the bot.
Thanks,
Lijo John
Solved! Go to Solution.
Hi Xavi,
Signed URLs are public right? I mean anyone can then access the document from anywhere with that URL even without having a google id. Doesn't it defeat the purpose of having documents stored in secured cloud storage folders?
Thanks,
Lijo John
Thanks. Using a signed URL works
However later I came across the below article from GCP.
I could get the ' 403 Forbidden' error go away by just switching off the data audit logs. Works only if you are using a authenticated browser though.
https://cloud.google.com/storage/docs/troubleshooting#trouble-download-storage-cloud
Thanks,
Lijo John
User | Count |
---|---|
2 | |
1 | |
1 | |
1 | |
1 |