For clarity on multiple posts in this forum like below creating a topic on the real issue.
AI Studio can only sync to a private account’s repositories, not to an organzation’s repositories.
Steps to reproduce:
- Make sure your AI Studio account is not linked to any github account.
- Click the Save to Github button in AI Studio
- In the popup you will see a treeview with your personal account and the organization you are admin of
- Select the organization
- Select “access to all repositories”. I assume you need rights to the root of the organization in order to create a new repository for that org.
- A button “On Main“ show on the top not clear what it does.
- Click “Create Git Repo“
- The error shows “Failed to create GitHub repository, Insufficient permissions to create the GitHub repository. Please check your permissions for the AI Studio App on GitHub“.
I have tried uninstalling the AI Studio app from both personal and org accounts, re install, nothing helps.
For example, I am able to link my org account to Firebase Studio.
Thanks,