Skip to content

BYOK internal server CAPI error 500 #272843

Closed

Description

Use BYOK, OpenRouter. I used Qwen3 Coder 480B

Open VS Code repo. Agent mode Use the following prompt

"Now refactor the way survivalRate is reported, so it does not report rates, but absolute number of changes.
The removals are also reported. Make sure to propoagate this change through all the affacted files
Do not wait on compilation errors"

I get an error

Sorry, your request failed. Please try again.

Copilot Request id: 022731e9-49ae-4649-9ae5-57f6726a7764

Reason: {"message":"Internal Server Error","code":500}

I am surprised we send a Copilot Request ID for this BYOK flow.

fyi João Moreno (@joaomoreno)

Image

Activity

  1. lramos15 commented on Oct 23, 2025

    @lramos15
    Member

    This is likely due to using a free open router model. They're really terrible. Not really anything we can do here

  2. isidorn commented on Oct 27, 2025

    @isidorn
    Author

    Thanks.
    But why is there a Copilot Request id here? Can we improve the error message so the user understands this is because of the BYOK model and the error has nothing to do with Copilot?

  3. lramos15 commented on Oct 27, 2025

    @lramos15
    Member

    Copilot request id is just the name of the request ID that we generate on the client. We can call it Client Request ID if you want

  4. isidorn commented on Oct 27, 2025

    @isidorn
    Author

    I was more hinting towards having a specific BYOK error text - if we can detect this case.

  5. added
    bug
    on Dec 9, 2025
  6. dmitrivMS commented on May 20, 2026

    @dmitrivMS
    Collaborator

    In light of enabling more BYOK scenarios, I am going to change this to "Client Request ID" to avoid the confusion.

  7. added
    unreleased
    on May 21, 2026
  8. added this to the 1.122.0 milestone on May 21, 2026
  9. added
    insiders-released
    and removed
    unreleased
    on May 21, 2026
  10. locked and limited conversation to collaborators on Jul 7, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Labels

bugcapiinsiders-releasedmodel-byokon-testplan

Type

No type

Projects

No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions