PERMISSION_DENIED: Verify your account to continue

Hello, I am getting this error when querying: Model query failed: PERMISSION_DENIED: Verify your account to continue. I tried re-authorizing - which did not work.

I use "Android Studio (Now is Android Studio Rabbit 1 | 2026.2.1) at mac osx

get the same error

but before 2026/10/8 G+8

i can use gemini at Android Studio

Hello @Bhaibhi_H,

Can you confirm which platform you are using? Are you using Google AI Studio or a different environment?

I use Google Studio with Gemini Pro subscription

Dear Sir

i use local “Android Studio” (Android Studio Rabbit 1 | 2026.2.1)
Build #AI-262.9437.185.2621.16467767, built on September 29, 2026

Runtime version: 25.0.3±15898627-b508.16 aarch64
VM: OpenJDK 64-Bit Server VM by JetBrains s.r.o.

JCEF version: 144.0.15-262-b37
get th same error !!

why ?

I also get the same error?

I also encountered the same error. It has been like this since mid-to-early October and I haven’t been able to use it.

Hello everyone,

This forum is dedicated to issues related to the Gemini API and Google AI Studio, and support cannot be provided here for Android Studio. Can you submit your issue through the Android Studio support page at https://developer.android.com/studio/report-bugs?

I had the issue and resolved it using Claude’s help by doing below:

The android studio just does not show how to complete the validation. Open the log file (go to help in android studio → then show log file in finder)

Search for “Verify your account to continue” in the logs. You will find something like below. Copy the validationUrl, open it in browser and finish the validation. You will then be able to use it

“ineligibleTiers”: [
{
“reasonCode”: “VALIDATION_REQUIRED”,
“reasonMessage”: “Your current account is not eligible for Gemini Code Assist for individuals, the free version of Gemini Code Assist. Verify your account to continue.\n\nAlternatively, try signing in with another personal Google account.”,
“tierId”: “free-tier”,
“tierName”: “Gemini Code Assist for individuals”,
“validationErrorMessage”: “Verify your account to continue.”,
“validationLearnMoreLinkText”: “Learn more”,
“validationLearnMoreUrl”: " Take steps to gain access to certain features and services - Google Account Help ",
“validationUrl”: “https://accounts.google.com/v3/signin/continue?plt=valuesRemoved”,
“validationUrlLinkText”: “Verify your account”
}
]

“Same issue here. Android Studio Gemini agent shows: Model query failed: PERMISSION_DENIED: Verify your account to continue. I have an active Google AI Pro plan, a personal Gmail account, 2-Step Verification is on, age is verified, and my phone numbers are verified. It was working fine a few days ago. I reinstalled Android Studio, deleted old config folders, signed out and signed in again, selected the Individual tier, and tried a different default browser. The same error still appears. Gemini works fine on gemini.google.com with the same account.”

Thanks everyone for sharing your inputs. This issue has resolved for me now. Thanks @Prudhvi & @Pooja_Kapse . initially, i couldn’t get the validation url in the log since android studio was rabit 1 version while the latest one is rabit 2. i updated the android studio to rabit 2 and I am able to get the validation url link from the log. I did the verification and now the agent is working fine. Thanks Again!