codex 报 401 Unauthorized

浴乎沂 2026-04-10 13:35 1


unexpected status 401 Unauthorized: You have insufficient permissions for this operation. Missing scopes: api.responses.write. Check that you have the correct role in your organization (Reader, Writer, Owner) and project (Member, Owner), and if you’re using a restricted API key, that it has the necessary scopes.



今天把服务器上的codex渠道切换到官方GPT Plus,cc-switch、代理、会话同步什么的都搞定了,然后发现给我报401


佬友们有什么头绪吗,我在本地mac上用官渠plus一点问题都没啊

最新回复 (5)
  • 道友 04-10 14:24
    1

    我也出现一样的问题,弄了半天可也没搞好。

  • 浴乎沂 楼主 04-10 14:25
    2

    弄好了,我试了好久,如果用官方账号登录,config.toml里不能有base_url,否则就会401,删掉base_url就好了

  • euua 04-16 20:43
    3

    有用有用,感谢^-^ 天才程序员又回来了哈哈哈

  • jujuz 06-12 16:23
    4

    我去,感谢佬,我今天也是这样的错误,多亏了佬 ^-^

  • love_luosifen 08-24 21:08
    5

    base_url



    爱你佬,我找了好久才知道,感谢感谢

* 帖子来源Linux.do
返回