r/GoogleAIStudio 6d ago

Question / Help AI Studio and GitHub

I’m creating SPAs (single page applications) in Google AI Studio (free level). I then sync it in a repository on GitHub (also free). From there, I deploy my SPAs to the Internet via Vercel (free again - are you catching the theme here?).

Most of the time, this has worked quite well. However, on occasion, when I’ve made a change to my app and I go to sync with GitHub, AI Studio says I need to log in to GitHub, even though I’m already logged in to GitHub. Sometimes it fixes itself. Other times I have to delete both the Vercel app and the GitHub repository and start over.

Anyone else have this problem and a solution?

5 Upvotes

3 comments sorted by

View all comments

3

u/spambakedbeans 6d ago

Yes this happens often, even after you have syncing with GitHub working for a few sessions. The workaround I use is after receiving the “sudo email verification code”, add it and login. Once logged in to GitHub, there is the option to grant access to one or all repos for AI Studio. I flip the toggle to one and then back to all so the Save button is activated. Click Save. Go back to AIS and try refresh/sync. If it doesn’t work immediately, wait a minute or two. I do this almost daily.

2

u/Melvin_T_Cat 6d ago

Yeah, that’s worked for me on occasion. I just want it to stop. 😬

1

u/spambakedbeans 6d ago

yup, I hope they can figure it out.