Skip to content

OpenAI API Error: 401 Incorecct API Key provided #6

@jinchaofs

Description

@jinchaofs

What happened?

我在阿里云百炼平台申请了免费试用(额度 100 万 Token)的 API Key,想要体验下 Qwen Coder,使用方式按照官方提供的文档执行,但是遇到了下面的问题:

Image

What did you expect to happen?

如果它不是 Bug,期望能解答下我所遇到的问题,如何解决。

Client information

Details
│                                                                     │
│ About Gemini CLI                                                    │
│                                                                     │
│ CLI Version             0.0.1-alpha.7                               │
│ Git Commit              b5a8df7 (local modifications)               │
│ Model                   qwen3-coder-plus                            │
│ Sandbox                 no sandbox                                  │
│ OS                      darwin                                      │
│ Auth Method             openai

Login information

No response

Anything else we need to know?

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    type/bugSomething isn't working as expectedtype/questionFurther information is requested

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions