Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

HTTP 401 Unauthorized Error When Using OpenAI API with Volcengine in Continue Extension #4297

Open
2 of 3 tasks
forrestgao opened this issue Feb 23, 2025 · 0 comments
Open
2 of 3 tasks
Assignees
Labels
ide:vscode Relates specifically to VS Code extension kind:bug Indicates an unexpected problem or unintended behavior "needs-triage"

Comments

@forrestgao
Copy link

Before submitting your bug report

Relevant environment info

- OS:
- Continue version:
- IDE version:
- Model:
- config:

Description

I have installed the Continue extension for VSCode and configured it with the Volcengine API that is compatible with OpenAI. While I can successfully ask questions and receive intelligent responses, I still encounter the following error message every time I open VSCode:
HTTP 401 Unauthorized from https://api.openai.com/v1/completions
{ "error": { "message": "Incorrect API key provided" } }
Despite the error, the extension works properly when interacting with the API and generating responses. I have double-checked my API key, and it appears to be correct. Could you assist me in resolving this issue where the error appears on startup?

To reproduce

Install the Continue extension in VSCode.
Configure the extension with a Volcengine API key.(Provider: openai)
Open VSCode and check the output.

Log output

@dosubot dosubot bot added ide:vscode Relates specifically to VS Code extension kind:bug Indicates an unexpected problem or unintended behavior labels Feb 23, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
ide:vscode Relates specifically to VS Code extension kind:bug Indicates an unexpected problem or unintended behavior "needs-triage"
Projects
None yet
Development

No branches or pull requests

2 participants