continue icon indicating copy to clipboard operation
continue copied to clipboard

Error: GPT-5 Codex - 401

Open SNurali opened this issue 9 months ago • 2 comments

Error Details

Model: GPT-5 Codex 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

SNurali avatar Feb 06 '26 23:02 SNurali

Related issues:

  • #10215 - Error: GPT-5 - 401
  • #9778 - Error: GPT-5 - 401
  • #10200 - Error: GPT-5 Codex - 400
  • #10048 - Error: GPT-5 Codex - 400
  • #10275 - Error: GPT-5 Codex - Unknown error
  • #10240 - Error: GPT-5 Codex - Unknown error
  • #9897 - Error: GPT-5 Codex - 400
  • #9133 - Azure OpenAI /responses endpoint not supported for GPT-5 Codex models

continue avatar Feb 06 '26 23:02 continue

Hello, it looks like a URL was entered in place of an API key, you will need to enter a valid API key for this to work.

RomneyDa avatar Feb 07 '26 03:02 RomneyDa