GLV.InventorySync

// Job ID: #251122
using ClarityConnect.Clients.GLV;

var gLV = Activate<GLV>();
await gLV.InventorySync(null, null);

Parameters

CurrentCulture
"en-US"
CurrentUICulture
"en-US"
RecurringJobId
"InventorySync"
Time
1753470004

State

7/25/2025 7:52:58 PM (+4.943s) Failed

An exception occurred during performance of the job.

System.Collections.Generic.KeyNotFoundException

The given key '39276' was not present in the dictionary.

System.Collections.Generic.KeyNotFoundException: The given key '39276' was not present in the dictionary.
   at System.Collections.Generic.Dictionary`2.get_Item(TKey key)
   at ClarityConnect.Clients.GLV.GLV.<>c__DisplayClass35_0.<InventorySync>b__0(<>f__AnonymousType11`3 x) in C:\data\projects\GLV\STG\Connect-v3\ClarityConnect.Clients.GLV\Jobs\InventorySync.cs:line 44
   at System.Linq.Enumerable.SelectListIterator`2.ToList()
   at ClarityConnect.Clients.GLV.GLV.InventorySync(PerformContext context, CancellationToken token) in C:\data\projects\GLV\STG\Connect-v3\ClarityConnect.Clients.GLV\Jobs\InventorySync.cs:line 43
   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)

+37ms Processing

Server:
2019-cli-glv:1426176
Worker:
24cc384b
+4.449sFound 1966 active stock codes
+4.456sQuerying inventory for found active stock codes
+4.897sConverting inventories to CEF Inventory Object

+52m 13.666s Enqueued

Triggered via Dashboard UI

Queue:
default

+34.977s Failed

An exception occurred during performance of the job.

System.InvalidOperationException

Timeout expired. The timeout period elapsed prior to obtaining a connection from the pool. This may have occurred because all pooled connections were in use and max pool size was reached.

System.InvalidOperationException: Timeout expired.  The timeout period elapsed prior to obtaining a connection from the pool.  This may have occurred because all pooled connections were in use and max pool size was reached.
   at Microsoft.Data.Common.ADP.ExceptionWithStackTrace(Exception e)
--- End of stack trace from previous location ---
   at Microsoft.EntityFrameworkCore.Storage.RelationalConnection.OpenInternalAsync(Boolean errorsExpected, CancellationToken cancellationToken)
   at Microsoft.EntityFrameworkCore.Storage.RelationalConnection.OpenInternalAsync(Boolean errorsExpected, CancellationToken cancellationToken)
   at Microsoft.EntityFrameworkCore.Storage.RelationalConnection.OpenAsync(CancellationToken cancellationToken, Boolean errorsExpected)
   at Microsoft.EntityFrameworkCore.Storage.RelationalCommand.ExecuteReaderAsync(RelationalCommandParameterObject parameterObject, CancellationToken cancellationToken)
   at Microsoft.EntityFrameworkCore.Query.Internal.SingleQueryingEnumerable`1.AsyncEnumerator.InitializeReaderAsync(DbContext _, Boolean result, CancellationToken cancellationToken)
   at Microsoft.EntityFrameworkCore.SqlServer.Storage.Internal.SqlServerExecutionStrategy.ExecuteAsync[TState,TResult](TState state, Func`4 operation, Func`4 verifySucceeded, CancellationToken cancellationToken)
   at Microsoft.EntityFrameworkCore.Query.Internal.SingleQueryingEnumerable`1.AsyncEnumerator.MoveNextAsync()
   at Microsoft.EntityFrameworkCore.EntityFrameworkQueryableExtensions.ToListAsync[TSource](IQueryable`1 source, CancellationToken cancellationToken)
   at Microsoft.EntityFrameworkCore.EntityFrameworkQueryableExtensions.ToListAsync[TSource](IQueryable`1 source, CancellationToken cancellationToken)
   at ClarityConnect.Clients.GLV.GLV.InventorySync(PerformContext context, CancellationToken token) in C:\data\projects\GLV\STG\Connect-v3\ClarityConnect.Clients.GLV\Jobs\InventorySync.cs:line 24
   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)

+73ms Processing

Server:
2019-cli-glv:1434004
Worker:
eff9db2f

+4ms Enqueued

Triggered by recurring job scheduler

Queue:
default

7/25/2025 7:00:04 PM Created