-
Notifications
You must be signed in to change notification settings - Fork 491
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Error with Google Cloud Storage integration - 'Invalid Folder Name' #991
Comments
Hi @maxibarrios0822 For GCS integration, you need to mention the Google OAuth client ID in the frontend env and GCS_FILE_CACHE value to True in the backend ENV |
Hi @kartikpersistent , thanks for the answer. I deployed the backend with GCS_FILE_CACHE=True but still have the problem. The frontend was previously configured with the Google OAuth Cliend ID and is apparently working. The problem persist (Invalid Folder Name), any idea ? I am thinking if the configuration of the OAuth Credentials in GCP are ok or not (and the error is not being logged, so that's why it's failing but not showed). I am setting the OAuth credentials as: "Authorized JavaScript origins" -> myfrontendendpoint |
We've not seen that folder error before for import from GCS, make sure your project has google drive permissions in general. |
Hi @jexp , thanks for the answer ! Why Google Drive permissions? I want to use GCS not Google Drive. |
Hi @maxibarrios0822 please run the gcloud application login command and check whether the GCS bucket that is accessed is public |
Hi @kartikpersistent ! The GCS bucket must be necessary public? I want to keep it private because of sensitive/private information of my project. Is that possible ? |
no I guess we process only public buckets as of my knowledge |
Hi @maxibarrios0822 , |
Hello everyone,
I have already deployed the backend and frontend of LLM Graph Builder in GCP (and using Gemini), with each running in a separate Cloud Run instance. I have set the proper permissions for Service Accounts and Credentials (OAuth 2.0).
I have tested uploading files using local storage and Wikipedia, but I am encountering an issue when processing files using GCS.
The error message is "Invalid Folder Name," even though the GCS project ID, bucket, and folder name I am using are correctly set. I have tried using an empty 'Folder Name,' both with and without the '/' character, but the problem persists. I am using the latest main branch.
The logs of this error are not being displayed in Cloud Logging, including both backend and frontend logs.
We suspect that the issue might be located in frontend/src/components/DataSources/GCS/GCSModal.tsx or in the backend APIs it calls. However, we are unable to effectively debug the problem due to the lack of logs."
The rest of the framework works fine (using local storage, Gemini, Q&A chat window).
Thank you very much !
The text was updated successfully, but these errors were encountered: