ICommitLeadToSFCommandHandler.Handle

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

var commitLeadToSFCommandHandler = Activate<ICommitLeadToSFCommandHandler>();
await commitLeadToSFCommandHandler.Handle(
    FromJson<CommitLeadToSFRequest>("{\"RavingFanId\":44735,\"LastName\":\"unqual\",\"FirstName\":\"cyber\",\"Title\":\"unqual test\",\"Company\":\"cyber unqual\",\"Street\":null,\"City\":null,\"State\":null,\"PostalCode\":\"99566\",\"Country\":\"United States\",\"Phone\":\"99564465\",\"Email\":\"testing@invalid.com\",\"Website\":null,\"LeadSource\":\"Employee Referral\",\"Fiscal_Year_End__c\":null,\"Entity_Type__c\":null,\"Source_Email__c\":\"Miranda.Garcia@alliantglobal.com\",\"Source_Name__c\":\"Miranda Garcia\",\"CPA_Email__c\":\"\",\"CPA_Firm__c\":\"\",\"CPA_Name__c\":\"\",\"CPA_Phone__c\":\"\",\"Service_Lines_Interested_In__c\":null,\"Existing_Client_Project_Manager__c\":\"Russ Carabasi\",\"Primary_Service_Line__c\":\"Cybersecurity Services\",\"ASL__c\":false,\"Mattersphere_Referral_ID__c\":\"44735\",\"Matter_Number__c\":null,\"PM_ID__c\":\"5947\",\"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\":\"\",\"Additional_Notes__c\":null,\"Referring_Client_Consent__c\":\"Yes\",\"Existing_Client_Project_Number__c\":\"338952.0002\",\"Referred_By_Company__c\":\"AFI Cybernetics Corporation\",\"Referred_By_Contact__c\":null,\"Referred_By_Title__c\":null,\"Referred_By_Contact_Phone__c\":null,\"Referred_By_Contact_Email__c\":null,\"Current_Service_Lines__c\":\"R&D\",\"Existing_Client_Team_Director__c\":\"Cullen Brungs\"}"),
    null,
    null);

Parameters

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

State

10/31/2025 4:06:16 PM (+2.513s) 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 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.InvokePerformFilter(IServerFilter filter, PerformingContext preContext, Func`1 continuation)
   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)

+1m 46.380s Processing

Server:
dw0sdwk000ekr:5016
Worker:
5497bef0

+97ms Enqueued

10/31/2025 4:04:27 PM Created