Skip to content

"You are currently configured to use a Google Cloud Project but lack a Gemini Code Assist license." #19216

Closed

Description

@RedBaron1914

What happened?

Anytime I try to login, it says "You are currently configured to use a Google Cloud Project but lack a Gemini Code Assist license. Please contact your administrator to request a license. (#3501) "

What did you expect to happen?

Logging in like I, and many people I know who use Gemini CLI do most of the time, because without setting project ID it just throws error. This wasn't an issue before.

Client information

(I'm not able to get through to login stage, impossible to obtain /about infromation. Both Windows and Linux OS, if that matters for some reason)

Login information

Login with Google + eniveroment set project id.

Anything else we need to know?

No response

Activity

  1. added
    status/need-triageIssues that need to be triaged by the triage automation.
    area/enterpriseIssues related to Telemetry, Policy, Quota / Licensing
    on Feb 16, 2026
  2. Lilylana1 commented on Feb 16, 2026

    @Lilylana1

    Same problem. I haven't been able to log in for 6 hours...

  3. livevasiliy commented on Feb 17, 2026

    @livevasiliy

    Also have this problem. Use via .env GOOGLE_CLOULD_PROJECT=XXXX now failed to login.

  4. OmoshiYu commented on Feb 17, 2026

    @OmoshiYu

    Same problem. It's been two days now since I can't use cli.

  5. lyn-go commented on Feb 17, 2026

    @lyn-go

    Same problem. I encountered the same today.

  6. Frnllk commented on Feb 17, 2026

    @Frnllk

    Got the same error this morning.

  7. Marcobi81 commented on Feb 17, 2026

    @Marcobi81

    Same error trying to use Gemini CLI trough Cloud Shell Editor. Local Gemini CLI works fine.

  8. mal1na2003 commented on Feb 17, 2026

    @mal1na2003

    same problem, got this error for about 12-14 hours now, no changes, no fixes

  9. igor-chern commented on Feb 17, 2026

    @igor-chern

    same issue, re-login did not help

  10. qinetiqu commented on Feb 18, 2026

    @qinetiqu

    the same problem, it says "You are currently configured to use a Google Cloud Project but lack a Gemini Code Assist license. Please contact your administrator to request a license. (#3501) "

  11. mikbox74 commented on Feb 18, 2026

    @mikbox74

    Same

  12. Vsevo commented on Feb 18, 2026

    @Vsevo

    same

  13. RedBaron1914 commented on Feb 18, 2026

    @RedBaron1914
    Author

    And Google still doesn't do or say anything. Neither "Nope, free stuff is over pay up" and neither "We are expericing issues/high demand, sorry, maybe in few weeks". Hell

  14. Marcobi81 commented on Feb 19, 2026

    @Marcobi81

    What happened?

    Anytime I try to login, it says "You are currently configured to use a Google Cloud Project but lack a Gemini Code Assist license. Please contact your administrator to request a license. (#3501) "

    What did you expect to happen?

    Logging in like I, and many people I know who use Gemini CLI do most of the time, because without setting project ID it just throws error. This wasn't an issue before.

    Client information

    (I'm not able to get through to login stage, impossible to obtain /about infromation. Both Windows and Linux OS, if that matters for some reason)

    Login information

    Login with Google + eniveroment set project id.

    Anything else we need to know?

    No response

    Are you using what Google calls "Gemini Code Assist for individuals", login with your personal google/gmail account)? I do and the problem for me only appears when using Gemini CLI on Cloud Shell. Every other attempt to use Gemini (CLI or chat, including local CLI) works just fine.

  15. 21 remaining items

  16. joenwtse-ux commented on Feb 22, 2026

    @joenwtse-ux

    @srithreepo This is what we have on our side. At least we can log in and the model reply us again, but there is no gemini 3 options here in model menu. We did have that shown in the model menu before the hiccup (last Monday)

    Select Model
    ● 1. gemini-2.5-pro
      2. gemini-2.5-flash
      3. gemini-2.5-flash-lite
    
    Remember model for future sessions:false
    (Press Tab to toggle)
    

    (@artooro)

  17. srithreepo commented on Feb 23, 2026

    @srithreepo
    Contributor

    @joenwtse-ux Could you tell me more?

    Are you using Login with Google ? ( I believe so but just confirming )
    Can you tell me what plan your account is using? Is it a Google AI Pro / Ultra ? Free tier? or is it a Gemini Code Assist using a GCP Project?
    Can you lastly also tell me what tier you see when you either boot up Gemini CLI or use the / about or / stats command?

  18. joenwtse-ux commented on Feb 23, 2026

    @joenwtse-ux

    @srithreepo:

    • Login with Google: yes, not using API key or vertex;
    • plan in use: just free tier
    • plan I saw: "Plan: Gemini Code Assist" (if your "tier" mean this, which shows up at the beginning of CLI)
  19. Marcobi81 commented on Feb 23, 2026

    @Marcobi81

    Hi All we have been able to mitigate this issue. Please try this and let us know if you are able to log in.

    Additionally if possible, can you validate if you are able to see Gemini 3 in the /model section? (especially if you are using a Google AI Pro account to sign in?)

    We are trying to identify the root cause why that was happening and hypothesize that it is affecting the same set of suers. Any information would be greatly appreciated.

    Main issue solved, thank you! I have not access to Gemini 3. Individual user account auth with gmail.

  20. RedBaron1914 commented on Feb 23, 2026

    @RedBaron1914
    Author

    If someone has issues with Gemini 3 not being present while using projects - try in the google cloud project, in the admin for gemini section, turning on preview models in the settings menu.

  21. srithreepo commented on Feb 23, 2026

    @srithreepo
    Contributor

    @joenwtse-ux @Marcobi81 Do you have a Google Cloud Project configured through a GOOGLE_CLOUD_PROJECT environment variable?

  22. yasuonakanishi-mobilus commented on Feb 24, 2026

    @yasuonakanishi-mobilus

    @srithreepo
    I tried again and confirmed that gemini-cli was now available with Google Account authentication.

  23. joenwtse-ux commented on Feb 24, 2026

    @joenwtse-ux

    @srithreepo I tried both with free tier account:

    1. using GOOGLE_CLOUD_PROJECT only;
    2. using GOOGLE_CLOUD_PROJECT_ID only;

    ...only have gemini 2.5 models, no v3 in all combinations.

    To add, I saw the remark of CLI update "0.29.5 → 0.29.7", but I don't want to update at all. Our work has been delayed and the current workable setup is crucial to my team, thus don't want to risk the use of model v2.5 by updating CLI. Unless Gemini team clarifies that CLI update could fix these current issues, we would rather stay in our work then spinning up new environments to test.

    My frineds here, let's imagine the day Gemini team fading out v2.5 models to path for something more advanced... with the model menu unstable/some showing and some are not. It's a nightmare catching us every day (even you paid).
    (@yasuonakanishi-mobilus @RedBaron1914 @Marcobi81 @lolilolill )

  24. Marcobi81 commented on Feb 24, 2026

    @Marcobi81

    @joenwtse-ux @Marcobi81 Do you have a Google Cloud Project configured through a GOOGLE_CLOUD_PROJECT environment variable?

    No project configured. Gemini CLi seems to run on a default project

    /about
    │ About Gemini CLI │
    │ │
    │ CLI Version 0.27.3 │
    │ Git Commit d5a135b │
    │ Model auto-gemini-2.5 │
    │ Sandbox no sandbox │
    │ OS linux │
    │ Auth Method Logged in with Google (xxxx@gmail.com) │
    │ GCP Project cloudshell-gca

  25. srithreepo commented on Feb 24, 2026

    @srithreepo
    Contributor

    [@srithreepo](https://github.com/srithreepo) I tried both with free tier account:

    1. using GOOGLE_CLOUD_PROJECT only;
    2. using GOOGLE_CLOUD_PROJECT_ID only;

    ...only have gemini 2.5 models, no v3 in all combinations.

    To add, I saw the remark of CLI update "0.29.5 → 0.29.7", but I don't want to update at all. Our work has been delayed and the current workable setup is crucial to my team, thus don't want to risk the use of model v2.5 by updating CLI. Unless Gemini team clarifies that CLI update could fix these current issues, we would rather stay in our work then spinning up new environments to test.

    My frineds here, let's imagine the day Gemini team fading out v2.5 models to path for something more advanced... with the model menu unstable/some showing and some are not. It's a nightmare catching us every day (even you paid). (@yasuonakanishi-mobilus @RedBaron1914 @Marcobi81 @lolilolill )

    To be cllear I wanted to make sure you did not have a project configured if you are using the free tier you should not be using a Google Cloud Project. Using it may cause issues like Gemini CLI Looking for a license and seeing that you dont have one
    or for that matter blocking Gemini 3 based on admin controls for the Preview release channel.

    For more details for when users need and dont need a GOOGLE_CLOUD_PROJECT #13516

  26. joenwtse-ux commented on Feb 25, 2026

    @joenwtse-ux

    @srithreepo So you mean the cause of missing Gemini 3 in model menu is "Preview release channel" not enabled? If you confirm, one of our teammates would like to try this out as they have tried different setup during the down time, including usage of GOOGLE_CLOUD_PROJECT or similar variables.

  27. RedBaron1914 commented on Feb 26, 2026

    @RedBaron1914
    Author

    After carefully testing, I conclude that now CLI, while seeing cloud project(it lists GCP project in /about), but fully ignores it. And once again, through third party proxy with the same auth tokens, project and endpoints - it works. Seems that CLI code itself has issue somewhere. Can't explain it else.

  28. joenwtse-ux commented on Feb 28, 2026

    @joenwtse-ux

    @srithreepo Can you confirmed the conditions? We want to figure out what setup would be stable for use.

    @srithreepo So you mean the cause of missing Gemini 3 in model menu is "Preview release channel" not enabled? If you confirm, one of our teammates would like to try this out as they have tried different setup during the down time, including usage of GOOGLE_CLOUD_PROJECT or similar variables.

  29. DavidAPierce commented on Apr 13, 2026

    @DavidAPierce
    Contributor

    Looks like the primary issue has been resolved in this thread.
    Closing this issue as solved for now.
    Please feel free to follow up if you feel this is a mistake or create a new ticket if you are experiencing a similar but distinct issue.
    Thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    area/enterpriseIssues related to Telemetry, Policy, Quota / Licensingstatus/need-triageIssues that need to be triaged by the triage automation.

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions