Showcasing Google Cloud's generative AI for marketing scenarios via application frontend, backend, and detailed, step-by-step guidance for setting up and utilizing generative AI tools, including examples of their use in crafting marketing materials like blog posts and social media content, nl2sql analysis, and campaign personalization.
ERROR: (gcloud.auth.application-default.login) There was a problem refreshing your current auth tokens: None could not be converted to bytes
Please run:
$ gcloud auth login
to obtain new credentials.
If you have already logged in with a different account, run:
$ gcloud config set account ACCOUNT
to select an already authenticated account to use.
The suggested actions (re-login and change account) don't work.
My colleagues (with the same permissions as myself) have no issue running this command and authentication. This issue is persistent for my account in other machines.
Both the SDK documentation and gemini suggestions have no solution. I tried all of these:
Troubleshooting Steps
Re-authenticate with gcloud auth login:
Open your terminal or command prompt.
Run: gcloud auth login
Follow the prompts to authenticate with your Google account in your web browser.
Check GOOGLE_APPLICATION_CREDENTIALS (if applicable):
If you're using a service account key file:
Ensure the GOOGLE_APPLICATION_CREDENTIALS environment variable is set correctly and points to the absolute path of your service account key file.
Verify that the key file exists and has the correct permissions.
Reinstall (if the issue persists): Follow the instructions for your operating system on the official Google Cloud SDK installation page: https://cloud.google.com/sdk/docs/install
I can reproduce this. It is related to at least the latest version
❯ gcloud --version
Google Cloud SDK 499.0.0
This is breaking demos and pipelines all around.
While I'm not able to reproduce it in earlier version:
❯ gcloud --version
Google Cloud SDK 492.0.0
I'm having an error when generating auth tokens in the terminal with the cloud-platform scope. When I run:
I have an error in the token generation:
The suggested actions (re-login and change account) don't work. My colleagues (with the same permissions as myself) have no issue running this command and authentication. This issue is persistent for my account in other machines.
Both the SDK documentation and gemini suggestions have no solution. I tried all of these:
Troubleshooting Steps
I can reproduce this. It is related to at least the latest version ❯ gcloud --version Google Cloud SDK 499.0.0 This is breaking demos and pipelines all around.
While I'm not able to reproduce it in earlier version: ❯ gcloud --version Google Cloud SDK 492.0.0