CoPilot Error, Help anyone? #187462
Replies: 5 comments 1 reply
-
|
Yes, a few people have run into this after recent updates. That error usually means either:
|
Beta Was this translation helpful? Give feedback.
-
|
The models im using are Claude opus 4.6, and Claude sonnet 4.6, these would not be depreciated models, unless because they are newly released they are having issues?
I’ve tried using various Claude models that are still in use but no go.
There is no cache disabling option I could locate.
All my research points to a backend connectivity issue on GitHub / anthropic endpoints. Only Claude models are having this issue.
It's strange, though, my GPT 5.3 codex models are disconnecting in mid call also.
In any case, thank you for your reply. Hopefully I can narrow it down.
|
Beta Was this translation helpful? Give feedback.
-
|
400 with:
means the model ID being sent by the extension is not accepted by the provider endpoint or the extension is sending prompt-caching flags to a model that does not support them. Key points:
Immediate actions:
If still failing:
If only Claude models fail and GPT works intermittently, this is almost certainly a backend model routing or capability flag mismatch introduced in the latest extension release, not your configuration. |
Beta Was this translation helpful? Give feedback.
-
|
Welcome to the GitHub Community, @booxpro012, we're happy you're here! You are more likely to get a useful response if you are posting your question(s) in the applicable category. Check out this Guide on how to post in the right category. It'll ensure your questions and discussions reach the right people faster! This particular discussion belongs in the |
Beta Was this translation helpful? Give feedback.
-
|
The fix for me was setting github.copilot.chat.anthropic.useMessagesApi to false in user settings. The Messages API path sends prompt-caching headers that fail behind corporate proxies. |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
Hey all, since the latest VS code update, I've been getting having error messages sent back from my model requests.
Reason: Request Failed: 400 {"message":"You invoked an unsupported model or your request did not allow prompt caching. See the documentation for more information."}
Anyone else have this issue? Strange, nothing has changed. Checked my settings, everything appears in order.
Thanks to all who read.
Beta Was this translation helpful? Give feedback.
All reactions