ProjectSyncTask.Execute

// Job ID: #769660
using Application.Sync;

var projectSyncTask = Activate<ProjectSyncTask>();
await projectSyncTask.Execute();
CurrentCulture
"en-US"
CurrentUICulture
"en-US"
RecurringJobId
"ProjectSyncTask"
RetryCount
10

State

11/18/2025 2:41:08 PM (+56.233s) Failed

An exception occurred during performance of the job.

Harvest.Net.HarvestException

Harvest.Net.HarvestException
   at Harvest.Net.Extensions.ThrowIfBadRequest(IRestResponse response)
   at Harvest.Net.HarvestRestClient.<ExecuteAsync>d__324`1.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
   at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
   at Harvest.ProjectUpsertCommand.<Update>d__6.MoveNext() in C:\TeamServices\Agent\_work\555\s\Harvest\ProjectUpsertCommand.cs:line 61
--- End of stack trace from previous location where exception was thrown ---
   at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
   at Harvest.ProjectUpsertCommand.<Upsert>d__5.MoveNext() in C:\TeamServices\Agent\_work\555\s\Harvest\ProjectUpsertCommand.cs:line 46
--- End of stack trace from previous location where exception was thrown ---
   at System.Reactive.PlatformServices.ExceptionServicesImpl.Rethrow(Exception exception) in D:\a\1\s\Rx.NET\Source\src\System.Reactive\Internal\ExceptionServicesImpl.cs:line 16
   at System.Reactive.ExceptionHelpers.ThrowIfNotNull(Exception exception) in D:\a\1\s\Rx.NET\Source\src\System.Reactive\Internal\ExceptionServices.cs:line 20
   at System.Reactive.Subjects.AsyncSubject`1.GetResult() in D:\a\1\s\Rx.NET\Source\src\System.Reactive\Subjects\AsyncSubject.cs:line 437
   at Application.Sync.ProjectSyncTask.<Execute>d__4.MoveNext() in C:\TeamServices\Agent\_work\555\s\Application\Sync\ProjectSyncTask.cs:line 42

+50ms Processing

Server:
ec2amaz-sbdjgq5.default:3472
Worker:
9726d8ec

+11m 30.727s Enqueued

Triggered by DelayedJobScheduler

Queue:
default

+3ms Scheduled

Retry attempt 6 of 10: An error occurred, but could not deserialize the …

Enqueue at:
11/18/2025 2:40:09 PM

+80ms Failed

An exception occurred during performance of the job.

Harvest.Net.HarvestException

An error occurred, but could not deserialize the error response

Harvest.Net.HarvestException: An error occurred, but could not deserialize the error response
   at Harvest.Net.Extensions.ThrowIfBadRequest(IRestResponse response)
   at Harvest.Net.HarvestRestClient.Execute[T](IRestRequest request)
   at Harvest.Net.HarvestRestClient.ListClients(Nullable`1 updatedSince)
   at Harvest.AccountRepository.<>c.<FindAll>b__1_0(IHarvestRestClient c) in C:\TeamServices\Agent\_work\555\s\Harvest\AccountRepository.cs:line 19
   at System.Reactive.Linq.ObservableImpl.SelectMany`2.EnumerableSelector._.OnNext(TSource value) in D:\a\1\s\Rx.NET\Source\src\System.Reactive\Linq\Observable\SelectMany.cs:line 1328
--- End of stack trace from previous location where exception was thrown ---
   at System.Reactive.PlatformServices.ExceptionServicesImpl.Rethrow(Exception exception) in D:\a\1\s\Rx.NET\Source\src\System.Reactive\Internal\ExceptionServicesImpl.cs:line 16
   at System.Reactive.ExceptionHelpers.ThrowIfNotNull(Exception exception) in D:\a\1\s\Rx.NET\Source\src\System.Reactive\Internal\ExceptionServices.cs:line 20
   at System.Reactive.Subjects.AsyncSubject`1.GetResult() in D:\a\1\s\Rx.NET\Source\src\System.Reactive\Subjects\AsyncSubject.cs:line 437
   at Domain.ObservableExtensions.<>c__DisplayClass2_0`2.<<MatchWith>g__Match|0>d.MoveNext() in C:\TeamServices\Agent\_work\555\s\Domain\ObservableExtensions.cs:line 49
--- End of stack trace from previous location where exception was thrown ---
   at System.Reactive.PlatformServices.ExceptionServicesImpl.Rethrow(Exception exception) in D:\a\1\s\Rx.NET\Source\src\System.Reactive\Internal\ExceptionServicesImpl.cs:line 16
   at System.Reactive.ExceptionHelpers.ThrowIfNotNull(Exception exception) in D:\a\1\s\Rx.NET\Source\src\System.Reactive\Internal\ExceptionServices.cs:line 20
   at System.Reactive.Subjects.AsyncSubject`1.GetResult() in D:\a\1\s\Rx.NET\Source\src\System.Reactive\Subjects\AsyncSubject.cs:line 437
   at Application.Sync.ProjectSyncTask.<Execute>d__4.MoveNext() in C:\TeamServices\Agent\_work\555\s\Application\Sync\ProjectSyncTask.cs:line 42

+14.557s Processing

Server:
ec2amaz-sbdjgq5.default:3472
Worker:
c051ef76

+6m 30.243s Enqueued

Triggered by DelayedJobScheduler

Queue:
default

+3ms Scheduled

Retry attempt 5 of 10: An error occurred, but could not deserialize the …

Enqueue at:
11/18/2025 2:28:22 PM

+287ms Failed

An exception occurred during performance of the job.

Harvest.Net.HarvestException

An error occurred, but could not deserialize the error response

Harvest.Net.HarvestException: An error occurred, but could not deserialize the error response
   at Harvest.Net.Extensions.ThrowIfBadRequest(IRestResponse response)
   at Harvest.Net.HarvestRestClient.Execute[T](IRestRequest request)
   at Harvest.Net.HarvestRestClient.ListClients(Nullable`1 updatedSince)
   at Harvest.AccountRepository.<>c.<FindAll>b__1_0(IHarvestRestClient c) in C:\TeamServices\Agent\_work\555\s\Harvest\AccountRepository.cs:line 19
   at System.Reactive.Linq.ObservableImpl.SelectMany`2.EnumerableSelector._.OnNext(TSource value) in D:\a\1\s\Rx.NET\Source\src\System.Reactive\Linq\Observable\SelectMany.cs:line 1328
--- End of stack trace from previous location where exception was thrown ---
   at System.Reactive.PlatformServices.ExceptionServicesImpl.Rethrow(Exception exception) in D:\a\1\s\Rx.NET\Source\src\System.Reactive\Internal\ExceptionServicesImpl.cs:line 16
   at System.Reactive.ExceptionHelpers.ThrowIfNotNull(Exception exception) in D:\a\1\s\Rx.NET\Source\src\System.Reactive\Internal\ExceptionServices.cs:line 20
   at System.Reactive.Subjects.AsyncSubject`1.GetResult() in D:\a\1\s\Rx.NET\Source\src\System.Reactive\Subjects\AsyncSubject.cs:line 437
   at Domain.ObservableExtensions.<>c__DisplayClass2_0`2.<<MatchWith>g__Match|0>d.MoveNext() in C:\TeamServices\Agent\_work\555\s\Domain\ObservableExtensions.cs:line 49
--- End of stack trace from previous location where exception was thrown ---
   at System.Reactive.PlatformServices.ExceptionServicesImpl.Rethrow(Exception exception) in D:\a\1\s\Rx.NET\Source\src\System.Reactive\Internal\ExceptionServicesImpl.cs:line 16
   at System.Reactive.ExceptionHelpers.ThrowIfNotNull(Exception exception) in D:\a\1\s\Rx.NET\Source\src\System.Reactive\Internal\ExceptionServices.cs:line 20
   at System.Reactive.Subjects.AsyncSubject`1.GetResult() in D:\a\1\s\Rx.NET\Source\src\System.Reactive\Subjects\AsyncSubject.cs:line 437
   at Application.Sync.ProjectSyncTask.<Execute>d__4.MoveNext() in C:\TeamServices\Agent\_work\555\s\Application\Sync\ProjectSyncTask.cs:line 42

+14.870s Processing

Server:
ec2amaz-sbdjgq5.default:3472
Worker:
f778b695

