AggregateException when API queries for the next item. RRS feed

  • Question

  • Our application is requesting the items that are in a OneDrive account using the  MicrosoftLive Version: 5.5.3502.1014.

    Sometimes after few successful requests to get the items (each request almost 5 minutes after the other), we get the following error:

    One or more errors occurred.|System.AggregateException|   at System.Threading.Tasks.Task.ThrowIfExceptional(Boolean includeTaskCanceledExceptions)
       at System.Threading.Tasks.Task`1.GetResultCore(Boolean waitCompletionNotification)
       at System.Threading.Tasks.Task`1.get_Result()
       at OurApp.Core.SkyDriveSource.cc5623f505382a8f07a6e6990813fb187()
       at OurApp.Core.SkyDriveSource.EnumerateItems(Boolean distributed, CancellationToken token)
       at OurApp.Core.SourceFactory.EnumerateItems(IMigrationSource source, Boolean isDistributed, CancellationToken token)
       at OurApp.Core.MigrationJob.c162348d6ada99ce9b12f95b37b00d3c7()

    I was wondering if you could help us to understand why this exception occurs and how we can avoid it.

    Friday, April 18, 2014 8:35 AM

All replies

  • What InnerException, or InnerExceptions are you getting?

    Carl Hirschman

    Friday, April 18, 2014 5:23 PM