microsoftgraph / microsoftgraph/microsoft-graph-comms-samples

Microsoft.Graph.Communications.Core.Exceptions.ServiceException: Code: 8522

Open
#330 2 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
No language data
Stars
253
Forks
275
Avg merge
1d 5h
Merged PRs (30d)
1

Description

Describe the issue
My bot subscribes to unhandled exceptions and I receive regularly the error: Microsoft.Graph.Communications.Core.Exceptions.ServiceException: Code: 8522

Expected behavior
The call is stopped but I still receive this error

Graph SDK (please complete the following information):
Microsoft.Graph.Communications.Calls.Media 1.2.0.1702

Call ID
ec8cbd23-e6cf-4095-bf0c-d91192e40968

Logs
A task has encountered an unobserved exception
System.AggregateException: A Task's exception(s) were not observed either by Waiting on the Task or accessing its Exception property. As a result, the unobserved exception was rethrown by the finalizer thread. ---> Microsoft.Graph.Communications.Core.Exceptions.ServiceException: Code: 8522
Message: Call not found.
Scenario Id: ec8cbd23-e6cf-4095-bf0c-d91192e40968
Inner error:
AdditionalData:
date: 2020-09-17T11:34:41
request-id: 8f232da6-2d74-4133-ba3d-7cc4b52dbc7b
client-request-id: ede4d02e-018b-4d3e-97a5-30c6fc0e2e95
---> Microsoft.Graph.Communications.Core.Exceptions.ServiceException: Code: 8522
Message: Call not found.
Inner error:
AdditionalData:
date: 2020-09-17T11:34:41
request-id: 8f232da6-2d74-4133-ba3d-7cc4b52dbc7b
client-request-id: ede4d02e-018b-4d3e-97a5-30c6fc0e2e95

at Microsoft.Graph.Communications.Client.Transport.GraphAuthClient.d__5.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
at Microsoft.Graph.Communications.Client.Transport.GraphAuthClient.d__42.MoveNext() --- End of stack trace from previous location where exception was thrown --- at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw() at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task) at Microsoft.Graph.Communications.Common.Transport.GraphHttpClient.<SendAsync>d__241.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
at Microsoft.Graph.Communications.Client.Transport.GraphClientWrapper.d__121.MoveNext() --- End of inner exception stack trace --- at Microsoft.Graph.Communications.Client.Transport.GraphClientWrapper.<ValidateAndWrapAsync>d__121.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
at Microsoft.Graph.Communications.Client.Transport.GraphClientWrapper.d__10`1.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
at Microsoft.Graph.Communications.Calls.StatefulCall.d__25.MoveNext()
--- End of inner exception stack trace ---
---> (Inner Exception #0) Status Code: NotFound
Microsoft.Graph.Communications.Core.Exceptions.ServiceException: Code: 8522
Message: Call not found.
Scenario Id: ec8cbd23-e6cf-4095-bf0c-d91192e40968
Inner error:
AdditionalData:
date: 2020-09-17T11:34:41
request-id: 8f232da6-2d74-4133-ba3d-7cc4b52dbc7b
client-request-id: ede4d02e-018b-4d3e-97a5-30c6fc0e2e95
---> Microsoft.Graph.Communications.Core.Exceptions.ServiceException: Code: 8522
Message: Call not found.
Inner error:
AdditionalData:
date: 2020-09-17T11:34:41
request-id: 8f232da6-2d74-4133-ba3d-7cc4b52dbc7b
client-request-id: ede4d02e-018b-4d3e-97a5-30c6fc0e2e95

at Microsoft.Graph.Communications.Client.Transport.GraphAuthClient.d__5.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
at Microsoft.Graph.Communications.Client.Transport.GraphAuthClient.d__42.MoveNext() --- End of stack trace from previous location where exception was thrown --- at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw() at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task) at Microsoft.Graph.Communications.Common.Transport.GraphHttpClient.<SendAsync>d__241.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
at Microsoft.Graph.Communications.Client.Transport.GraphClientWrapper.d__121.MoveNext() --- End of inner exception stack trace --- at Microsoft.Graph.Communications.Client.Transport.GraphClientWrapper.<ValidateAndWrapAsync>d__121.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
at Microsoft.Graph.Communications.Client.Transport.GraphClientWrapper.d__10`1.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
at Microsoft.Graph.Communications.Calls.StatefulCall.d__25.MoveNext()<---

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

The stack trace names StatefulCall.KeepAliveAsync, GraphClientWrapper, and GraphAuthClient.ValidateResponseAsync; start there and trace how the stopped call's 8522 response reaches an unobserved task. Done would mean the stopped call no longer produces an unobserved "Call not found" exception.

Written by the indexing model from the issue text.

Assessment

Tech stack
csharp
Domain
api
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.