continue icon indicating copy to clipboard operation
continue copied to clipboard

Header name must be a valid HTTP token ["openaı-organization"] error in the Intellij

Open mesutal opened this issue 11 months ago • 5 comments

Before submitting your bug report

Relevant environment info

- OS: Windows
- Continue version: 1.0.55
- IDE version: IntteliJ IDEA 2024.1.1

Description

- name: Qwen3-Coder-30B-A3B-Instruct

   provider: openai

   model: Qwen3-Coder-30B-A3B-Instruct

   apiBase: https://xxxxxx.com.tr/

   apiKey: sk-xxxxxxxx

   requestOptions:

     caBundlePath: C:\Users\ai\Desktop\cert\ai.pem

   roles:

     - autocomplete

     - chat

     - edit

     - apply

   defaultCompletionOptions:

     contextLength: 120000

I'm using config.yaml as shown above. There's no problem in VSCode. There is a problem in IntelliJ. The problem starts with version 1.0.33 of the Continue plugin. This error did not exist in 1.0.21. My current version is 1.0.55.

I'm getting the following error. I've tried everything in the document, but I haven't gotten any results.

Header name must be a valid HTTP token ["openaı-organization"]

To reproduce

No response

Log output


mesutal avatar Dec 25 '25 10:12 mesutal

Related Issues

This appears to be a duplicate/related issue:

  • #8724 - Same error with Turkish character 'ı' in header name: Header name must be a valid HTTP token ["openaı-organization"]

Both issues involve invalid HTTP header tokens with Turkish characters (ı/ı) in "openai-organization" header, specifically affecting IntelliJ IDEs.

continue avatar Dec 25 '25 10:12 continue

This issue hasn't been updated in 90 days and will be closed after an additional 10 days without activity. If it's still important, please leave a comment and share any new information that would help us address the issue.

github-actions[bot] avatar Mar 26 '26 02:03 github-actions[bot]

still exists this issue on latest version.

tanero avatar Apr 04 '26 08:04 tanero

This issue hasn't been updated in 90 days and will be closed after an additional 10 days without activity. If it's still important, please leave a comment and share any new information that would help us address the issue.

github-actions[bot] avatar Jul 04 '26 02:07 github-actions[bot]

This issue was closed because it wasn't updated for 10 days after being marked stale. If it's still important, you are welcome to leave a comment and this will keep the issue open. However please note that this repo is no longer being actively maintained.

github-actions[bot] avatar Jul 15 '26 02:07 github-actions[bot]