Adding some troubleshooting text for login issues (#1451)

This commit is contained in:
Mark McDonald 2025-06-26 03:00:36 +08:00 committed by GitHub
parent aa0e375508
commit 452b82162b
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with 18 additions and 0 deletions

View File

@ -80,6 +80,11 @@ gemini
- For more comprehensive documentation, see the [full documentation](./docs/index.md).
- Take a look at some [popular tasks](#popular-tasks) for more inspiration.
### Troubleshooting
Head over to the [troubleshooting](docs/troubleshooting.md) guide if you're
having issues.
## Popular tasks
### Explore a new codebase

View File

@ -2,6 +2,19 @@
This guide provides solutions to common issues and debugging tips.
## Authentication
- **Error: `Failed to login. Message: Request contains an invalid argument`**
- Users with Google Workspace accounts, or users with Google Cloud accounts
associated with their Gmail accounts may not be able to activate the free
tier of the Google Code Assist plan.
- For Google Cloud accounts, you can work around this by setting
`GOOGLE_CLOUD_PROJECT` to your project ID.
- You can also grab an API key from [AI
Studio](http://aistudio.google.com/app/apikey), which also includes a
separate free tier.
## Frequently asked questions (FAQs)
- **Q: How do I update Gemini CLI to the latest version?**