continue icon indicating copy to clipboard operation
continue copied to clipboard

Error: GPT-5 - 401

Open shihad323 opened this issue 9 months ago • 2 comments

Error Details

Model: GPT-5 Provider: openai Status Code: 401

Error Output

{"message":"Incorrect API key provided: https://********************************keys. You can find your API key at https://platform.openai.com/account/api-keys.","type":"invalid_request_error","param":null,"code":"invalid_api_key"}

Additional Context Please add any additional context about the error here

shihad323 avatar Feb 08 '26 07:02 shihad323

Potentially related issues:

  • #10335 - Error: GPT-5 - 401 (identical error, same root cause)
  • #10334 - Error: GPT-5 - 401 (identical error, same root cause)
  • #9778 - Error: GPT-5 - 401 (open, similar 401 error with GPT-5)

continue avatar Feb 08 '26 07:02 continue

Hello, it looks like you pasted the OpenAI API keys page URL into the API key field instead of an actual API key. Please visit https://platform.openai.com/api-keys, generate or copy your key (it starts with sk-), and paste that value into your Continue configuration.

RomneyDa avatar Mar 19 '26 20:03 RomneyDa