Constant "An internal error has occurred" on Google AI Studio web UI, while API works fine

Hello,

Since earlier today, I am constantly getting “An internal error has occurred” whenever I try to chat or send a message in the Google AI Studio web interface.

I checked the browser devtools console, and it shows a “403 Forbidden” error on the GenerateContent endpoint:

alkalimakersuite-pa.clients6.google.com/GenerateContent

I have already tried standard troubleshooting like clearing the browser cache, using incognito mode, and trying different networks, but the error persists. Furthermore, I asked a friend who uses AI Studio, and they are experiencing the exact same issue today.

Interestingly, the API works perfectly fine when called directly via code using the API Key, so the underlying model seems healthy. The issue appears to be strictly isolated to the Web UI frontend/session management.

Is anyone else experiencing this today, or is there a known web platform outage? Any updates from the team would be highly appreciated.

Hi

I am trying to reproduce this but am unable to do it
Is there a specific model you are experiencing it for ? or is the same error for all models ?

Hello. I tested it with another browser. It was working with Firefox yesterday, but now it is not working with Firefox either.

UPDATE: I found the exact root cause of the bug!

This is actually an Accessibility (a11y) issue on the AI Studio web UI. I am blind and use the NVDA screen reader.

  • When triggering the “Run” / send button using the MOUSE, it works perfectly fine.
  • When triggering the exact same button using the KEYBOARD (Enter/Space via screen reader / keyboard navigation), the application throws the “Internal Error” / 403 Forbidden error.

It seems the keyboard event handler is either passing improper parameters or failing to attach the session token correctly compared to the mouse click event handler.

Please pass this to the UI/Accessibility engineering team to fix the keyboard interaction for the Run button.

Thank you for sharing this

i will forward this information to the right team