IOfflineCommitLeadToSF.Run

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

var offlineCommitLeadToSF = Activate<IOfflineCommitLeadToSF>();
await offlineCommitLeadToSF.Run(null, null);

Parameters

CurrentCulture
"en-US"
CurrentUICulture
"en-US"
RecurringJobId
"Offline-Commit-Lead-To-SF-Task"
RetryCount
10
Time
1761753603

State

10/29/2025 8:35:32 PM (+2.236s) Failed

An exception occurred during performance of the job.

System.Net.Http.HttpRequestException

Request failed with status code InternalServerError

System.Net.Http.HttpRequestException: Request failed with status code InternalServerError
   at AG.A1.Framework.Rest.RESTClient.HandleResponse[T](RestResponse restResponse) in C:\agent\_work\1\s\A1Solution\src-framework\AG.A1.Framework\Rest\RESTClient.cs:line 392
   at AG.A1.Framework.Rest.RESTClient.ExecutePOSTAsync[T](IRESTEndpoint apiEndpoint, IDictionary`2 headers, T obj, IDictionary`2 urlParameters) in C:\agent\_work\1\s\A1Solution\src-framework\AG.A1.Framework\Rest\RESTClient.cs:line 266
   at AG.Integrations.RESTClients.AlliantOneApiREST.ClientControllers.RavingFanA1ApiClientController.RavingFanSendErrorEmail(SendEmailCommandRequest request) in C:\agent\_work\1\s\A1Solution\src-integrations\AG.Integrations.RESTClients\AlliantOneApiREST\ClientControllers\RavingFanA1ApiClientController.cs:line 71
   at AG.A1.Scheduler.Project.Application.Features.LeadToSF.Commands.OfflineCommitLeadToSFCommandHandler.SendEmail(String message) in C:\agent\_work\1\s\A1Solution\src-schedulers\AG.A1.Scheduler.Project.Application\Features\LeadToSF\Commands\OfflineCommitLeadToSFCommandHandler.cs:line 112
   at AG.A1.Scheduler.Project.Application.Features.LeadToSF.Commands.OfflineCommitLeadToSFCommandHandler.Run(PerformContext performContext, IJobCancellationToken cancellationToken) in C:\agent\_work\1\s\A1Solution\src-schedulers\AG.A1.Scheduler.Project.Application\Features\LeadToSF\Commands\OfflineCommitLeadToSFCommandHandler.cs:line 86
   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)

+37ms Processing

Server:
dw0sdwk000ekr:7568
Worker:
312498dd
+248msSubmission to Salesforce - Started at 10/29/2025 8:35:30 PM
+562msSubmitting for RavingFan Record Id: 44684
+1.741sCannot deserialize the current JSON array (e.g. [1,2,3]) into type 'AG.Integrations.RESTClients.SalesforceREST.Models.Lead' because the type requires a JSON object (e.g. {"name":"value"}) to deserialize correctly. To fix this error either change the JSON to a JSON object (e.g. {"name":"value"}) or change the deserialized type to an array or a type that implements a collection interface (e.g. ICollection, IList) like List<T> that can be deserialized from a JSON array. JsonArrayAttribute can also be added to the type to force it to deserialize from a JSON array. Path '', line 1, position 1.

+1h 53m Enqueued

Triggered by DelayedJobScheduler

Queue:
default

+10ms Scheduled

Retry attempt 10 of 10: Request failed with status code InternalServerErr…

Enqueue at:
10/29/2025 8:35:19 PM

+21.654s Failed

An exception occurred during performance of the job.

System.Net.Http.HttpRequestException

Request failed with status code InternalServerError

System.Net.Http.HttpRequestException: Request failed with status code InternalServerError
   at AG.A1.Framework.Rest.RESTClient.HandleResponse[T](RestResponse restResponse) in C:\agent\_work\1\s\A1Solution\src-framework\AG.A1.Framework\Rest\RESTClient.cs:line 392
   at AG.A1.Framework.Rest.RESTClient.ExecutePOSTAsync[T](IRESTEndpoint apiEndpoint, IDictionary`2 headers, T obj, IDictionary`2 urlParameters) in C:\agent\_work\1\s\A1Solution\src-framework\AG.A1.Framework\Rest\RESTClient.cs:line 266
   at AG.Integrations.RESTClients.AlliantOneApiREST.ClientControllers.RavingFanA1ApiClientController.RavingFanSendErrorEmail(SendEmailCommandRequest request) in C:\agent\_work\1\s\A1Solution\src-integrations\AG.Integrations.RESTClients\AlliantOneApiREST\ClientControllers\RavingFanA1ApiClientController.cs:line 71
   at AG.A1.Scheduler.Project.Application.Features.LeadToSF.Commands.OfflineCommitLeadToSFCommandHandler.SendEmail(String message) in C:\agent\_work\1\s\A1Solution\src-schedulers\AG.A1.Scheduler.Project.Application\Features\LeadToSF\Commands\OfflineCommitLeadToSFCommandHandler.cs:line 112
   at AG.A1.Scheduler.Project.Application.Features.LeadToSF.Commands.OfflineCommitLeadToSFCommandHandler.Run(PerformContext performContext, IJobCancellationToken cancellationToken) in C:\agent\_work\1\s\A1Solution\src-schedulers\AG.A1.Scheduler.Project.Application\Features\LeadToSF\Commands\OfflineCommitLeadToSFCommandHandler.cs:line 86
   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)

+66ms Processing

Server:
dw0sdwk000ekr:6656
Worker:
3f2417b5
+7.572sSubmission to Salesforce - Started at 10/29/2025 6:41:30 PM
+8.337sSubmitting for RavingFan Record Id: 44684
+14.538sCannot deserialize the current JSON array (e.g. [1,2,3]) into type 'AG.Integrations.RESTClients.SalesforceREST.Models.Lead' because the type requires a JSON object (e.g. {"name":"value"}) to deserialize correctly. To fix this error either change the JSON to a JSON object (e.g. {"name":"value"}) or change the deserialized type to an array or a type that implements a collection interface (e.g. ICollection, IList) like List<T> that can be deserialized from a JSON array. JsonArrayAttribute can also be added to the type to force it to deserialize from a JSON array. Path '', line 1, position 1.

+1h 12m Enqueued

Triggered by DelayedJobScheduler

Queue:
default

+16ms Scheduled

Retry attempt 9 of 10: Request failed with status code InternalServerErr…

Enqueue at:
10/29/2025 6:41:17 PM

+4.197s Failed

An exception occurred during performance of the job.

System.Net.Http.HttpRequestException

Request failed with status code InternalServerError

System.Net.Http.HttpRequestException: Request failed with status code InternalServerError
   at AG.A1.Framework.Rest.RESTClient.HandleResponse[T](RestResponse restResponse) in C:\agent\_work\1\s\A1Solution\src-framework\AG.A1.Framework\Rest\RESTClient.cs:line 389
   at AG.A1.Framework.Rest.RESTClient.ExecutePOSTAsync[T](IRESTEndpoint apiEndpoint, IDictionary`2 headers, T obj, IDictionary`2 urlParameters) in C:\agent\_work\1\s\A1Solution\src-framework\AG.A1.Framework\Rest\RESTClient.cs:line 266
   at AG.Integrations.RESTClients.AlliantOneApiREST.ClientControllers.RavingFanA1ApiClientController.RavingFanSendErrorEmail(SendEmailCommandRequest request) in C:\agent\_work\1\s\A1Solution\src-integrations\AG.Integrations.RESTClients\AlliantOneApiREST\ClientControllers\RavingFanA1ApiClientController.cs:line 71
   at AG.A1.Scheduler.Project.Application.Features.LeadToSF.Commands.OfflineCommitLeadToSFCommandHandler.SendEmail(String message) in C:\agent\_work\1\s\A1Solution\src-schedulers\AG.A1.Scheduler.Project.Application\Features\LeadToSF\Commands\OfflineCommitLeadToSFCommandHandler.cs:line 112
   at AG.A1.Scheduler.Project.Application.Features.LeadToSF.Commands.OfflineCommitLeadToSFCommandHandler.Run(PerformContext performContext, IJobCancellationToken cancellationToken) in C:\agent\_work\1\s\A1Solution\src-schedulers\AG.A1.Scheduler.Project.Application\Features\LeadToSF\Commands\OfflineCommitLeadToSFCommandHandler.cs:line 86
   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)

