gemini-cli - 💡(How to fix) Fix Cannot opt out of data collection due to "The caller does not have permission" error [1 comments, 2 participants]

Official PRs (…)
ON THIS PAGE

Recommended Tools

×6

Utilities matched from this issue’s tags and category — try them while you read without losing context.

GitHub issue graph ai analysis

Paste a GitHub issue URL. We fetch that issue, discover linked issues from bodies/comments/timeline, collect linked pull requests, and produce a structured English report.

The report is written in English Markdown for sharing and archival.

Helpful · Quick feedback

Loading…
GitHub stats
google-gemini/gemini-cli#26839Fetched 2026-05-11 03:27:00
View on GitHub
Comments
1
Participants
2
Timeline
10
Reactions
0
Timeline (top)
labeled ×6added_to_project_v2 ×1commented ×1issue_type_added ×1

Error Message

I added a few logs to the updateDataCollectionOptIn function in packages/cli/src/ui/hooks/usePrivacySettings.ts. The logs indicate that the call to update the privacy policy fails with a 403 "The caller does not have permission" error.

Code Example

> /about
# paste output here
╭───────────────────────────────────────────────────────────────────────────────────────╮
│                                                                                       │
About Gemini CLI│                                                                                       │
CLI Version                   0.42.0-nightly.20260428.g59b2dea0eGit Commit                    1a894c18e                                               │
Model                         gemini-3-flash-preview                                  │
Sandbox                       no sandbox                                              │
OS                            darwin                                                  │
Auth Method                   Signed in with Google (m****t@gmail.com)Tier                          Gemini Code Assist for individuals                      │
│                                                                                       │
╰───────────────────────────────────────────────────────────────────────────────────────╯
RAW_BUFFERClick to expand / collapse

What happened?

I logged in to the Gemini CLI using my Google Account. When I open the privacy control screen and select "No" in response to "Allow Google to use this data to develop and improve our products?" and press Enter, no visible update occurs.

I added a few logs to the updateDataCollectionOptIn function in packages/cli/src/ui/hooks/usePrivacySettings.ts. The logs indicate that the call to update the privacy policy fails with a 403 "The caller does not have permission" error.

Since I’m located in Germany, I expected the opt-out option to be available to me.

What did you expect to happen?

Updating the privacy policy via the /privacy command should work as expected for customers in the EU.

Client information

<details> <summary>Client Information</summary>

Run gemini to enter the interactive CLI, then run the /about command.

> /about
# paste output here
╭───────────────────────────────────────────────────────────────────────────────────────╮
│                                                                                       │
│ About Gemini CLI                                                                      │
│                                                                                       │
│ CLI Version                   0.42.0-nightly.20260428.g59b2dea0e                      │
│ Git Commit                    1a894c18e                                               │
│ Model                         gemini-3-flash-preview                                  │
│ Sandbox                       no sandbox                                              │
│ OS                            darwin                                                  │
│ Auth Method                   Signed in with Google (m****[email protected])                │
│ Tier                          Gemini Code Assist for individuals                      │
│                                                                                       │
╰───────────────────────────────────────────────────────────────────────────────────────╯
</details>

Login information

Google Account

Anything else we need to know?

No response

Vote matrix · Quick signals

Works
Did the solution work? Tap to confirm.
Easy Fix
Was it a quick fix?
Time Saver
Did it save you time?
Blocking
Was it severely blocking?
Common Issue
Are others likely hitting this too?
Flaky / Intermittent
Is it intermittent?
Verified / Reproducible
Can you reproduce it reliably?
Loading…

Still need to ship something?

×6

Another batch ranked right after the header list — different links, same matching logic.

Back to top recommendations

TRENDING