無法使用 API KEY 登入
What version of Codex is running?
0.13.0 , 0.21.0
Which model were you using?
gpt-5-mini
What platform is your computer?
win 11 cmd.exe
What steps can reproduce the bug?
set OPENAI_API_KEY="sk-proj-***"
codex -m gpt-5-mini
test
What is the expected behavior?
return
message
What do you see instead?
system
⚠️ OpenAI rejected the request (request ID: req_8005f2e4935861757bac48e3ac0eea3c). Error details: Status: 401,
Code: invalid_api_key, Type: invalid_request_error, Message: 401 Incorrect API key provided:
"sk-proj**********************************************************************************************************
********************************************vMA". You can find your API key at
https://platform.openai.com/account/api-keys.. Please verify your settings and try again.
Additional information
1.
如果是使用 單機版 gpt-oss:20b 在 0.13.0 是可以正常運作的
但 0.21.0 因為指令變更 但說明文件沒有良好的更新 導致 不知如何處理 但至少還能勉強運作
說明文件的部分 沒有補強 實在難以使用
2.
可是在使用 api key 的部分 就沒辦法運作了 包含 0.13.0 , 0.21.0
This issue has 1 comment on GitHub. Read the full discussion on GitHub ↗