Deciphering OData Error

Copper Contributor

Hello:

I am using C# to download a user's Todo tasks with the following code:

var result = await graphClient.Me.Todo.Lists["{todoTaskList-id}"].Tasks.GetAsync();

(I specify the TodoTaskList id.)  It works about two-thirds of the time, but the other third I get an ODataError (the occurrence appears to be random).  Is there a way to tell from the error message what caused it?  I have copied the error information below.

 

Thanks,

 

Paul

 

paulsmith145_0-1695102568050.png

 

0 Replies