+3m 30.463s Enqueued

Triggered by DelayedJobScheduler

Queue:
default

+ <1ms Scheduled

Retry attempt 4 of 10: An error occurred, but could not deserialize the …

Enqueue at:
11/18/2025 2:21:34 PM

+100ms Failed

An exception occurred during performance of the job.

Harvest.Net.HarvestException

An error occurred, but could not deserialize the error response

Harvest.Net.HarvestException: An error occurred, but could not deserialize the error response
   at Harvest.Net.Extensions.ThrowIfBadRequest(IRestResponse response)
   at Harvest.Net.HarvestRestClient.Execute[T](IRestRequest request)
   at Harvest.Net.HarvestRestClient.ListClients(Nullable`1 updatedSince)
   at Harvest.AccountRepository.<>c.<FindAll>b__1_0(IHarvestRestClient c) in C:\TeamServices\Agent\_work\555\s\Harvest\AccountRepository.cs:line 19
   at System.Reactive.Linq.ObservableImpl.SelectMany`2.EnumerableSelector._.OnNext(TSource value) in D:\a\1\s\Rx.NET\Source\src\System.Reactive\Linq\Observable\SelectMany.cs:line 1328
--- End of stack trace from previous location where exception was thrown ---
   at System.Reactive.PlatformServices.ExceptionServicesImpl.Rethrow(Exception exception) in D:\a\1\s\Rx.NET\Source\src\System.Reactive\Internal\ExceptionServicesImpl.cs:line 16
   at System.Reactive.ExceptionHelpers.ThrowIfNotNull(Exception exception) in D:\a\1\s\Rx.NET\Source\src\System.Reactive\Internal\ExceptionServices.cs:line 20
   at System.Reactive.Subjects.AsyncSubject`1.GetResult() in D:\a\1\s\Rx.NET\Source\src\System.Reactive\Subjects\AsyncSubject.cs:line 437
   at Domain.ObservableExtensions.<>c__DisplayClass2_0`2.<<MatchWith>g__Match|0>d.MoveNext() in C:\TeamServices\Agent\_work\555\s\Domain\ObservableExtensions.cs:line 49
--- End of stack trace from previous location where exception was thrown ---
   at System.Reactive.PlatformServices.ExceptionServicesImpl.Rethrow(Exception exception) in D:\a\1\s\Rx.NET\Source\src\System.Reactive\Internal\ExceptionServicesImpl.cs:line 16
   at System.Reactive.ExceptionHelpers.ThrowIfNotNull(Exception exception) in D:\a\1\s\Rx.NET\Source\src\System.Reactive\Internal\ExceptionServices.cs:line 20
   at System.Reactive.Subjects.AsyncSubject`1.GetResult() in D:\a\1\s\Rx.NET\Source\src\System.Reactive\Subjects\AsyncSubject.cs:line 437
   at Application.Sync.ProjectSyncTask.<Execute>d__4.MoveNext() in C:\TeamServices\Agent\_work\555\s\Application\Sync\ProjectSyncTask.cs:line 42

+37ms Processing

Server:
ec2amaz-sbdjgq5.default:3520
Worker:
a0a7e8b5

+1m 30.020s Enqueued

Triggered by DelayedJobScheduler

Queue:
default

+3ms Scheduled

Retry attempt 3 of 10: An error occurred, but could not deserialize the …

Enqueue at:
11/18/2025 2:18:05 PM

+60ms Failed

An exception occurred during performance of the job.

Harvest.Net.HarvestException

An error occurred, but could not deserialize the error response

Harvest.Net.HarvestException: An error occurred, but could not deserialize the error response
   at Harvest.Net.Extensions.ThrowIfBadRequest(IRestResponse response)
   at Harvest.Net.HarvestRestClient.Execute[T](IRestRequest request)
   at Harvest.Net.HarvestRestClient.ListClients(Nullable`1 updatedSince)
   at Harvest.AccountRepository.<>c.<FindAll>b__1_0(IHarvestRestClient c) in C:\TeamServices\Agent\_work\555\s\Harvest\AccountRepository.cs:line 19
   at System.Reactive.Linq.ObservableImpl.SelectMany`2.EnumerableSelector._.OnNext(TSource value) in D:\a\1\s\Rx.NET\Source\src\System.Reactive\Linq\Observable\SelectMany.cs:line 1328
--- End of stack trace from previous location where exception was thrown ---
   at System.Reactive.PlatformServices.ExceptionServicesImpl.Rethrow(Exception exception) in D:\a\1\s\Rx.NET\Source\src\System.Reactive\Internal\ExceptionServicesImpl.cs:line 16
   at System.Reactive.ExceptionHelpers.ThrowIfNotNull(Exception exception) in D:\a\1\s\Rx.NET\Source\src\System.Reactive\Internal\ExceptionServices.cs:line 20
   at System.Reactive.Subjects.AsyncSubject`1.GetResult() in D:\a\1\s\Rx.NET\Source\src\System.Reactive\Subjects\AsyncSubject.cs:line 437
   at Domain.ObservableExtensions.<>c__DisplayClass2_0`2.<<MatchWith>g__Match|0>d.MoveNext() in C:\TeamServices\Agent\_work\555\s\Domain\ObservableExtensions.cs:line 49
--- End of stack trace from previous location where exception was thrown ---
   at System.Reactive.PlatformServices.ExceptionServicesImpl.Rethrow(Exception exception) in D:\a\1\s\Rx.NET\Source\src\System.Reactive\Internal\ExceptionServicesImpl.cs:line 16
   at System.Reactive.ExceptionHelpers.ThrowIfNotNull(Exception exception) in D:\a\1\s\Rx.NET\Source\src\System.Reactive\Internal\ExceptionServices.cs:line 20
   at System.Reactive.Subjects.AsyncSubject`1.GetResult() in D:\a\1\s\Rx.NET\Source\src\System.Reactive\Subjects\AsyncSubject.cs:line 437
   at Application.Sync.ProjectSyncTask.<Execute>d__4.MoveNext() in C:\TeamServices\Agent\_work\555\s\Application\Sync\ProjectSyncTask.cs:line 42

