continue icon indicating copy to clipboard operation
continue copied to clipboard

Error: GPT-5 - 401

Open Glodrans opened this issue 11 months ago • 3 comments

Error Details

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

Error Output

{"message":"Incorrect API key provided: https://*****************************************ript. 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

Glodrans avatar Dec 16 '25 10:12 Glodrans

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

Glodrans avatar Dec 16 '25 10:12 Glodrans

Related issues:

  • #7710 - API Key error (400/401) despite valid key (closed)
  • #6191 - OpenRouter and Groq API keys return 401 (closed)
  • #6859 - VLLM returns 401 Unauthorized (closed)
  • #8458 - No Body Error on GPT-5 (open)
  • #9164 - Error: GPT-5 - 400 (open)
  • #9155 - Error: GPT-5 - 400 (open)

continue avatar Dec 16 '25 10:12 continue

Hello, this is an error on the openai side and means the key is actually invalid. You will need to use a different key.

RomneyDa avatar Jan 22 '26 21:01 RomneyDa