Using launch settings from /Users/dn/Library/CloudStorage/GoogleDrive-info@consulity.com/My Drive/Projects/Hotline Planner/NextGen 2027/code/component split/cline/web app webhook/GraphCalendarSync/Properties/launchSettings.json... Building... info: Microsoft.EntityFrameworkCore.Database.Command[20101] Executed DbCommand (3ms) [Parameters=[], CommandType='Text', CommandTimeout='30'] PRAGMA journal_mode = 'wal'; info: Microsoft.EntityFrameworkCore.Database.Command[20101] Executed DbCommand (0ms) [Parameters=[], CommandType='Text', CommandTimeout='30'] CREATE TABLE "UserConfigs" ( "Id" INTEGER NOT NULL CONSTRAINT "PK_UserConfigs" PRIMARY KEY AUTOINCREMENT, "UserId" TEXT NOT NULL, "Email" TEXT NOT NULL, "SubscriptionId" TEXT NULL, "Expiration" TEXT NULL, "LastDeltaToken" TEXT NULL ); info: Microsoft.EntityFrameworkCore.Database.Command[20101] Executed DbCommand (0ms) [Parameters=[], CommandType='Text', CommandTimeout='30'] CREATE TABLE "WebhookLogs" ( "Id" INTEGER NOT NULL CONSTRAINT "PK_WebhookLogs" PRIMARY KEY AUTOINCREMENT, "ReceivedAt" TEXT NOT NULL, "Payload" TEXT NOT NULL, "Type" TEXT NOT NULL ); info: Microsoft.EntityFrameworkCore.Database.Command[20101] Executed DbCommand (0ms) [Parameters=[], CommandType='Text', CommandTimeout='30'] SELECT EXISTS ( SELECT 1 FROM "UserConfigs" AS "u") info: Microsoft.EntityFrameworkCore.Database.Command[20101] Executed DbCommand (1ms) [Parameters=[@p0='?' (Size = 16), @p1='?' (DbType = DateTimeOffset), @p2='?' (Size = 13), @p3='?' (Size = 9), @p4='?' (Size = 13)], CommandType='Text', CommandTimeout='30'] INSERT INTO "UserConfigs" ("Email", "Expiration", "LastDeltaToken", "SubscriptionId", "UserId") VALUES (@p0, @p1, @p2, @p3, @p4) RETURNING "Id"; info: GraphCalendarSync.Services.SubscriptionManagerService[0] Subscription Manager Service started. info: Microsoft.Hosting.Lifetime[14] Now listening on: http://localhost:5235 info: Microsoft.Hosting.Lifetime[0] Application started. Press Ctrl+C to shut down. info: Microsoft.Hosting.Lifetime[0] Hosting environment: Development info: Microsoft.Hosting.Lifetime[0] Content root path: /Users/dn/Library/CloudStorage/GoogleDrive-info@consulity.com/My Drive/Projects/Hotline Planner/NextGen 2027/code/component split/cline/web app webhook/GraphCalendarSync fail: GraphCalendarSync.Services.SubscriptionManagerService[0] Error checking subscriptions. System.InvalidOperationException: The LINQ expression 'DbSet() .Where(u => u.Expiration.HasValue && u.Expiration.Value < DateTimeOffset.UtcNow.AddDays(2))' could not be translated. Either rewrite the query in a form that can be translated, or switch to client evaluation explicitly by inserting a call to 'AsEnumerable', 'AsAsyncEnumerable', 'ToList', or 'ToListAsync'. See https://go.microsoft.com/fwlink/?linkid=2101038 for more information. at Microsoft.EntityFrameworkCore.Query.QueryableMethodTranslatingExpressionVisitor.Translate(Expression expression) at Microsoft.EntityFrameworkCore.Query.QueryCompilationContext.CreateQueryExecutorExpression[TResult](Expression query) at Microsoft.EntityFrameworkCore.Query.QueryCompilationContext.CreateQueryExecutor[TResult](Expression query) at Microsoft.EntityFrameworkCore.Storage.Database.CompileQuery[TResult](Expression query, Boolean async) at Microsoft.EntityFrameworkCore.Query.Internal.QueryCompiler.CompileQueryCore[TResult](IDatabase database, Expression query, IModel model, Boolean async) at Microsoft.EntityFrameworkCore.Query.Internal.QueryCompiler.<>c__DisplayClass11_0`1.b__0() at Microsoft.EntityFrameworkCore.Query.Internal.CompiledQueryCache.GetOrAddQuery[TResult](Object cacheKey, Func`1 compiler) at Microsoft.EntityFrameworkCore.Query.Internal.QueryCompiler.ExecuteCore[TResult](Expression query, Boolean async, CancellationToken cancellationToken) at Microsoft.EntityFrameworkCore.Query.Internal.QueryCompiler.ExecuteAsync[TResult](Expression query, CancellationToken cancellationToken) at Microsoft.EntityFrameworkCore.Query.Internal.EntityQueryProvider.ExecuteAsync[TResult](Expression expression, CancellationToken cancellationToken) at Microsoft.EntityFrameworkCore.Query.Internal.EntityQueryable`1.GetAsyncEnumerator(CancellationToken cancellationToken) at System.Runtime.CompilerServices.ConfiguredCancelableAsyncEnumerable`1.GetAsyncEnumerator() at Microsoft.EntityFrameworkCore.EntityFrameworkQueryableExtensions.ToListAsync[TSource](IQueryable`1 source, CancellationToken cancellationToken) at GraphCalendarSync.Services.SubscriptionManagerService.CheckSubscriptionsAsync(CancellationToken stoppingToken) in /Users/dn/Library/CloudStorage/GoogleDrive-info@consulity.com/My Drive/Projects/Hotline Planner/NextGen 2027/code/component split/cline/web app webhook/GraphCalendarSync/Services/SubscriptionManagerService.cs:line 46