Skip to content

Switching between GitHub Copilot and Azure Open AI gives below error #465

@CsBigDataHub

Description

@CsBigDataHub

Describe the bug

Switching between GitHub Copilot and Azure Open AI gives below error.

[OPENAI] Unexpected response status: %s body: %s 400 {
  "error": {
    "message": "Invalid 'input[3].id': '649b3310-b1ed-44aa-8727-b7577d4f3f4c'. Expected an ID that begins with 'rs'.",
    "type": "invalid_request_error",
    "param": "input[3].id",
    "code": "invalid_value"
  }
}
{:message OpenAI response status: 400 body: {
  "error": {
    "message": "Invalid 'input[3].id': '649b3310-b1ed-44aa-8727-b7577d4f3f4c'. Expected an ID that begins with 'rs'.",
    "type": "invalid_request_error",
    "param": "input[3].id",
    "code": "invalid_value"
  }
}, :status 400, :body {
  "error": {
    "message": "Invalid 'input[3].id': '649b3310-b1ed-44aa-8727-b7577d4f3f4c'. Expected an ID that begins with 'rs'.",
    "type": "invalid_request_error",
    "param": "input[3].id",
    "code": "invalid_value"
  }
}}
:db/upsert-cache 21ms

To Reproduce

Steps to reproduce the behavior:

  1. Use GitHub Copilot for a while. (use Claude sonnet to code)
  2. switch to Azure OpenAI (gpt-5.5 to the changes) [same chat buffer]
  3. User input , enter, and the error appears

Expected behavior

Switching providers should not cause this error.

Doctor

ECA version: 0.134.2

Server cmd: /Users/ck/.local/share/mise/installs/eca/0.134.2/eca server

Workspaces: /Users/ck/GitRepos/strimzi-backup-operator

Default model: github-copilot/gpt-5-mini (Subscription (oauth), expires 2026-05-19 21:30)

Logged providers: 
openai: Subscription (oauth), expires 2026-05-17 09:26 --- I have Azure OpenAI, apart from Openai - FYI
github-copilot: Subscription (oauth), expires 2026-05-19 21:30 

Relevant env vars: 


Credential files:
  /Users/ck/.netrc:
    Readable: true
    Permissions: secure
    Credentials: 1

Screenshots

Image

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions