Find answers from the community

Updated 10 months ago

how do i create the right kind of

At a glance
how do i create the right kind of credentials.json. I have added my email as a test user and then created an OAuth credentials.json but then running https://docs.llamaindex.ai/en/latest/examples/ingestion/ingestion_gdrive/ asks me to create a service account type, but this returns nonetype when I try to iterate over the documents in the folder
R
L
S
12 comments
File "C:\Users\ryanp\anaconda3\envs\clyd_backend_new\Lib\site-packages\google\auth_service_account_info.py", line 50, in from_dict
raise exceptions.MalformedError(
google.auth.exceptions.MalformedError: Service account info was not in the expected format, missing fields token_uri, client_email.
@Logan M @jerryjliu0
setting up google credentials is a nightmare
tbh idek how to do it
Do you know if anyone has successfully gone through with the ingestion gdrive?
definitely. I mean, jerry wrote that notebook lol
but its such a confusing process
try to google-search your way through it
I tried to but I'm j not sure which credentials.json cuz instructions say oauth but it doesn't work
Do you know if there's a repo somewhere of an implemented version?
so basically you have to share the folder explicitly with the service account, but alternatively you can use googledocsloader and just use oauth 2.0 credentials
Add a reply
Sign up and join the conversation on Discord