Skip to main content
Dynamics 365 Community / Forums / Commerce forum / Can't understand why t...
Commerce forum
Suggested answer

Can't understand why the Downloaded sessions job is failing?

editSubscribe (0) ShareShare
ReportReport
Posted on by
Hi,
I try to rerun the jobs in downloaded sessions and it always give this error. I am not able to understand, why is it happening.
 
System.Threading.Tasks.TaskCanceledException: The operation was canceled.   at Azure.Core.CancellationHelper.ThrowOperationCanceledException(Exception innerException, CancellationToken cancellationToken)   at Azure.Core.CancellationHelper.ThrowIfCancellationRequested(CancellationToken cancellationToken)   at Azure.Core.Pipeline.ResponseBodyPolicy.ThrowIfCancellationRequestedOrTimeout(CancellationToken originalToken, CancellationToken timeoutToken, Exception inner, TimeSpan timeout)   at Azure.Core.Pipeline.ResponseBodyPolicy.<ProcessAsync>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.ThrowForNonSuccess(Task task)   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)   at Azure.Core.Pipeline.HttpPipelineSynchronousPolicy.<InnerProcessAsync>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.ThrowForNonSuccess(Task task)   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)   at Azure.Core.Pipeline.RedirectPolicy.<ProcessAsync>d__7.MoveNext()--- End of stack trace from previous location where exception was thrown ---   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()   at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)   at Azure.Core.Pipeline.RetryPolicy.<ProcessAsync>d__5.MoveNext()--- End of stack trace from previous location where exception was thrown ---   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()   at Azure.Core.Pipeline.RetryPolicy.<ProcessAsync>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.ThrowForNonSuccess(Task task)   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)   at Azure.Storage.Blobs.BlobRestClient.<DownloadAsync>d__8.MoveNext()--- End of stack trace from previous location where exception was thrown ---   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()   at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)   at Azure.Storage.Blobs.Specialized.BlobBaseClient.<StartDownloadAsync>d__62.MoveNext()--- End of stack trace from previous location where exception was thrown ---   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()   at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)   at Azure.Storage.Blobs.Specialized.BlobBaseClient.<DownloadStreamingInternal>d__61.MoveNext()--- End of stack trace from previous location where exception was thrown ---   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()   at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)   at Azure.Storage.Blobs.PartitionedDownloader.<DownloadToAsync>d__9.MoveNext()--- End of stack trace from previous location where exception was thrown ---   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()   at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)   at Azure.Storage.Blobs.Specialized.BlobBaseClient.<StagedDownloadAsync>d__90.MoveNext()--- End of stack trace from previous location where exception was thrown ---   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()   at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)   at Azure.Storage.Blobs.Specialized.BlobBaseClient.<DownloadToAsync>d__89.MoveNext()--- End of stack trace from previous location where exception was thrown ---   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()   at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)   at Azure.Storage.Blobs.Specialized.BlobBaseClient.<DownloadToAsync>d__81.MoveNext()--- End of stack trace from previous location where exception was thrown ---   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()   at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)   at Microsoft.Dynamics.Retail.CommerceDataExchange.FileCopyOperation.<Download>d__12.MoveNext()--- End of stack trace from previous location where exception was thrown ---   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()   at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)   at Microsoft.Dynamics.Retail.CommerceDataExchange.SqlTargetRequestHandler.DownloadSessionFile()   at Microsoft.Dynamics.Retail.CommerceDataExchange.SqlTargetRequestHandler.GetDataPackage()   at Microsoft.Dynamics.Retail.CommerceDataExchange.SqlTargetRequestHandler.ApplyToTargetDatabase(SqlTargetRequestContext targetRequestContext)
 
 
Please help me to understand what can be wrong?
Attachments
  • Hana Xue Profile Picture
    Hana Xue Microsoft Employee on at
    Can't understand why the Downloaded sessions job is failing?
    Hi,
    Could you please let me know if your problem has been solved? What is your system version? Based on the known issues mentioned by S Gopi Krishna, you can download the fixes or perform the mitigations.
    Best Regards,
    Hana
  • Suggested answer
    Can't understand why the Downloaded sessions job is failing?
    We faced a similar issue when upgrading to 10.0.39 Preview version and it seems like bug from MS Details for issue 900400 (dynamics.com) which was resolved in the QU.
  • Shafeeque Mohammed Profile Picture
    Shafeeque Mohammed Super User on at
    Can't understand why the Downloaded sessions job is failing?
    If you are on a tier 2 + environment, I would recommend you raise it with Microsoft support as it seems to be related to be an exception on the infrastructure.
  • Suggested answer
    Hana Xue Profile Picture
    Hana Xue Microsoft Employee on at
    Can't understand why the Downloaded sessions job is failing?
    Hi,
    From the error message you provided, it seems to indicate that a timeout or exception occurred during an operation involving an Azure service. You can check whether the network connection is stable and check the Azure service status. In addition, according to the screenshot information, you can refer to the CDXtroubleshooting document mentioned in the screenshot, which contains general problems and solutions to help you locate.
    Commerce Data Exchange troubleshooting - Commerce | Dynamics 365 | Microsoft Learn
    CDX Download jobs failing due to data package not found in UAT/Sandbox - Dynamics 365 Commerce | Microsoft Learn
    Best Regards,
    Hana

Helpful resources

Quick Links

New Blog Features Released!

Check out the new community blog features for viewers and authors…

Setting Up Knowledge Sources for Copilot…

Look at how configuring a comprehensive knowledge base is crucial…

Demystifying Copilot with Georg Glantschnig…

Industry experts answer burning questions directly from our amazing Community…

Featured topics

Product updates

Dynamics 365 release plans