summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMark McDonald <[email protected]>2025-06-26 03:00:36 +0800
committerGitHub <[email protected]>2025-06-25 19:00:36 +0000
commit452b82162b7b81c6c1d9ba6c6c4fe4d4431c626b (patch)
tree93d3f3fa99c195e9cef205cb246ff745475867b4
parentaa0e3755084ad06692354b92e0b77d6e84963dbb (diff)
Adding some troubleshooting text for login issues (#1451)
-rw-r--r--README.md5
-rw-r--r--docs/troubleshooting.md13
2 files changed, 18 insertions, 0 deletions
diff --git a/README.md b/README.md
index 54fc2818..e4ffcc75 100644
--- a/README.md
+++ b/README.md
@@ -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
diff --git a/docs/troubleshooting.md b/docs/troubleshooting.md
index 922f1c7b..a0d8b742 100644
--- a/docs/troubleshooting.md
+++ b/docs/troubleshooting.md
@@ -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?**