+1.423s Processing

Server:
dw0sdwk000ekr:9880
Worker:
c8f8c547
+1.298sSubmission to Salesforce - Started at 10/29/2025 5:29:08 PM
+1.546sSubmitting for RavingFan Record Id: 44684
+2.709sCannot deserialize the current JSON array (e.g. [1,2,3]) into type 'AG.Integrations.RESTClients.SalesforceREST.Models.Lead' because the type requires a JSON object (e.g. {"name":"value"}) to deserialize correctly. To fix this error either change the JSON to a JSON object (e.g. {"name":"value"}) or change the deserialized type to an array or a type that implements a collection interface (e.g. ICollection, IList) like List<T> that can be deserialized from a JSON array. JsonArrayAttribute can also be added to the type to force it to deserialize from a JSON array. Path '', line 1, position 1.

+41m 35.404s Enqueued

Triggered by DelayedJobScheduler

Queue:
default

+20ms Scheduled

Retry attempt 8 of 10: Request failed with status code InternalServerErr…

Enqueue at:
10/29/2025 5:28:57 PM

+14.020s Failed

An exception occurred during performance of the job.

System.Net.Http.HttpRequestException

Request failed with status code InternalServerError

System.Net.Http.HttpRequestException: Request failed with status code InternalServerError
   at AG.A1.Framework.Rest.RESTClient.HandleResponse[T](RestResponse restResponse) in C:\agent\_work\1\s\A1Solution\src-framework\AG.A1.Framework\Rest\RESTClient.cs:line 392
   at AG.A1.Framework.Rest.RESTClient.ExecutePOSTAsync[T](IRESTEndpoint apiEndpoint, IDictionary`2 headers, T obj, IDictionary`2 urlParameters) in C:\agent\_work\1\s\A1Solution\src-framework\AG.A1.Framework\Rest\RESTClient.cs:line 266
   at AG.Integrations.RESTClients.AlliantOneApiREST.ClientControllers.RavingFanA1ApiClientController.RavingFanSendErrorEmail(SendEmailCommandRequest request) in C:\agent\_work\1\s\A1Solution\src-integrations\AG.Integrations.RESTClients\AlliantOneApiREST\ClientControllers\RavingFanA1ApiClientController.cs:line 71
   at AG.A1.Scheduler.Project.Application.Features.LeadToSF.Commands.OfflineCommitLeadToSFCommandHandler.SendEmail(String message) in C:\agent\_work\1\s\A1Solution\src-schedulers\AG.A1.Scheduler.Project.Application\Features\LeadToSF\Commands\OfflineCommitLeadToSFCommandHandler.cs:line 112
   at AG.A1.Scheduler.Project.Application.Features.LeadToSF.Commands.OfflineCommitLeadToSFCommandHandler.Run(PerformContext performContext, IJobCancellationToken cancellationToken) in C:\agent\_work\1\s\A1Solution\src-schedulers\AG.A1.Scheduler.Project.Application\Features\LeadToSF\Commands\OfflineCommitLeadToSFCommandHandler.cs:line 86
   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)

+1.216s Processing

Server:
dw0sdwk000ekr:9880
Worker:
c8f8c547
+6.988sSubmission to Salesforce - Started at 10/29/2025 4:47:21 PM
+7.405sSubmitting for RavingFan Record Id: 44684
+11.182sCannot deserialize the current JSON array (e.g. [1,2,3]) into type 'AG.Integrations.RESTClients.SalesforceREST.Models.Lead' because the type requires a JSON object (e.g. {"name":"value"}) to deserialize correctly. To fix this error either change the JSON to a JSON object (e.g. {"name":"value"}) or change the deserialized type to an array or a type that implements a collection interface (e.g. ICollection, IList) like List<T> that can be deserialized from a JSON array. JsonArrayAttribute can also be added to the type to force it to deserialize from a JSON array. Path '', line 1, position 1.