+27ms Processing

Server:
ec2amaz-sbdjgq5.default:3520
Worker:
a0a7e8b5

+1m 14.927s Enqueued

Triggered by DelayedJobScheduler

Queue:
default

+3ms Scheduled

Retry attempt 2 of 10: An error occurred, but could not deserialize the …

Enqueue at:
11/18/2025 2:16:33 PM

+90ms Failed

An exception occurred during performance of the job.

Harvest.Net.HarvestException

An error occurred, but could not deserialize the error response

Harvest.Net.HarvestException: An error occurred, but could not deserialize the error response
   at Harvest.Net.Extensions.ThrowIfBadRequest(IRestResponse response)
   at Harvest.Net.HarvestRestClient.Execute[T](IRestRequest request)
   at Harvest.Net.HarvestRestClient.ListClients(Nullable`1 updatedSince)
   at Harvest.AccountRepository.<>c.<FindAll>b__1_0(IHarvestRestClient c) in C:\TeamServices\Agent\_work\555\s\Harvest\AccountRepository.cs:line 19
   at System.Reactive.Linq.ObservableImpl.SelectMany`2.EnumerableSelector._.OnNext(TSource value) in D:\a\1\s\Rx.NET\Source\src\System.Reactive\Linq\Observable\SelectMany.cs:line 1328
--- End of stack trace from previous location where exception was thrown ---
   at System.Reactive.PlatformServices.ExceptionServicesImpl.Rethrow(Exception exception) in D:\a\1\s\Rx.NET\Source\src\System.Reactive\Internal\ExceptionServicesImpl.cs:line 16
   at System.Reactive.ExceptionHelpers.ThrowIfNotNull(Exception exception) in D:\a\1\s\Rx.NET\Source\src\System.Reactive\Internal\ExceptionServices.cs:line 20
   at System.Reactive.Subjects.AsyncSubject`1.GetResult() in D:\a\1\s\Rx.NET\Source\src\System.Reactive\Subjects\AsyncSubject.cs:line 437
   at Domain.ObservableExtensions.<>c__DisplayClass2_0`2.<<MatchWith>g__Match|0>d.MoveNext() in C:\TeamServices\Agent\_work\555\s\Domain\ObservableExtensions.cs:line 49
--- End of stack trace from previous location where exception was thrown ---
   at System.Reactive.PlatformServices.ExceptionServicesImpl.Rethrow(Exception exception) in D:\a\1\s\Rx.NET\Source\src\System.Reactive\Internal\ExceptionServicesImpl.cs:line 16
   at System.Reactive.ExceptionHelpers.ThrowIfNotNull(Exception exception) in D:\a\1\s\Rx.NET\Source\src\System.Reactive\Internal\ExceptionServices.cs:line 20
   at System.Reactive.Subjects.AsyncSubject`1.GetResult() in D:\a\1\s\Rx.NET\Source\src\System.Reactive\Subjects\AsyncSubject.cs:line 437
   at Application.Sync.ProjectSyncTask.<Execute>d__4.MoveNext() in C:\TeamServices\Agent\_work\555\s\Application\Sync\ProjectSyncTask.cs:line 42

+60ms Processing

Server:
ec2amaz-sbdjgq5.default:3520
Worker:
a0a7e8b5

+24.823s Enqueued

Triggered by DelayedJobScheduler

Queue:
default

+4ms Scheduled

Retry attempt 1 of 10: An error occurred, but could not deserialize the …

Enqueue at:
11/18/2025 2:15:17 PM

+46ms Failed

An exception occurred during performance of the job.

Harvest.Net.HarvestException

An error occurred, but could not deserialize the error response

Harvest.Net.HarvestException: An error occurred, but could not deserialize the error response
   at Harvest.Net.Extensions.ThrowIfBadRequest(IRestResponse response)
   at Harvest.Net.HarvestRestClient.Execute[T](IRestRequest request)
   at Harvest.Net.HarvestRestClient.ListClients(Nullable`1 updatedSince)
   at Harvest.AccountRepository.<>c.<FindAll>b__1_0(IHarvestRestClient c) in C:\TeamServices\Agent\_work\555\s\Harvest\AccountRepository.cs:line 19
   at System.Reactive.Linq.ObservableImpl.SelectMany`2.EnumerableSelector._.OnNext(TSource value) in D:\a\1\s\Rx.NET\Source\src\System.Reactive\Linq\Observable\SelectMany.cs:line 1328
--- End of stack trace from previous location where exception was thrown ---
   at System.Reactive.PlatformServices.ExceptionServicesImpl.Rethrow(Exception exception) in D:\a\1\s\Rx.NET\Source\src\System.Reactive\Internal\ExceptionServicesImpl.cs:line 16
   at System.Reactive.ExceptionHelpers.ThrowIfNotNull(Exception exception) in D:\a\1\s\Rx.NET\Source\src\System.Reactive\Internal\ExceptionServices.cs:line 20
   at System.Reactive.Subjects.AsyncSubject`1.GetResult() in D:\a\1\s\Rx.NET\Source\src\System.Reactive\Subjects\AsyncSubject.cs:line 437
   at Domain.ObservableExtensions.<>c__DisplayClass2_0`2.<<MatchWith>g__Match|0>d.MoveNext() in C:\TeamServices\Agent\_work\555\s\Domain\ObservableExtensions.cs:line 49
--- End of stack trace from previous location where exception was thrown ---
   at System.Reactive.PlatformServices.ExceptionServicesImpl.Rethrow(Exception exception) in D:\a\1\s\Rx.NET\Source\src\System.Reactive\Internal\ExceptionServicesImpl.cs:line 16
   at System.Reactive.ExceptionHelpers.ThrowIfNotNull(Exception exception) in D:\a\1\s\Rx.NET\Source\src\System.Reactive\Internal\ExceptionServices.cs:line 20
   at System.Reactive.Subjects.AsyncSubject`1.GetResult() in D:\a\1\s\Rx.NET\Source\src\System.Reactive\Subjects\AsyncSubject.cs:line 437
   at Application.Sync.ProjectSyncTask.<Execute>d__4.MoveNext() in C:\TeamServices\Agent\_work\555\s\Application\Sync\ProjectSyncTask.cs:line 42

+17ms Processing

Server:
ec2amaz-sbdjgq5.priority:3520
Worker:
3856a345

+10ms Enqueued

Triggered by recurring job scheduler

Queue:
priority

11/18/2025 2:15:00 PM Created