-
Notifications
You must be signed in to change notification settings - Fork 310
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
TypeError: string indices must be integers
when using bucket.exists() in Google Cloud Code
#1089
Comments
I took a look and it seems the issue is that I am not sure why your request received a different I think the next steps are to add a check that |
I was investigating the BigQuery client libraries with @chalmerlowe and we observe this on Google Cloud Shell as well. I suspect Cloud Shell may be emulating the metadata server, but not as accurately as needed. |
I had a very similar traceback.
|
While I don't have a reproduction it looks like this code expects an overly-restrictive |
The problem was exactly that, thanks fo the suggestion. This should fix it: #1382 |
The fix #1382 is merged. Closing the bug. Thank you @DanieleQuasimodo! |
I still hit this error on cloud shell when trying to query with the bigquery client
|
@dslans could you file a new bug with the details such as |
Have you fixed this bug yet? |
$ pip freeze |
Thanks for stopping by to let us know something could be better!
PLEASE READ: If you have a support contract with Google, please create an issue in the support console instead of filing on GitHub. This will ensure a timely response.
Please run down the following list and make sure you've tried the usual "quick fixes":
If you are still having issues, please be sure to include as much information as possible:
Environment details
google-auth
version: google-auth==2.9.1Steps to reproduce
(Cloud Code was in ephemeral mode)
Making sure to follow these steps will guarantee the quickest resolution possible.
Thanks!
The text was updated successfully, but these errors were encountered: