Hi Google AI Studio Team & Community,
I am experiencing a persistent issue in Google AI Studio on Brave where prompts repeatedly fail with:
> “An internal error has occurred” (Failed to generate content: permission denied)
### Behavior & Details:
- **Environment:** Brave 1.93.129 Chromium: 151.0.7922.71 (64-bit) / Windows 10 22H2
- **Tested on Firefox:** Does NOT occur in Firefox (works fine).
- **Tested on Brave:** Occurs repeatedly in Brave with both **Shields ON** and **Shields OFF**.
- **Workaround:** Clicking “Regenerate” sometimes works. If not, refreshing the page (via normal refresh or Ctrl+F5) temporarily clears the issue until it happens again.
Developer Tools shows HTTP 403 Forbidden on RPC POST requests to:
with error body: [,[7,“The caller does not have permission”]].
Please look into this Web UI session token lifecycle / refresh issue in Brave. Thank you!
