Forum Discussion
paulsmith145
Sep 19, 2023Copper Contributor
Deciphering OData Error
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
No RepliesBe the first to reply