Copilot Chat failing with "Failed to parse URL from /v1/messages: Invalid URL" #199625
Replies: 1 comment
-
|
💬 Your Product Feedback Has Been Submitted 🎉 Thank you for taking the time to share your insights with us! Your feedback is invaluable as we build a better GitHub experience for all our users. Here's what you can expect moving forward ⏩
Where to look to see what's shipping 👀
What you can do in the meantime 💻
As a member of the GitHub community, your participation is essential. While we can't promise that every suggestion will be implemented, we want to emphasize that your feedback is instrumental in guiding our decisions and priorities. Thank you once again for your contribution to making GitHub even better! We're grateful for your ongoing support and collaboration in shaping the future of our platform. ⭐ |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
🏷️ Discussion Type
Bug
💬 Feature/Topic Area
Copilot in GitHub
Body
Summary
Since approximately June, 2026, Copilot Chat has been completely broken on my machine in all modes (Ask, Plan, and Agent). Every request fails with the error below. The issue persists even after extensive troubleshooting.
Error Message
Client Request IDs:
ad70eaa8-b974-491f-8a53-5f69a03e5165951653ea-5676-450d-89c9-e03e50ad009d622478fd-75d5-4d1e-9709-d89475e32b15Environment
fcf604774b9f2674b473065736ee75077e256353)Analysis
The error path
/v1/messagesis the Anthropic API endpoint. It appears that Copilot Chat is attempting to call the Claude API but with a missing or malformed base URL, resulting in an invalid URL being constructed.Troubleshooting Already Performed
~/Library/Application Support/Code/User/globalStorage/github.copilot-chat/)ANTHROPIC_BASE_URL,OPENAI_BASE_URL, or proxy variables foundsettings.json— no custom model, Claude, or proxy configurations.vscode/settings.jsonin the active workspaceExpected Behavior
Copilot Chat should successfully send requests and receive responses in all modes (Ask, Plan, and Agent) without URL construction errors.
Actual Behavior
Every request in all Copilot Chat modes (Ask, Plan, and Agent) fails immediately with
Failed to parse URL from /v1/messages: Invalid URL.Additional Notes
Beta Was this translation helpful? Give feedback.
All reactions