GitHub Copilot in VS Code : Sorry, your request failed. Please try again. Request id: 26700fe1-812b-41e3-ae70-733a46b7e9a1 #145790
Replies: 13 comments 2 replies
|
Hi, I've had the same issue sometimes in the past, so I'll share some solutions that helped me to solve it: 1. Sign Out and Back In: 2. Verify Your Subscription: Ensure that your GitHub account has an active Copilot subscription. Log in to your GitHub billing page and check the status. (For me, this was not the problem, I was using the free version) 3. Clear the Cache: Sometimes cached credentials can cause problems. Locate the GitHub Copilot extension's configuration directory and clear its cache. 4. Update Visual Studio Code and Extensions: Check for updates to Visual Studio Code (Help > Check for Updates) and the GitHub Copilot extension to ensure compatibility. |
|
I have tried the four possible solutions provided by @JoseLorenzana272 but unfortunately I am still not able to use GitHub Copilot in Visual Studio Code. |
|
I also had this or a similar problem with expired token, for me the deactivation of all extensions incl. copilot chat .. helped. After deactivating the extensions, I restarted VSCode and first only activated copilot to log in again. After that everything worked again and all extensions could be activated again without there being any problems with copilot afterwards. For me, it seems that some update of an extension led to a conflict with copilot, because shortly before the problem occurred to me, a restart of an extension was necessary, which then led to the problems afterwards. |
|
I have deactivated all extensions, like suggested by @thazalega. Unfortunately, I still get the same error message. When I activate GitHub Copilot again and I login again, I see my previous failed request again. Apparently the chat history is still available somewhere, even after deinstallation and installation of GitHub Copilot in VS Code. See also microsoft/vscode-copilot-release#2867 |
|
@MarcHouben found something you can also try from stack overflow: What might give you more information are the logs on GitHub: https://github.com/settings/security-log And you can also try: revoke your Authorized GitHub Apps https://github.com/settings/apps/authorizations hopefully it helps you |
|
🕒 Discussion Activity Reminder 🕒 This Discussion has been labeled as dormant by an automated system for having no activity in the last 60 days. Please consider one the following actions: 1️⃣ Close as Out of Date: If the topic is no longer relevant, close the Discussion as 2️⃣ Provide More Information: Share additional details or context — or let the community know if you've found a solution on your own. 3️⃣ Mark a Reply as Answer: If your question has been answered by a reply, mark the most helpful reply as the solution. Note: This dormant notification will only apply to Discussions with the Thank you for helping bring this Discussion to a resolution! 💬 |
|
same issue |
|
@DataproHeadOffice If all else fails, just start a new chat. Seems to always fix the issue so far. |
|
Enabling MCP Servers in Copilot and restarting VS Code seemed to resolve it for me. https://github.com/organizations/carmendata/settings/copilot/policies |
|
Anyone reading this - I had a similar experience with Server Error: 500 while copilot was in the middle of a task. Clicking retry wouldn't fix it (tried half a dozen times). In the end I did a reload of the developer window (CTRL-SHIFT-P, reload). That got it working again. However, it seems that when it's in this state, it will often go back to this state, and you need to reload window again. I restarted VS Code and that fixed it for good (until the next time!) |
|
It seemed to be a temporary server-side fault of the AI service that Copilot connects to. After I connected the API to Copilot and used it for a while, the same message appeared. During that period, other software using the same AI model API also stopped working properly. After some time, they all started functioning normally again at the same time. |
|
this bug still appears |
|
+1,same bug in my copilot extension |
Uh oh!
There was an error while loading. Please reload this page.
Select Topic Area
Question
Body
I am using GitHub Copilot in Visual Studio Code. I get the following error when I use Copilot Chat: Sorry, your request failed. Please try again. Request id: 26700fe1-812b-41e3-ae70-733a46b7e9a1.
Log file contains the following information:
2024-11-28 13:33:24.357 [info] Using the Electron fetcher.
2024-11-28 13:33:24.357 [info] Initializing Git extension service.
2024-11-28 13:33:24.357 [info] Successfully activated the vscode.git extension.
2024-11-28 13:33:24.357 [info] Enablement state of the vscode.git extension: true.
2024-11-28 13:33:24.357 [info] Successfully registered Git commit message provider.
2024-11-28 13:33:25.000 [info] Logged in as MarcHouben
2024-11-28 13:33:25.994 [info] Got Copilot token for MarcHouben
2024-11-28 13:33:26.032 [info] copilot token chat_enabled: true, sku: yearly_subscriber
2024-11-28 13:33:26.038 [info] Registering default platform agent...
2024-11-28 13:33:26.041 [info] Successfully activated the GitHub.vscode-pull-request-github extension.
2024-11-28 13:33:26.041 [info] [githubTitleAndDescriptionProvider] Initializing GitHub PR title and description provider provider.
2024-11-28 13:33:26.041 [info] Successfully registered GitHub PR title and description provider.
2024-11-28 13:33:26.600 [info] Fetched model metadata in 603ms 933b9672-f7ab-46e2-9353-34eaa4596bc6
2024-11-28 13:33:26.871 [info] activationBlocker from 'languageModelAccess' took for 2846ms
2024-11-28 13:34:24.128 [info] Using the Electron fetcher.
2024-11-28 13:34:24.128 [info] Initializing Git extension service.
2024-11-28 13:34:24.128 [info] Successfully activated the vscode.git extension.
2024-11-28 13:34:24.128 [info] Enablement state of the vscode.git extension: true.
2024-11-28 13:34:24.128 [info] Successfully registered Git commit message provider.
2024-11-28 13:34:24.901 [info] Logged in as MarcHouben
2024-11-28 13:34:25.960 [info] Got Copilot token for MarcHouben
2024-11-28 13:34:25.996 [info] copilot token chat_enabled: true, sku: yearly_subscriber
2024-11-28 13:34:26.000 [info] Registering default platform agent...
2024-11-28 13:34:26.001 [info] Successfully activated the GitHub.vscode-pull-request-github extension.
2024-11-28 13:34:26.001 [info] [githubTitleAndDescriptionProvider] Initializing GitHub PR title and description provider provider.
2024-11-28 13:34:26.001 [info] Successfully registered GitHub PR title and description provider.
2024-11-28 13:34:26.448 [info] Fetched model metadata in 482ms 941a0ce7-46b0-4a22-b415-6640660c1bbb
2024-11-28 13:34:26.655 [info] activationBlocker from 'languageModelAccess' took for 2973ms
2024-11-28 13:34:32.503 [info] Request ID for failed request: 021cc5a6-e782-4a69-a1a8-cf3af1cc6161
2024-11-28 13:34:32.601 [info] Logged in as MarcHouben
2024-11-28 13:34:33.535 [info] Got Copilot token for MarcHouben
2024-11-28 13:34:33.542 [info] copilot token chat_enabled: true, sku: yearly_subscriber
2024-11-28 13:34:33.570 [info] Request ID for failed request: c1c0efee-fe8d-4a8e-9cf9-47fcf4181198
2024-11-28 13:34:33.601 [info] Logged in as MarcHouben
2024-11-28 13:34:34.514 [info] Got Copilot token for MarcHouben
2024-11-28 13:34:34.520 [info] copilot token chat_enabled: true, sku: yearly_subscriber
2024-11-28 13:34:34.520 [info] copilot token chat_enabled: true, sku: yearly_subscriber
2024-11-28 13:34:34.552 [info] copilot token chat_enabled: true, sku: yearly_subscriber
2024-11-28 13:35:05.102 [info] Request ID for failed request: b0ec46ea-a0fc-43a5-9a3f-9a4c8816d75f
2024-11-28 13:35:05.183 [info] Logged in as MarcHouben
2024-11-28 13:35:06.137 [info] Got Copilot token for MarcHouben
2024-11-28 13:35:06.143 [info] copilot token chat_enabled: true, sku: yearly_subscriber
2024-11-28 13:35:06.170 [info] copilot token chat_enabled: true, sku: yearly_subscriber
2024-11-28 13:35:06.230 [info] Request ID for failed request: f969e5b8-f09e-4877-8c9f-c48dfc6c620a
2024-11-28 13:35:06.301 [info] Logged in as MarcHouben
2024-11-28 13:35:07.235 [info] Got Copilot token for MarcHouben
2024-11-28 13:35:07.241 [info] copilot token chat_enabled: true, sku: yearly_subscriber
2024-11-28 13:35:07.271 [info] copilot token chat_enabled: true, sku: yearly_subscriber
2024-11-28 13:35:07.358 [info] Request ID for failed request: 3e17fc95-ab5d-47b8-bbdb-753285a41dbb
2024-11-28 13:35:07.363 [error] Failed to fetch conversation title because of response type (badRequest) and reason (token expired or invalid: 403)
2024-11-28 13:35:07.382 [info] Logged in as MarcHouben
2024-11-28 13:35:08.416 [info] Got Copilot token for MarcHouben
2024-11-28 13:35:08.418 [info] copilot token chat_enabled: true, sku: yearly_subscriber
2024-11-28 13:35:08.431 [info] copilot token chat_enabled: true, sku: yearly_subscriber
How do I get rid off "Failed to fetch conversation title because of response type (badRequest) and reason (token expired or invalid: 403)". Is this causing the error "Sorry, your request failed. Please try again. Request id: 26700fe1-812b-41e3-ae70-733a46b7e9a1"?
All reactions