IFetchVositaBookingsSynchronizer.StartSync

The job is finished. It will be removed automatically 12/30/2025 13:18:00.
// Id: #488266
using Microwize.Vosita.Interfaces.Core.Interfaces;

var fetchVositaBookingsSynchronizer = Activate<IFetchVositaBookingsSynchronizer>();
await fetchVositaBookingsSynchronizer.StartSync(
    FromJson<Guid>("\"3dc11ea7-a7cf-ceff-2c11-3a1ceef9c50a\""),
    FromJson<Guid>("\"9c3fe05e-72ca-4a15-75a6-3a1ceef9c72f\""),
    null);

Parameters

CurrentCulture
""
CurrentUICulture
""
RecurringJobId
"Fetch_Vosita_Bookings_Dr.  Nourhan Athenahealth - New York"
Time
1767014280

State

12/29/2025 13:18:00 (+7ms) Deleted

Retries were disabled for this job.

System.ArgumentException

An item with the same key has already been added. Key: 2994714

+350ms Failed

An exception occurred during performance of the job.

System.ArgumentException (lw0mdlwk00006v:2089)

An item with the same key has already been added. Key: 2994714

System.ArgumentException: An item with the same key has already been added. Key: 2994714
   at System.Collections.Generic.Dictionary`2.TryInsert(TKey key, TValue value, InsertionBehavior behavior)
   at Microsoft.EntityFrameworkCore.EntityFrameworkQueryableExtensions.ToDictionaryAsync[TSource,TKey,TElement](IQueryable`1 source, Func`2 keySelector, Func`2 elementSelector, IEqualityComparer`1 comparer, CancellationToken cancellationToken)
   at Microsoft.EntityFrameworkCore.EntityFrameworkQueryableExtensions.ToDictionaryAsync[TSource,TKey,TElement](IQueryable`1 source, Func`2 keySelector, Func`2 elementSelector, IEqualityComparer`1 comparer, CancellationToken cancellationToken)
   at Vosita.Interfaces.Athena.Hangfire.Services.AthenaAppointmentService.HandleFetchVositaBookingsToStagingTableAsync(Int32 practiceId, Guid vositaUserId, BridgeSettings bridgeSettings, Guid vositaLocationId, CancellationToken cancellationToken)
   at Vosita.Interfaces.Athena.Hangfire.Services.FetchVositaBookingsSynchronizer.StartSync(Guid vositaUserId, Guid vositaLocationId, CancellationToken cancellationToken)
   at InvokeStub_TaskAwaiter.GetResult(Object, Object, IntPtr*)
   at System.Reflection.MethodBaseInvoker.InvokeWithNoArgs(Object obj, BindingFlags invokeAttr)

+47ms Processing

Server:
lw0mdlwk00006v:2089
Worker:
820d587e

+10ms Enqueued

Triggered by recurring job scheduler

12/29/2025 13:18:00 Created