continuedev / continuedev/continue

Error: OpenAI GPT-4.1 - 401

Open
#12,822 1 comment 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

area:integration kind:bug stale
Dominant language
TypeScript
Stars
36k
Forks
5.4k
PR merge metrics
No merged PRs in 30d

Description

Error Details

Model: OpenAI GPT-4.1
Provider: openai
Status Code: 401

Error Output

401 Incorrect API key provided: sk-proj-********************************************************************************************************************************************************mIYA. You can find your API key at https://platform.openai.com/account/api-keys.

Additional Context
Please add any additional context about the error here

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by reproducing the OpenAI GPT-4.1 request with the reported provider and a valid API key, then compare the result with the reported 401 response. Done means determining whether the failure is caused by the supplied credential or by Continue's OpenAI integration; the issue does not name a source file or test.

Written by the indexing model from the issue text.

Assessment

Tech stack
typescript
Domain
ai, api
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Active
Clarity
Needs clarification
Newbie friendliness
20/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.