"You must be a named user on your organization's Gemini Code Assist Standard edition subscription"
What happened?
✕ [API Error: [{ "error": { "code": 403, "message": "You must be a named user on your organization's\nGemini Code Assist Standard edition subscription to use this service. Please contact your\nadministrator to request an entitlement to Gemini Code Assist Standard edition.", "errors": [ { "message": "You must be a named user on your organization's\nGemini Code Assist Standard edition subscription to use this service. Please contact your\nadministrator to request an entitlement to Gemini Code Assist Standard edition.", "domain": "global", "reason": "forbidden" } ], █ "status": "PERMISSION_DENIED" █ } █ } █ ]]
An error was reported after the automatic version upgrade,I'm just using the free version of gemini cli, but what do you mean by asking me to use the standard version directly
What did you expect to happen?
error,or 403
Client information
windows and use goole auth │ │ │ About Gemini CLI │ │ │ │ CLI Version 0.15.3 │ │ Git Commit a9789ae61 │ │ Model auto │ │ Sandbox no sandbox │ │ OS win32 │ │ Auth Method OAuth │█ │ GCP Project arctic-outpost-472203-m64
Login information
No response
Anything else we need to know?
No response
Found possible duplicate issues:
- #13108
- #13135
- #13158
If you believe this is not a duplicate, please remove the status/possible-duplicate label.
same
In my case auth does not work ether. I run gemini from cli, then try to make Google Auth in Chrome and Chrome redirects to this page. Before the update to the latest version (0.15) I was using gemini without any problems and auth flow was working correctly.
感觉版本升级后 出现了身份和使用模型的bug 很多人感觉都用不起
me too
Has anyone solved this problem?
有人解决这个问题了吗?
nobady
Do you have any of the following environment variables set: GOOGLE_CLOUD_PROJECT, GOOGLE_CLOUD_PROJECT_ID, GOOGLE_CLOUD_LOCATION? If so, I believe we will assume you are trying to log in with this GCP project/location and you will get hit with this error if you don't have the right permissions.
It seems there are some reports of this issue when none of those environment variables are set so it can't be the only cause.
Do you have any of the following environment variables set:
GOOGLE_CLOUD_PROJECT,GOOGLE_CLOUD_PROJECT_ID,GOOGLE_CLOUD_LOCATION? If so, I believe we will assume you are trying to log in with this GCP project/location and you will get hit with this error if you don't have the right permissions.
I have the GOOGLE_CLOUD_PROJECT env set, it was working fine then suddenly got the error, if it's a permission issue, what permissions should I have/enabled?
Thanks for your patience as we work through this. Two things:
-
If you are signing in to Gemini CLI as an individual
- either using AI Pro
- or using AI ultra
- or using a free account
Do NOT set the GOOGLE_CLOUD_PROJECT or GOOGLE_CLOUD_PROJECT_ID environment variables. These are only required if you are trying to get a license through your organization when someone went to cloud.google.com and procured a Gemini Code Assist license. We are working on fixing the bug where that error message shows up saying you need a Google Cloud project,
-
Optionally, you can test using this branch to see if you are getting any more info from the error messages? (Please ensure that the 2 environment variables mentioned above are not set.)
npx https://github.com/google-gemini/gemini-cli.git#feat/ineligible-tier-error
Thanks for your patience as we work through this. Two things:
If you are signing in to Gemini CLI as an individual
- either using AI Pro
- or using AI ultra
- or using a free account
Do NOT set the GOOGLE_CLOUD_PROJECT or GOOGLE_CLOUD_PROJECT_ID environment variables. These are only required if you are trying to get a license through your organization when someone went to cloud.google.com and procured a Gemini Code Assist license. We are working on fixing the bug where that error message shows up saying you need a Google Cloud project,
Optionally, you can test using this branch to see if you are getting any more info from the error messages? (Please ensure that the 2 environment variables mentioned above are not set.)
npx https://github.com/google-gemini/gemini-cli.git#feat/ineligible-tier-error
I download the branch and test and: the same
Also i tried to DELETE the .env file where i have configured GOOGLE_CLOUD_PROJECT for each login CAUSE i report time ago this too... #8435 this is related when u DONT configure the GOOGLE_CLOUD_PROJECT in a free account.
Thanks for your patience as we work through this. Two things:
If you are signing in to Gemini CLI as an individual
- either using AI Pro
- or using AI ultra
- or using a free account
Do NOT set the GOOGLE_CLOUD_PROJECT or GOOGLE_CLOUD_PROJECT_ID environment variables. These are only required if you are trying to get a license through your organization when someone went to cloud.google.com and procured a Gemini Code Assist license. We are working on fixing the bug where that error message shows up saying you need a Google Cloud project,
Optionally, you can test using this branch to see if you are getting any more info from the error messages? (Please ensure that the 2 environment variables mentioned above are not set.)
npx https://github.com/google-gemini/gemini-cli.git#feat/ineligible-tier-error
If the environment variable GOOGLE_CLOUD_PROJECT is not configured,the following error will be reported: Failed to login. Message: This account requires setting the GOOGLE_CLOUD_PROJECT or GOOGLE_CLOUD_PROJECT_ID env var│ │ https://goo.gle/gemini-cli-auth-docs#workspace-gca
If the environment variable GOOGLE_CLOUD_PROJECT are configured, the following error will occur: You must be a named user on your organization's\nGemini Code Assist Standard edition subscription to use this service. Please contact█ your\nadministrator to request an entitlement to Gemini Code Assist Standard edition.
In conclusion, this environment variable is now unusable regardless of whether it is set or not. Previously, I have been able to use it normally for several months. This problem has emerged suddenly recently.
感谢您的耐心等待。有两件事需要说明:
如果您以个人身份登录 Gemini CLI
- 要么使用 AI Pro
- 或使用 AI Ultra
- 或者使用免费帐户
请勿设置 GOOGLE_CLOUD_PROJECT 或 GOOGLE_CLOUD_PROJECT_ID 环境变量。只有当有人访问cloud.google.com并购买了 Gemini Code Assist 许可证后,您尝试通过组织获取许可证时,才需要设置这些环境变量。 我们正在修复出现“您需要一个 Google Cloud 项目”错误消息的错误。
您也可以使用此分支进行测试,看看是否能从错误消息中获取更多信息。(请确保上面提到的两个环境变量未设置。)
npx https://github.com/google-gemini/gemini-cli.git#feat/ineligible-tier-error如果未配置环境变量 GOOGLE_CLOUD_PROJECT,则会报告以下错误: 登录失败。消息:此帐户需要设置 GOOGLE_CLOUD_PROJECT 或 GOOGLE_CLOUD_PROJECT_ID 环境变量│ │ https://goo.gle/gemini-cli-auth-docs#workspace-gca
如果配置了环境变量 GOOGLE_CLOUD_PROJECT,则会出现以下错误: 您必须是贵组织 Gemini Code Assist 标准版订阅的指定用户才能使用此服务。请联系█ 您的管理员将申请获得 Gemini Code Assist 标准版的使用权。
总之,无论是否设置,这个环境变量现在都无法使用。此前几个月我一直正常使用它,这个问题是最近突然出现的。
That's right, that's exactly what I want to say. In short, you will report an error in how you choose.
@scidomino Free accounts no longer need to configure the "GOOGLE_CLOUD_PROJECT" or "GOOGLE_CLOUD_PROJECT_ID" variable in .env?
However, the dev team should look into another bug that has been around for MONTHS --> #8435
cause if the dev team will fix "You must be a named user on your organization's Gemini Code Assist Standard edition subscription" the team need look at the "Failed to login. Message: This account requieres setting the GOOGLE_CLOUD_PROJECT env var error" too
Thanks for your patience as we work through this. Two things:
If you are signing in to Gemini CLI as an individual
- either using AI Pro
- or using AI ultra
- or using a free account
Do NOT set the GOOGLE_CLOUD_PROJECT or GOOGLE_CLOUD_PROJECT_ID environment variables. These are only required if you are trying to get a license through your organization when someone went to cloud.google.com and procured a Gemini Code Assist license. We are working on fixing the bug where that error message shows up saying you need a Google Cloud project,
Optionally, you can test using this branch to see if you are getting any more info from the error messages? (Please ensure that the 2 environment variables mentioned above are not set.)
npx https://github.com/google-gemini/gemini-cli.git#feat/ineligible-tier-errorI download the branch and test and: the same
Also i tried to DELETE the .env file where i have configured
GOOGLE_CLOUD_PROJECTfor each login CAUSE i report time ago this too... #8435 this is related when u DONT configure the GOOGLE_CLOUD_PROJECT in a free account.
same result for me when using that branch and removing the env
@scidomino I do not have any GOOGLE* env vars, my acc is in Google AI Pro plan, but I still cannot login and being redirected to this page https://github.com/google-gemini/gemini-cli/issues/13190#issuecomment-3539954456
Exactly the same situation +1
same :(
same :(
same :(
same :(
Well at least the Collaborator confirming that this is a bug
Error 403 clearly states: "... Gemini Code Assist Standard edition subscription to use this service."
I think the most obvious thing is that the freebie has ended, but the documentation hasn't been updated. Judging by my accounts, they've cut off a huge number of accounts, especially new ones. The ratio is roughly 30/70 (30% are still free).
But it's strange why I'm still getting a lot of 429 errors (it's not a quota, but an overload), if they've cut a bunch of free users. Perhaps they're taking the final steps and preparing the infrastructure for Gemini 3.0 Pro for production and decided to free up capacity, or maybe they cut people early to prevent them from using the new Gemini models for free.
同
in the latest version i updated, when login with my free account with "auth with google" happens this
It forces me to have a PROJECT set up and when i configure the GOOGLE PROJECT ID IN .env file happens this
@scidomino
in the latest version i updated, when login with my free account with "auth with google" happens this
It forces me to have a PROJECT set up and when i configure the GOOGLE PROJECT ID IN .env file happens this
[@scidomino](https://github.com/scidomino)
Same
Emm.....The service is restored in my area?
Emm.....The service is restored in my area?
not appear to u more "you must be a named user on your organizactions Gemini Code ASsisst Standard ..."?
Emm.....The service is restored in my area?
not appear to u more "you must be a named user on your organizactions Gemini Code ASsisst Standard ..."?
Yes, After using it throughout the day (UTC+8), I haven't encountered that issue again.

It forces me to have a PROJECT set up and when i configure the GOOGLE PROJECT ID IN .env file happens this
[@scidomino](https://github.com/scidomino)