ICommitLeadToSFCommandHandler.Handle

// Job ID: #1106341
using AG.A1.Scheduler.Project.Contracts.Contracts;

var commitLeadToSFCommandHandler = Activate<ICommitLeadToSFCommandHandler>();
await commitLeadToSFCommandHandler.Handle(
    FromJson<CommitLeadToSFRequest>("{\"RavingFanId\":44740,\"LastName\":\"Kokosa\",\"FirstName\":\"Scott\",\"Title\":null,\"Company\":\"A & a Machine & Fabrication LLC\",\"Street\":\"3101 Texas Ave\",\"City\":\"La Marque\",\"State\":\"TX\",\"PostalCode\":\"77568-3206\",\"Country\":\"United States\",\"Phone\":\"2814881020\",\"Email\":\"smkokosa@aagroup.com\",\"Website\":null,\"LeadSource\":\"Employee Referral\",\"Fiscal_Year_End__c\":null,\"Entity_Type__c\":\"LLC\",\"Source_Email__c\":\"Miranda.Garcia@alliantglobal.com\",\"Source_Name__c\":\"Miranda Garcia\",\"CPA_Email__c\":null,\"CPA_Firm__c\":null,\"CPA_Name__c\":null,\"CPA_Phone__c\":null,\"Service_Lines_Interested_In__c\":\"Client Account Services\",\"Existing_Client_Project_Manager__c\":\"Andre Taplin\",\"Primary_Service_Line__c\":\"Client Account Services\",\"ASL__c\":true,\"Mattersphere_Referral_ID__c\":\"44740\",\"Matter_Number__c\":null,\"PM_ID__c\":\"436\",\"CR_ID__c\":null,\"Submitted_By_ID__c\":4793,\"Submitted_By_Title__c\":null,\"Sub_Team_ID__c\":null,\"Team_ID__c\":null,\"CPA_Contact_Title__c\":null,\"Additional_Notes__c\":null,\"Referring_Client_Consent__c\":\"Yes\",\"Existing_Client_Project_Number__c\":\"300379.0005\",\"Referred_By_Company__c\":\"A & a Machine & Fabrication LLC\",\"Referred_By_Contact__c\":\"Scott Kokosa\",\"Referred_By_Title__c\":null,\"Referred_By_Contact_Phone__c\":\"2814881020\",\"Referred_By_Contact_Email__c\":\"smkokosa@aagroup.com\",\"Current_Service_Lines__c\":\"R&D\",\"Existing_Client_Team_Director__c\":\"Cullen Brungs\"}"),
    null,
    null);

Parameters

CurrentCulture
"en-US"
CurrentUICulture
"en-US"

State

11/6/2025 3:44:45 PM (+60ms) Failed

An exception occurred during processing of a background job.

System.InvalidOperationException

Unable to resolve service for type 'AG.A1.Hangfire.Services.JobExecutionErrors.IJobExecutionErrorsService' while attempting to activate 'AG.A1.Scheduler.Project.Application.Features.RavingFanReferralToSF.Commands.CommitLeadToSFCommandHandler'.

System.InvalidOperationException: Unable to resolve service for type 'AG.A1.Hangfire.Services.JobExecutionErrors.IJobExecutionErrorsService' while attempting to activate 'AG.A1.Scheduler.Project.Application.Features.RavingFanReferralToSF.Commands.CommitLeadToSFCommandHandler'.
   at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteFactory.CreateArgumentCallSites(Type implementationType, CallSiteChain callSiteChain, ParameterInfo[] parameters, Boolean throwIfCallSiteNotFound)
   at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteFactory.CreateConstructorCallSite(ResultCache lifetime, Type serviceType, Type implementationType, CallSiteChain callSiteChain)
   at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteFactory.TryCreateExact(ServiceDescriptor descriptor, Type serviceType, CallSiteChain callSiteChain, Int32 slot)
   at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteFactory.TryCreateExact(Type serviceType, CallSiteChain callSiteChain)
   at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteFactory.CreateCallSite(Type serviceType, CallSiteChain callSiteChain)
   at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteFactory.GetCallSite(Type serviceType, CallSiteChain callSiteChain)
   at Microsoft.Extensions.DependencyInjection.ServiceProvider.CreateServiceAccessor(Type serviceType)
   at System.Collections.Concurrent.ConcurrentDictionary`2.GetOrAdd(TKey key, Func`2 valueFactory)
   at Microsoft.Extensions.DependencyInjection.ServiceProvider.GetService(Type serviceType, ServiceProviderEngineScope serviceProviderEngineScope)
   at Microsoft.Extensions.DependencyInjection.ActivatorUtilities.GetServiceOrCreateInstance(IServiceProvider provider, Type type)
   at Hangfire.AspNetCore.AspNetCoreJobActivatorScope.Resolve(Type type)
   at Hangfire.Server.CoreBackgroundJobPerformer.Perform(PerformContext context)
   at Hangfire.Server.BackgroundJobPerformer.<>c__DisplayClass9_0.<PerformJobWithFilters>b__0()
   at Hangfire.Server.BackgroundJobPerformer.InvokePerformFilter(IServerFilter filter, PerformingContext preContext, Func`1 continuation)
   at Hangfire.Server.BackgroundJobPerformer.<>c__DisplayClass9_1.<PerformJobWithFilters>b__2()
   at Hangfire.Server.BackgroundJobPerformer.InvokePerformFilter(IServerFilter filter, PerformingContext preContext, Func`1 continuation)
   at Hangfire.Server.BackgroundJobPerformer.<>c__DisplayClass9_1.<PerformJobWithFilters>b__2()
   at Hangfire.Server.BackgroundJobPerformer.PerformJobWithFilters(PerformContext context, IEnumerable`1 filters)
   at Hangfire.Server.BackgroundJobPerformer.Perform(PerformContext context)
   at Hangfire.Server.Worker.PerformJob(BackgroundProcessContext context, IStorageConnection connection, String jobId)

+70ms Processing

Server:
dw0sdwk000ewl:4392
Worker:
5ae042c1

+14ms Enqueued

11/6/2025 3:44:45 PM Created