Graph Api - Tasks Open Type Extensions

Mike Hartman 26 Reputation points
2022-08-08T18:53:27.197+00:00

How to expand open type extension data on task delta queries

When I use the expand and pass the filter, it throws an exception, even when the documentation shows the exact same code

Here is the exception message: Code: BadRequest
Message: Parsing OData Select and Expand failed: Value cannot be null. (Parameter 'initialState')
Inner error:
    AdditionalData:
    date: 2022-08-08T17:19:02
    request-id: 913c2b75-f79a-4242-85d8-afcf1ef9ad1a
    client-request-id: 913c2b75-f79a-4242-85d8-afcf1ef9ad1a
ClientRequestId: 913c2b75-f79a-4242-85d8-afcf1ef9ad1a

Stack trace:    at Microsoft.Graph.SimpleHttpProvider.<SendAsync>d__10.MoveNext()
   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
   at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
   at System.Runtime.CompilerServices.ConfiguredTaskAwaitable1.ConfiguredTaskAwaiter.GetResult()    at Microsoft.Graph.BaseRequest.<SendRequestAsync>d__40.MoveNext()    at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()    at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)    at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)    at System.Runtime.CompilerServices.ConfiguredTaskAwaitable1.ConfiguredTaskAwaiter.GetResult()
   at Microsoft.Graph.BaseRequest.<SendAsync>d__341.MoveNext()    at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()    at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)    at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)    at System.Runtime.CompilerServices.ConfiguredTaskAwaitable1.ConfiguredTaskAwaiter.GetResult()
   at Microsoft.Graph.TodoTaskDeltaRequest.<GetAsync>d__1.MoveNext()
   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
   at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
   at System.Runtime.CompilerServices.TaskAwaiter`1.GetResult()
   at Tsi.Data.Integration.Outlook.Clients.Tasks.GraphTodoTaskClient.<GetChangedTodoTasks>d__6.MoveNext() in C:\Tigerpaw\Git\Utility-Data-Integration\Tsi.Data.Integration\Tsi.Data.Integration.Outlook\Clients\Tasks\GraphTodoTaskClient.cs:line 239

Microsoft Graph
Microsoft Graph
A Microsoft programmability model that exposes REST APIs and client libraries to access data on Microsoft 365 services.
12,289 questions
{count} vote

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.