Google Al Studio报错:Failed to create GitHub repository, Insufficient permissions to create the GitHub

(没解决)

参考文章:Cannot connect Google AI Studio to GitHub - ‘authentication error’ persists

在Google Al Studio保存项目到github的时候报错了

在这里插入图片描述

解决方法

Revoke existing access on GitHub:

Log in to your GitHub account.

Navigate to your Settings by clicking your profile picture in the upper-right corner.

在这里插入图片描述

In the left sidebar, go to Developer settings > GitHub Apps (for an app you own) or Applications > Authorized OAuth Apps (for a third-party app).

在这里插入图片描述
在这里插入图片描述

Find the “Google AI Studio” app (or similarly named integration).

Revoke or Deny access for this application.

Remove access on Google:

Visit your Google Account Permissions page.

Find the GitHub app connection and remove its access.

Clear cache and reconnect:
Clear your browser’s cache and cookies, or use an Incognito/Private browsing window to ensure no stale tokens are used.
Return to Google AI Studio and attempt to save your work to a new GitHub repository again.
Grant “All repositories” access:
During the reconnection/authorization process, GitHub will prompt you to grant permissions.
Crucially, ensure you select the option to grant access to “All repositories” instead of “Only select repositories”. This gives AI Studio the necessary permissions to create new repositories on your behalf.
Complete the authorization process.
After following these steps, you should be able to create a GitHub repository successfully from Google AI Studio.

评论
成就一亿技术人!
拼手气红包6.0元
还能输入1000个字符
 
红包 添加红包
表情包 插入表情
 条评论被折叠 查看
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包

打赏作者

Dontla

你的鼓励将是我创作的最大动力

¥1 ¥2 ¥4 ¥6 ¥10 ¥20
扫码支付:¥1
获取中
扫码支付

您的余额不足,请更换扫码支付或充值

打赏作者

实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值