+22m 9.410s Enqueued

Triggered by DelayedJobScheduler

Queue:
default

+7ms Scheduled

Retry attempt 7 of 10: Could not load file or assembly 'AG.A1.Scheduler.…

Enqueue at:
10/29/2025 4:47:03 PM

+463ms Failed

Can not change the state to 'Processing': target method was not found.

System.IO.FileNotFoundException

Could not load file or assembly 'AG.A1.Scheduler.Project.Contracts, Culture=neutral, PublicKeyToken=null'. The system cannot find the file specified.

System.IO.FileNotFoundException: Could not load file or assembly 'AG.A1.Scheduler.Project.Contracts, Culture=neutral, PublicKeyToken=null'. The system cannot find the file specified.
File name: 'AG.A1.Scheduler.Project.Contracts, Culture=neutral, PublicKeyToken=null'
   at System.Reflection.RuntimeAssembly.InternalLoad(ObjectHandleOnStack assemblyName, ObjectHandleOnStack requestingAssembly, StackCrawlMarkHandle stackMark, Boolean throwOnFileNotFound, ObjectHandleOnStack assemblyLoadContext, ObjectHandleOnStack retAssembly)
   at System.Reflection.RuntimeAssembly.InternalLoad(AssemblyName assemblyName, RuntimeAssembly requestingAssembly, StackCrawlMark& stackMark, Boolean throwOnFileNotFound, AssemblyLoadContext assemblyLoadContext)
   at System.Reflection.Assembly.Load(AssemblyName assemblyRef)
   at Hangfire.Common.TypeHelper.AssemblyResolver(String assemblyString)
   at System.Collections.Concurrent.ConcurrentDictionary`2.GetOrAdd(TKey key, Func`2 valueFactory)
   at System.TypeNameParser.ResolveAssembly(String asmName, Func`2 assemblyResolver, Boolean throwOnError, StackCrawlMark& stackMark)
   at System.TypeNameParser.ConstructType(Func`2 assemblyResolver, Func`4 typeResolver, Boolean throwOnError, Boolean ignoreCase, StackCrawlMark& stackMark)
   at System.TypeNameParser.GetType(String typeName, Func`2 assemblyResolver, Func`4 typeResolver, Boolean throwOnError, Boolean ignoreCase, StackCrawlMark& stackMark)
   at System.Type.GetType(String typeName, Func`2 assemblyResolver, Func`4 typeResolver, Boolean throwOnError)
   at Hangfire.Common.TypeHelper.DefaultTypeResolver(String typeName)
   at Hangfire.Storage.InvocationData.DeserializeJob()

+11m 4.687s Enqueued

Triggered by DelayedJobScheduler

Queue:
default

+10ms Scheduled

Retry attempt 6 of 10: Request failed with status code InternalServerErr…

Enqueue at:
10/29/2025 4:24:50 PM

+38.270s Failed

An exception occurred during performance of the job.

System.Net.Http.HttpRequestException

Request failed with status code InternalServerError

System.Net.Http.HttpRequestException: Request failed with status code InternalServerError
   at AG.A1.Framework.Rest.RESTClient.HandleResponse[T](RestResponse restResponse) in C:\agent\_work\1\s\A1Solution\src-framework\AG.A1.Framework\Rest\RESTClient.cs:line 392
   at AG.A1.Framework.Rest.RESTClient.ExecutePOSTAsync[T](IRESTEndpoint apiEndpoint, IDictionary`2 headers, T obj, IDictionary`2 urlParameters) in C:\agent\_work\1\s\A1Solution\src-framework\AG.A1.Framework\Rest\RESTClient.cs:line 266
   at AG.Integrations.RESTClients.AlliantOneApiREST.ClientControllers.RavingFanA1ApiClientController.RavingFanSendErrorEmail(SendEmailCommandRequest request) in C:\agent\_work\1\s\A1Solution\src-integrations\AG.Integrations.RESTClients\AlliantOneApiREST\ClientControllers\RavingFanA1ApiClientController.cs:line 71
   at AG.A1.Scheduler.Project.Application.Features.LeadToSF.Commands.OfflineCommitLeadToSFCommandHandler.SendEmail(String message) in C:\agent\_work\1\s\A1Solution\src-schedulers\AG.A1.Scheduler.Project.Application\Features\LeadToSF\Commands\OfflineCommitLeadToSFCommandHandler.cs:line 112
   at AG.A1.Scheduler.Project.Application.Features.LeadToSF.Commands.OfflineCommitLeadToSFCommandHandler.Run(PerformContext performContext, IJobCancellationToken cancellationToken) in C:\agent\_work\1\s\A1Solution\src-schedulers\AG.A1.Scheduler.Project.Application\Features\LeadToSF\Commands\OfflineCommitLeadToSFCommandHandler.cs:line 86
   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)

+63ms Processing

Server:
dw0sdwk000ekr:2004
Worker:
a4cddd6d
+7.749sSubmission to Salesforce - Started at 10/29/2025 4:13:29 PM
+7.873sSubmitting for RavingFan Record Id: 44684
+24.544sCannot deserialize the current JSON array (e.g. [1,2,3]) into type 'AG.Integrations.RESTClients.SalesforceREST.Models.Lead' because the type requires a JSON object (e.g. {"name":"value"}) to deserialize correctly. To fix this error either change the JSON to a JSON object (e.g. {"name":"value"}) or change the deserialized type to an array or a type that implements a collection interface (e.g. ICollection, IList) like List<T> that can be deserialized from a JSON array. JsonArrayAttribute can also be added to the type to force it to deserialize from a JSON array. Path '', line 1, position 1.

+6m 59.407s Enqueued

Triggered by DelayedJobScheduler

Queue:
default

+10ms Scheduled

Retry attempt 5 of 10: Cannot access a disposed object. Object name: 'S…

Enqueue at:
10/29/2025 4:13:08 PM

+27.370s Failed

An exception occurred during performance of the job.

System.ObjectDisposedException

Cannot access a disposed object. Object name: 'System.Net.Http.HttpClient'.

System.ObjectDisposedException: Cannot access a disposed object.
Object name: 'System.Net.Http.HttpClient'.
   at AG.A1.Framework.Rest.RESTClient.HandleResponse[T](RestResponse restResponse) in C:\agent\_work\1\s\A1Solution\src-framework\AG.A1.Framework\Rest\RESTClient.cs:line 389
   at AG.A1.Framework.Rest.RESTClient.ExecutePOSTAsync[T](IRESTEndpoint apiEndpoint, IDictionary`2 headers, T obj, IDictionary`2 urlParameters) in C:\agent\_work\1\s\A1Solution\src-framework\AG.A1.Framework\Rest\RESTClient.cs:line 266
   at AG.Integrations.RESTClients.AlliantOneApiREST.ClientControllers.RavingFanA1ApiClientController.RavingFanSendErrorEmail(SendEmailCommandRequest request) in C:\agent\_work\1\s\A1Solution\src-integrations\AG.Integrations.RESTClients\AlliantOneApiREST\ClientControllers\RavingFanA1ApiClientController.cs:line 71
   at AG.A1.Scheduler.Project.Application.Features.LeadToSF.Commands.OfflineCommitLeadToSFCommandHandler.SendEmail(String message) in C:\agent\_work\1\s\A1Solution\src-schedulers\AG.A1.Scheduler.Project.Application\Features\LeadToSF\Commands\OfflineCommitLeadToSFCommandHandler.cs:line 112
   at AG.A1.Scheduler.Project.Application.Features.LeadToSF.Commands.OfflineCommitLeadToSFCommandHandler.Run(PerformContext performContext, IJobCancellationToken cancellationToken) in C:\agent\_work\1\s\A1Solution\src-schedulers\AG.A1.Scheduler.Project.Application\Features\LeadToSF\Commands\OfflineCommitLeadToSFCommandHandler.cs:line 86
   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)

+47ms Processing

Server:
dw0sdwk000ekr:2268
Worker:
1769b3fd
+331msSubmission to Salesforce - Started at 10/29/2025 4:05:55 PM
+26.374sThe operation was canceled.

+1m 54.436s Enqueued

Triggered by DelayedJobScheduler

Queue:
default

+14ms Scheduled

Retry attempt 4 of 10: Request failed with status code InternalServerErr…

Enqueue at:
10/29/2025 4:05:44 PM

+24.870s Failed

An exception occurred during performance of the job.

System.Net.Http.HttpRequestException

Request failed with status code InternalServerError

System.Net.Http.HttpRequestException: Request failed with status code InternalServerError
   at AG.A1.Framework.Rest.RESTClient.HandleResponse[T](RestResponse restResponse) in C:\agent\_work\1\s\A1Solution\src-framework\AG.A1.Framework\Rest\RESTClient.cs:line 389
   at AG.A1.Framework.Rest.RESTClient.ExecutePOSTAsync[T](IRESTEndpoint apiEndpoint, IDictionary`2 headers, T obj, IDictionary`2 urlParameters) in C:\agent\_work\1\s\A1Solution\src-framework\AG.A1.Framework\Rest\RESTClient.cs:line 266
   at AG.Integrations.RESTClients.AlliantOneApiREST.ClientControllers.RavingFanA1ApiClientController.RavingFanSendErrorEmail(SendEmailCommandRequest request) in C:\agent\_work\1\s\A1Solution\src-integrations\AG.Integrations.RESTClients\AlliantOneApiREST\ClientControllers\RavingFanA1ApiClientController.cs:line 71
   at AG.A1.Scheduler.Project.Application.Features.LeadToSF.Commands.OfflineCommitLeadToSFCommandHandler.SendEmail(String message) in C:\agent\_work\1\s\A1Solution\src-schedulers\AG.A1.Scheduler.Project.Application\Features\LeadToSF\Commands\OfflineCommitLeadToSFCommandHandler.cs:line 112
   at AG.A1.Scheduler.Project.Application.Features.LeadToSF.Commands.OfflineCommitLeadToSFCommandHandler.Run(PerformContext performContext, IJobCancellationToken cancellationToken) in C:\agent\_work\1\s\A1Solution\src-schedulers\AG.A1.Scheduler.Project.Application\Features\LeadToSF\Commands\OfflineCommitLeadToSFCommandHandler.cs:line 86
   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)

+50ms Processing

Server:
dw0sdwk000ekr:2268
Worker:
91c77d15
+1.462sSubmission to Salesforce - Started at 10/29/2025 4:03:37 PM
+19.831sSubmitting for RavingFan Record Id: 44684
+24.604sCannot deserialize the current JSON array (e.g. [1,2,3]) into type 'AG.Integrations.RESTClients.SalesforceREST.Models.Lead' because the type requires a JSON object (e.g. {"name":"value"}) to deserialize correctly. To fix this error either change the JSON to a JSON object (e.g. {"name":"value"}) or change the deserialized type to an array or a type that implements a collection interface (e.g. ICollection, IList) like List<T> that can be deserialized from a JSON array. JsonArrayAttribute can also be added to the type to force it to deserialize from a JSON array. Path '', line 1, position 1.

+1m 33.396s Enqueued

Triggered by DelayedJobScheduler

Queue:
default

+14ms Scheduled

Retry attempt 3 of 10: Request failed with status code InternalServerErr…

Enqueue at:
10/29/2025 4:03:33 PM

+12.370s Failed

An exception occurred during performance of the job.

System.Net.Http.HttpRequestException

Request failed with status code InternalServerError

System.Net.Http.HttpRequestException: Request failed with status code InternalServerError
   at AG.A1.Framework.Rest.RESTClient.HandleResponse[T](RestResponse restResponse) in C:\agent\_work\1\s\A1Solution\src-framework\AG.A1.Framework\Rest\RESTClient.cs:line 389
   at AG.A1.Framework.Rest.RESTClient.ExecutePOSTAsync[T](IRESTEndpoint apiEndpoint, IDictionary`2 headers, T obj, IDictionary`2 urlParameters) in C:\agent\_work\1\s\A1Solution\src-framework\AG.A1.Framework\Rest\RESTClient.cs:line 266
   at AG.Integrations.RESTClients.AlliantOneApiREST.ClientControllers.RavingFanA1ApiClientController.RavingFanSendErrorEmail(SendEmailCommandRequest request) in C:\agent\_work\1\s\A1Solution\src-integrations\AG.Integrations.RESTClients\AlliantOneApiREST\ClientControllers\RavingFanA1ApiClientController.cs:line 71
   at AG.A1.Scheduler.Project.Application.Features.LeadToSF.Commands.OfflineCommitLeadToSFCommandHandler.SendEmail(String message) in C:\agent\_work\1\s\A1Solution\src-schedulers\AG.A1.Scheduler.Project.Application\Features\LeadToSF\Commands\OfflineCommitLeadToSFCommandHandler.cs:line 112
   at AG.A1.Scheduler.Project.Application.Features.LeadToSF.Commands.OfflineCommitLeadToSFCommandHandler.Run(PerformContext performContext, IJobCancellationToken cancellationToken) in C:\agent\_work\1\s\A1Solution\src-schedulers\AG.A1.Scheduler.Project.Application\Features\LeadToSF\Commands\OfflineCommitLeadToSFCommandHandler.cs:line 86
   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)

+26ms Processing

Server:
dw0sdwk000ekr:2268
Worker:
ca2d64e3
+96msSubmission to Salesforce - Started at 10/29/2025 4:01:49 PM
+1.899sSubmitting for RavingFan Record Id: 44684
+11.820sCannot deserialize the current JSON array (e.g. [1,2,3]) into type 'AG.Integrations.RESTClients.SalesforceREST.Models.Lead' because the type requires a JSON object (e.g. {"name":"value"}) to deserialize correctly. To fix this error either change the JSON to a JSON object (e.g. {"name":"value"}) or change the deserialized type to an array or a type that implements a collection interface (e.g. ICollection, IList) like List<T> that can be deserialized from a JSON array. JsonArrayAttribute can also be added to the type to force it to deserialize from a JSON array. Path '', line 1, position 1.

+29.694s Enqueued

Triggered by DelayedJobScheduler

Queue:
default

+10ms Scheduled

Retry attempt 2 of 10: Could not load file or assembly 'AG.A1.Scheduler.…

Enqueue at:
10/29/2025 4:01:41 PM

+583ms Failed

Can not change the state to 'Processing': target method was not found.

System.IO.FileNotFoundException

Could not load file or assembly 'AG.A1.Scheduler.Project.Contracts, Culture=neutral, PublicKeyToken=null'. The system cannot find the file specified.

System.IO.FileNotFoundException: Could not load file or assembly 'AG.A1.Scheduler.Project.Contracts, Culture=neutral, PublicKeyToken=null'. The system cannot find the file specified.
File name: 'AG.A1.Scheduler.Project.Contracts, Culture=neutral, PublicKeyToken=null'
   at System.Reflection.RuntimeAssembly.InternalLoad(ObjectHandleOnStack assemblyName, ObjectHandleOnStack requestingAssembly, StackCrawlMarkHandle stackMark, Boolean throwOnFileNotFound, ObjectHandleOnStack assemblyLoadContext, ObjectHandleOnStack retAssembly)
   at System.Reflection.RuntimeAssembly.InternalLoad(AssemblyName assemblyName, RuntimeAssembly requestingAssembly, StackCrawlMark& stackMark, Boolean throwOnFileNotFound, AssemblyLoadContext assemblyLoadContext)
   at System.Reflection.Assembly.Load(AssemblyName assemblyRef)
   at Hangfire.Common.TypeHelper.AssemblyResolver(String assemblyString)
   at System.Collections.Concurrent.ConcurrentDictionary`2.GetOrAdd(TKey key, Func`2 valueFactory)
   at System.TypeNameParser.ResolveAssembly(String asmName, Func`2 assemblyResolver, Boolean throwOnError, StackCrawlMark& stackMark)
   at System.TypeNameParser.ConstructType(Func`2 assemblyResolver, Func`4 typeResolver, Boolean throwOnError, Boolean ignoreCase, StackCrawlMark& stackMark)
   at System.TypeNameParser.GetType(String typeName, Func`2 assemblyResolver, Func`4 typeResolver, Boolean throwOnError, Boolean ignoreCase, StackCrawlMark& stackMark)
   at System.Type.GetType(String typeName, Func`2 assemblyResolver, Func`4 typeResolver, Boolean throwOnError)
   at Hangfire.Common.TypeHelper.DefaultTypeResolver(String typeName)
   at Hangfire.Storage.InvocationData.DeserializeJob()

+32.547s Enqueued

Triggered by DelayedJobScheduler

Queue:
default

+26ms Scheduled

Retry attempt 1 of 10: Request failed with status code InternalServerErr…

Enqueue at:
10/29/2025 4:01:19 PM

+42.694s Failed

An exception occurred during performance of the job.

System.Net.Http.HttpRequestException

Request failed with status code InternalServerError

System.Net.Http.HttpRequestException: Request failed with status code InternalServerError
   at AG.A1.Framework.Rest.RESTClient.HandleResponse[T](RestResponse restResponse) in C:\agent\_work\1\s\A1Solution\src-framework\AG.A1.Framework\Rest\RESTClient.cs:line 392
   at AG.A1.Framework.Rest.RESTClient.ExecutePOSTAsync[T](IRESTEndpoint apiEndpoint, IDictionary`2 headers, T obj, IDictionary`2 urlParameters) in C:\agent\_work\1\s\A1Solution\src-framework\AG.A1.Framework\Rest\RESTClient.cs:line 266
   at AG.Integrations.RESTClients.AlliantOneApiREST.ClientControllers.RavingFanA1ApiClientController.RavingFanSendErrorEmail(SendEmailCommandRequest request) in C:\agent\_work\1\s\A1Solution\src-integrations\AG.Integrations.RESTClients\AlliantOneApiREST\ClientControllers\RavingFanA1ApiClientController.cs:line 71
   at AG.A1.Scheduler.Project.Application.Features.LeadToSF.Commands.OfflineCommitLeadToSFCommandHandler.SendEmail(String message) in C:\agent\_work\1\s\A1Solution\src-schedulers\AG.A1.Scheduler.Project.Application\Features\LeadToSF\Commands\OfflineCommitLeadToSFCommandHandler.cs:line 112
   at AG.A1.Scheduler.Project.Application.Features.LeadToSF.Commands.OfflineCommitLeadToSFCommandHandler.Run(PerformContext performContext, IJobCancellationToken cancellationToken) in C:\agent\_work\1\s\A1Solution\src-schedulers\AG.A1.Scheduler.Project.Application\Features\LeadToSF\Commands\OfflineCommitLeadToSFCommandHandler.cs:line 86
   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)

+216ms Processing

Server:
dw0sdwk000ekr:2268
Worker:
3d7b2149
+12.404sSubmission to Salesforce - Started at 10/29/2025 4:00:16 PM
+15.358sSubmitting for RavingFan Record Id: 44684
+29.485sCannot deserialize the current JSON array (e.g. [1,2,3]) into type 'AG.Integrations.RESTClients.SalesforceREST.Models.Lead' because the type requires a JSON object (e.g. {"name":"value"}) to deserialize correctly. To fix this error either change the JSON to a JSON object (e.g. {"name":"value"}) or change the deserialized type to an array or a type that implements a collection interface (e.g. ICollection, IList) like List<T> that can be deserialized from a JSON array. JsonArrayAttribute can also be added to the type to force it to deserialize from a JSON array. Path '', line 1, position 1.

+24ms Enqueued

Triggered by recurring job scheduler

10/29/2025 4:00:04 PM Created