- 
                Notifications
    You must be signed in to change notification settings 
- Fork 138
Description
I've created a thread on Microsoft's Developer Community.
A fix for this issue has been released in 17.14.7. You can find the thread here:
https://developercommunity.visualstudio.com/t/GitHub-Copilot-Chat-Error:-Could-not-pa/10924838?space=62&sort=newest
GitHub Copilot Chat in VS 2022 consistently fails with parsing error, making the tool completely unusable. The error occurs every time I try to ask any question in Copilot Chat.
When I ask any question in GitHub Copilot Chat, I get the following behavior:
Chat shows "Copilot generating response"
After some time, error appears: "error occurred while completing the task. try again"
This happens consistently with every question, regardless of complexity
The issue has been persistent for several hours
Troubleshooting Already Attempted
- Signed out and back into GitHub Copilot
- Restarted Visual Studio multiple times
- Verified internet connection is stable
- Checked GitHub Copilot subscription status (active)
- Cleared Visual Studio cache
- Tested with different types of questions
- Verified no firewall/antivirus blocking
Has anyone experienced similar "Could not parse" errors with Copilot Chat? Any suggestions for advanced troubleshooting or potential fixes would be greatly appreciated.
- Copilot Chat Extension Version: newest with new Agent feature
- VS 2022 Version: 17.14.6
- OS Version: Win 10
- Feature (e.g. agent/edit/ask mode): all
- Logs:
- [CopilotSessionProvider Information] Begin sending message (ConversationId:0c41237e-deb4-4672-a8a9-aed7d484ac57, CorrelationId:57ace3e1-d7f4-4dbf-920b-ee6b53798e67, MessageId: b8c5db2e-6870-48a1-95b9-284a55374022)
 [CopilotSessionProvider Information] Request content: "help"
 [Conversations Information] Copilot auth status: OK. Copilot badge status: Active
 [Conversations Error] [CopilotClient] Unknown exception:
 Could not parse ov
 [Conversations Error] [Conversations] Unhandled exception in AskInConversationAsync: System.Exception: Error occurred while invoking intent 'None'.
 Could not parse ov
 at Conversations.Kernel.ConversationBase.AskAsync(ConversationRequest requestContext, CancellationToken cancellation) in D:\a_work\1\s\src\Copilot.Service.Kernel\ConversationBase.cs:line 95
 at Conversations.Kernel.ConversationBase.AskAsync(ConversationRequest requestContext, CancellationToken cancellation) in D:\a_work\1\s\src\Copilot.Service.Kernel\ConversationBase.cs:line 141
 at Microsoft.VisualStudio.Conversations.Service.ServiceTarget.AskInConversationAsync(CopilotSessionId sessionId, CopilotRequest request, ActiveInteractions activeInteractions, IReadOnlyList1 history, CopilotRequestOptions requestOptions, CancellationToken cancellation) in D:\a\_work\1\s\src\Copilot.Service\ServiceTarget.cs:line 192 [CopilotSessionProvider Error] Unhandled exception invoking responder GitHub Copilot: StreamJsonRpc.RemoteInvocationException: Error occurred while invoking intent 'None'. Could not parse ov w StreamJsonRpc.JsonRpc.<InvokeCoreAsync>d__1561.MoveNext()
 --- Koniec śladu stosu z poprzedniej lokalizacji, w której wystąpił wyjątek ---
 w System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
 w Microsoft.VisualStudio.Copilot.ResponderBroker.d__9.MoveNext()
 --- Koniec śladu stosu z poprzedniej lokalizacji, w której wystąpił wyjątek ---
 w System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
 w System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
 w Microsoft.VisualStudio.Copilot.ResponderBroker.d__3.MoveNext()
 --- Koniec śladu stosu z poprzedniej lokalizacji, w której wystąpił wyjątek ---
 w System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
 w System.Threading.Tasks.Sources.ManualResetValueTaskSourceCore1.GetResult(Int16 token) w Microsoft.VisualStudio.Copilot.Core.Agents.DefaultChatAgent.<GenerateThoughtsAsync>d__15.MoveNext() --- Koniec śladu stosu z poprzedniej lokalizacji, w której wystąpił wyjątek --- w System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw() w Microsoft.VisualStudio.Copilot.Core.Agents.DefaultChatAgent.<GenerateThoughtsAsync>d__15.MoveNext() --- Koniec śladu stosu z poprzedniej lokalizacji, w której wystąpił wyjątek --- w System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw() w System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task) w Microsoft.VisualStudio.Copilot.Core.Agents.DefaultChatAgent.<RespondAsync>d__1.MoveNext() --- Koniec śladu stosu z poprzedniej lokalizacji, w której wystąpił wyjątek --- w System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw() w System.Threading.Tasks.Sources.ManualResetValueTaskSourceCore1.GetResult(Int16 token)
 w Microsoft.VisualStudio.Copilot.CopilotDefaultOrchestrator.d__22.MoveNext()
 RPC server exception:
 System.Exception: Error occurred while invoking intent 'None'.
 Could not parse ov
 at Conversations.Kernel.ConversationBase.AskAsync(ConversationRequest requestContext, CancellationToken cancellation) in D:\a_work\1\s\src\Copilot.Service.Kernel\ConversationBase.cs:line 95
 at Conversations.Kernel.ConversationBase.AskAsync(ConversationRequest requestContext, CancellationToken cancellation) in D:\a_work\1\s\src\Copilot.Service.Kernel\ConversationBase.cs:line 141
 at Microsoft.VisualStudio.Conversations.Service.ServiceTarget.AskInConversationAsync(CopilotSessionId sessionId, CopilotRequest request, ActiveInteractions activeInteractions, IReadOnlyList1 history, CopilotRequestOptions requestOptions, CancellationToken cancellation) in D:\a\_work\1\s\src\Copilot.Service\ServiceTarget.cs:line 192 at Microsoft.VisualStudio.Conversations.Service.CopilotServiceContainer.AskInConversationAsync(CopilotSessionId sessionId, CopilotRequest request, ActiveInteractions activeResponse, IReadOnlyList1 history, CopilotRequestOptions requestOptions, CancellationToken cancellationToken) in D:\a_work\1\s\src\Copilot.Service\CopilotServiceContainer.cs:line 508