解决vscode中GitHub copilot无法登录问题,提示:(Failed to get copilot token due to 401 status. Please sign out and try)

最近使用vscode过程中,发现我的gihub copilot忽然用不了了
点击登录按钮没有反应,无法跳转至网页登录界面,输出窗口提示Failed to get copilot token due to 401 status. Please sign out and try

解决方法

  1. 打开左下角账号设置(头像按钮)
  2. 注销你的账户然后重新登录
  3. 重新登录github copilot即可使用

在这里插入图片描述

Logo

欢迎加入DeepSeek 技术社区。在这里,你可以找到志同道合的朋友,共同探索AI技术的奥秘。

更多推荐