-
-
Notifications
You must be signed in to change notification settings - Fork 47
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
Auth error when running in Cloud Functions: "'generator' object has no attribute 'headers'" #74
Comments
I think you should spread them: aiogoogle.as_service_account(*delete_requests) |
Hi @omarryhan, Thank you very much, however that didn't seem to help. Now I get this error:
And below that, no error message, so I only get the exception name...any ideas? |
After object=filename, can you pass validate=True |
Sorry, I was able to fix the issue, it was due to an unrelated bug. Probably what you suggested would have pointed out the issue anyway, but I noticed that the filenames I tried passing in were not string types (argh, thanks Python for not being strongly typed...grrr). So your first comment was the actual solution. Thank you so much!! |
I am trying to call the Cloud Storage API via aiogoogle with the intent of performing concurrent blob delete operations, but I get this error when running it via Cloud Functions:
Here is my code:
What am I doing wrong? I based this off this sample code.
The text was updated successfully, but these errors were encountered: