IOfflineCommitLeadToSF.Run

// Job ID: #1133395
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
"[DEBUG]-Offline-Commit-Lead-To-SF-Task"
RetryCount
10
Time
1764844205

State

12/5/2025 8:04:15 AM (+13.330s) Failed

An exception occurred during performance of the job.

System.Net.Http.HttpRequestException

Request failed with status code BadRequest

System.Net.Http.HttpRequestException: Request failed with status code BadRequest
   at AG.A1.Framework.Rest.RESTClient.HandleResponse[T](RestResponse restResponse) in C:\Users\MInnamuri\Documents\Projects\Aone\A1Solution\src-framework\AG.A1.Framework\Rest\RESTClient.cs:line 392
   at AG.A1.Framework.Rest.RESTClient.ExecutePOSTAsync[T](IRESTEndpoint apiEndpoint, IDictionary`2 headers, IDictionary`2 bodyParameters, IDictionary`2 urlParameters, Nullable`1 requestDataFormat, Nullable`1 responseDataFormat) in C:\Users\MInnamuri\Documents\Projects\Aone\A1Solution\src-framework\AG.A1.Framework\Rest\RESTClient.cs:line 281
   at AG.Integrations.RESTClients.SalesforceREST.SalesforceApiClientController.GetToken() in C:\Users\MInnamuri\Documents\Projects\Aone\A1Solution\src-integrations\AG.Integrations.RESTClients\SalesforceREST\SalesforceApiClientController.cs:line 41
   at AG.A1.Scheduler.Project.Application.Helpers.SalesforceHelper.CreateLead(Lead lead, Boolean bypassTokenValidation) in C:\Users\MInnamuri\Documents\Projects\Aone\A1Solution\src-schedulers\AG.A1.Scheduler.Project.Application\Helpers\SalesforceHelper.cs:line 72
   at AG.A1.Scheduler.Project.Application.Features.LeadToSF.Commands.OfflineCommitLeadToSFCommandHandler.Run(PerformContext performContext, IJobCancellationToken cancellationToken) in C:\Users\MInnamuri\Documents\Projects\Aone\A1Solution\src-schedulers\AG.A1.Scheduler.Project.Application\Features\LeadToSF\Commands\OfflineCommitLeadToSFCommandHandler.cs:line 50
   at System.Runtime.CompilerServices.TaskAwaiter.GetResult()

+273ms Processing

Server:
wvdappdevv2-16:22196
Worker:
e7dcd3c3
+163msSubmission to Salesforce - Started at 12/5/2025 1:34:02 PM
+9.935sSubmitting for RavingFan Record Id: 44684
+13.045sRequest failed with status code BadRequest

+18h 47m Enqueued

Triggered by DelayedJobScheduler

Queue:
default

+3ms Scheduled

Retry attempt 10 of 10: Request failed with status code BadRequest

Enqueue at:
12/4/2025 3:07:58 PM

+2.440s Failed

An exception occurred during performance of the job.

System.Net.Http.HttpRequestException

Request failed with status code BadRequest

System.Net.Http.HttpRequestException: Request failed with status code BadRequest
   at AG.A1.Framework.Rest.RESTClient.HandleResponse[T](RestResponse restResponse) in C:\Users\MInnamuri\Documents\Projects\Aone\A1Solution\src-framework\AG.A1.Framework\Rest\RESTClient.cs:line 392
   at AG.A1.Framework.Rest.RESTClient.ExecutePOSTAsync[T](IRESTEndpoint apiEndpoint, IDictionary`2 headers, IDictionary`2 bodyParameters, IDictionary`2 urlParameters, Nullable`1 requestDataFormat, Nullable`1 responseDataFormat) in C:\Users\MInnamuri\Documents\Projects\Aone\A1Solution\src-framework\AG.A1.Framework\Rest\RESTClient.cs:line 281
   at AG.Integrations.RESTClients.SalesforceREST.SalesforceApiClientController.GetToken() in C:\Users\MInnamuri\Documents\Projects\Aone\A1Solution\src-integrations\AG.Integrations.RESTClients\SalesforceREST\SalesforceApiClientController.cs:line 41
   at AG.A1.Scheduler.Project.Application.Helpers.SalesforceHelper.CreateLead(Lead lead, Boolean bypassTokenValidation) in C:\Users\MInnamuri\Documents\Projects\Aone\A1Solution\src-schedulers\AG.A1.Scheduler.Project.Application\Helpers\SalesforceHelper.cs:line 72
   at AG.A1.Scheduler.Project.Application.Features.LeadToSF.Commands.OfflineCommitLeadToSFCommandHandler.Run(PerformContext performContext, IJobCancellationToken cancellationToken) in C:\Users\MInnamuri\Documents\Projects\Aone\A1Solution\src-schedulers\AG.A1.Scheduler.Project.Application\Features\LeadToSF\Commands\OfflineCommitLeadToSFCommandHandler.cs:line 50
   at System.Runtime.CompilerServices.TaskAwaiter.GetResult()

+23ms Processing

Server:
wvdappdevv2-16:19852
Worker:
51f8f429
+42msSubmission to Salesforce - Started at 12/4/2025 6:46:30 PM
+333msSubmitting for RavingFan Record Id: 44684
+2.296sRequest failed with status code BadRequest

+1h 9m Enqueued

Triggered by DelayedJobScheduler

Queue:
default

+3ms Scheduled

Retry attempt 9 of 10: Request failed with status code BadRequest

Enqueue at:
12/4/2025 1:16:18 PM

+2.750s Failed

An exception occurred during performance of the job.

System.Net.Http.HttpRequestException

Request failed with status code BadRequest

System.Net.Http.HttpRequestException: Request failed with status code BadRequest
   at AG.A1.Framework.Rest.RESTClient.HandleResponse[T](RestResponse restResponse) in C:\Users\MInnamuri\Documents\Projects\Aone\A1Solution\src-framework\AG.A1.Framework\Rest\RESTClient.cs:line 392
   at AG.A1.Framework.Rest.RESTClient.ExecutePOSTAsync[T](IRESTEndpoint apiEndpoint, IDictionary`2 headers, IDictionary`2 bodyParameters, IDictionary`2 urlParameters, Nullable`1 requestDataFormat, Nullable`1 responseDataFormat) in C:\Users\MInnamuri\Documents\Projects\Aone\A1Solution\src-framework\AG.A1.Framework\Rest\RESTClient.cs:line 281
   at AG.Integrations.RESTClients.SalesforceREST.SalesforceApiClientController.GetToken() in C:\Users\MInnamuri\Documents\Projects\Aone\A1Solution\src-integrations\AG.Integrations.RESTClients\SalesforceREST\SalesforceApiClientController.cs:line 41
   at AG.A1.Scheduler.Project.Application.Helpers.SalesforceHelper.CreateLead(Lead lead, Boolean bypassTokenValidation) in C:\Users\MInnamuri\Documents\Projects\Aone\A1Solution\src-schedulers\AG.A1.Scheduler.Project.Application\Helpers\SalesforceHelper.cs:line 72
   at AG.A1.Scheduler.Project.Application.Features.LeadToSF.Commands.OfflineCommitLeadToSFCommandHandler.Run(PerformContext performContext, IJobCancellationToken cancellationToken) in C:\Users\MInnamuri\Documents\Projects\Aone\A1Solution\src-schedulers\AG.A1.Scheduler.Project.Application\Features\LeadToSF\Commands\OfflineCommitLeadToSFCommandHandler.cs:line 50
   at System.Runtime.CompilerServices.TaskAwaiter.GetResult()

+23ms Processing

Server:
wvdappdevv2-16:27392
Worker:
956a7bf8
+42msSubmission to Salesforce - Started at 12/4/2025 5:36:41 PM
+322msSubmitting for RavingFan Record Id: 44684
+2.641sRequest failed with status code BadRequest

+43m 12.634s Enqueued

Triggered by DelayedJobScheduler

Queue:
default

+3ms Scheduled

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

Enqueue at:
12/4/2025 12:06:32 PM

+47ms 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()

+22m 24.746s Enqueued

Triggered by DelayedJobScheduler

Queue:
default

+4ms Scheduled

Retry attempt 7 of 10: Request failed with status code BadRequest

Enqueue at:
12/4/2025 11:23:16 AM

+1.430s Failed

An exception occurred during performance of the job.

System.Net.Http.HttpRequestException

Request failed with status code BadRequest

System.Net.Http.HttpRequestException: Request failed with status code BadRequest
   at AG.A1.Framework.Rest.RESTClient.HandleResponse[T](RestResponse restResponse) in C:\Users\MInnamuri\Documents\Projects\Aone\A1Solution\src-framework\AG.A1.Framework\Rest\RESTClient.cs:line 392
   at AG.A1.Framework.Rest.RESTClient.ExecutePOSTAsync[T](IRESTEndpoint apiEndpoint, IDictionary`2 headers, IDictionary`2 bodyParameters, IDictionary`2 urlParameters, Nullable`1 requestDataFormat, Nullable`1 responseDataFormat) in C:\Users\MInnamuri\Documents\Projects\Aone\A1Solution\src-framework\AG.A1.Framework\Rest\RESTClient.cs:line 281
   at AG.Integrations.RESTClients.SalesforceREST.SalesforceApiClientController.GetToken() in C:\Users\MInnamuri\Documents\Projects\Aone\A1Solution\src-integrations\AG.Integrations.RESTClients\SalesforceREST\SalesforceApiClientController.cs:line 41
   at AG.A1.Scheduler.Project.Application.Helpers.SalesforceHelper.CreateLead(Lead lead, Boolean bypassTokenValidation) in C:\Users\MInnamuri\Documents\Projects\Aone\A1Solution\src-schedulers\AG.A1.Scheduler.Project.Application\Helpers\SalesforceHelper.cs:line 72
   at AG.A1.Scheduler.Project.Application.Features.LeadToSF.Commands.OfflineCommitLeadToSFCommandHandler.Run(PerformContext performContext, IJobCancellationToken cancellationToken) in C:\Users\MInnamuri\Documents\Projects\Aone\A1Solution\src-schedulers\AG.A1.Scheduler.Project.Application\Features\LeadToSF\Commands\OfflineCommitLeadToSFCommandHandler.cs:line 50
   at System.Runtime.CompilerServices.TaskAwaiter.GetResult()

+30ms Processing

Server:
wvdappdevv2-16:29484
Worker:
0040c778
+36msSubmission to Salesforce - Started at 12/4/2025 4:31:02 PM
+267msSubmitting for RavingFan Record Id: 44684
+1.374sRequest failed with status code BadRequest

+12m 14.676s Enqueued

Triggered by DelayedJobScheduler

Queue:
default

+4ms Scheduled

Retry attempt 6 of 10: Request failed with status code BadRequest

Enqueue at:
12/4/2025 11:00:51 AM

+1.573s Failed

An exception occurred during performance of the job.

System.Net.Http.HttpRequestException

Request failed with status code BadRequest

System.Net.Http.HttpRequestException: Request failed with status code BadRequest
   at AG.A1.Framework.Rest.RESTClient.HandleResponse[T](RestResponse restResponse) in C:\Users\MInnamuri\Documents\Projects\Aone\A1Solution\src-framework\AG.A1.Framework\Rest\RESTClient.cs:line 392
   at AG.A1.Framework.Rest.RESTClient.ExecutePOSTAsync[T](IRESTEndpoint apiEndpoint, IDictionary`2 headers, IDictionary`2 bodyParameters, IDictionary`2 urlParameters, Nullable`1 requestDataFormat, Nullable`1 responseDataFormat) in C:\Users\MInnamuri\Documents\Projects\Aone\A1Solution\src-framework\AG.A1.Framework\Rest\RESTClient.cs:line 281
   at AG.Integrations.RESTClients.SalesforceREST.SalesforceApiClientController.GetToken() in C:\Users\MInnamuri\Documents\Projects\Aone\A1Solution\src-integrations\AG.Integrations.RESTClients\SalesforceREST\SalesforceApiClientController.cs:line 41
   at AG.A1.Scheduler.Project.Application.Helpers.SalesforceHelper.CreateLead(Lead lead, Boolean bypassTokenValidation) in C:\Users\MInnamuri\Documents\Projects\Aone\A1Solution\src-schedulers\AG.A1.Scheduler.Project.Application\Helpers\SalesforceHelper.cs:line 72
   at AG.A1.Scheduler.Project.Application.Features.LeadToSF.Commands.OfflineCommitLeadToSFCommandHandler.Run(PerformContext performContext, IJobCancellationToken cancellationToken) in C:\Users\MInnamuri\Documents\Projects\Aone\A1Solution\src-schedulers\AG.A1.Scheduler.Project.Application\Features\LeadToSF\Commands\OfflineCommitLeadToSFCommandHandler.cs:line 50
   at System.Runtime.CompilerServices.TaskAwaiter.GetResult()

+27ms Processing

Server:
wvdappdevv2-16:29484
Worker:
f58f78c9
+42msSubmission to Salesforce - Started at 12/4/2025 4:18:46 PM
+195msSubmitting for RavingFan Record Id: 44684
+1.422sRequest failed with status code BadRequest

+6m 16.513s Enqueued

Triggered by DelayedJobScheduler

Queue:
default

+3ms Scheduled

Retry attempt 5 of 10: Request failed with status code BadRequest

Enqueue at:
12/4/2025 10:48:35 AM

+3.107s Failed

An exception occurred during performance of the job.

System.Net.Http.HttpRequestException

Request failed with status code BadRequest

System.Net.Http.HttpRequestException: Request failed with status code BadRequest
   at AG.A1.Framework.Rest.RESTClient.HandleResponse[T](RestResponse restResponse) in C:\Users\MInnamuri\Documents\Projects\Aone\A1Solution\src-framework\AG.A1.Framework\Rest\RESTClient.cs:line 392
   at AG.A1.Framework.Rest.RESTClient.ExecutePOSTAsync[T](IRESTEndpoint apiEndpoint, IDictionary`2 headers, IDictionary`2 bodyParameters, IDictionary`2 urlParameters, Nullable`1 requestDataFormat, Nullable`1 responseDataFormat) in C:\Users\MInnamuri\Documents\Projects\Aone\A1Solution\src-framework\AG.A1.Framework\Rest\RESTClient.cs:line 281
   at AG.Integrations.RESTClients.SalesforceREST.SalesforceApiClientController.GetToken() in C:\Users\MInnamuri\Documents\Projects\Aone\A1Solution\src-integrations\AG.Integrations.RESTClients\SalesforceREST\SalesforceApiClientController.cs:line 41
   at AG.A1.Scheduler.Project.Application.Helpers.SalesforceHelper.CreateLead(Lead lead, Boolean bypassTokenValidation) in C:\Users\MInnamuri\Documents\Projects\Aone\A1Solution\src-schedulers\AG.A1.Scheduler.Project.Application\Helpers\SalesforceHelper.cs:line 72
   at AG.A1.Scheduler.Project.Application.Features.LeadToSF.Commands.OfflineCommitLeadToSFCommandHandler.Run(PerformContext performContext, IJobCancellationToken cancellationToken) in C:\Users\MInnamuri\Documents\Projects\Aone\A1Solution\src-schedulers\AG.A1.Scheduler.Project.Application\Features\LeadToSF\Commands\OfflineCommitLeadToSFCommandHandler.cs:line 50
   at System.Runtime.CompilerServices.TaskAwaiter.GetResult()

+20ms Processing

Server:
wvdappdevv2-16:29484
Worker:
0a316c72
+58msSubmission to Salesforce - Started at 12/4/2025 4:12:26 PM
+409msSubmitting for RavingFan Record Id: 44684
+2.878sRequest failed with status code BadRequest

+2m 43.263s Enqueued

Triggered by DelayedJobScheduler

Queue:
default

+4ms Scheduled

Retry attempt 4 of 10: Cannot deserialize the current JSON array (e.g. […

Enqueue at:
12/4/2025 10:42:23 AM

+2.030s Failed

An exception occurred during performance of the job.

Newtonsoft.Json.JsonSerializationException

Cannot 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.

Newtonsoft.Json.JsonSerializationException: Cannot 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.
   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, IDictionary`2 bodyParameters, IDictionary`2 urlParameters) in C:\agent\_work\1\s\A1Solution\src-framework\AG.A1.Framework\Rest\RESTClient.cs:line 274
   at AG.Integrations.RESTClients.SalesforceREST.SalesforceApiClientController.CreateLead(IDictionary`2 param, SalesforceToken token) in C:\agent\_work\1\s\A1Solution\src-integrations\AG.Integrations.RESTClients\SalesforceREST\SalesforceApiClientController.cs:line 298
   at AG.A1.Scheduler.Project.Application.Helpers.SalesforceHelper.CreateLead(Lead lead, Boolean bypassTokenValidation) in C:\agent\_work\1\s\A1Solution\src-schedulers\AG.A1.Scheduler.Project.Application\Helpers\SalesforceHelper.cs:line 128
   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 50
   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)

+263ms Processing

Server:
dw0sdwk000fbp:4304
Worker:
b39c806b
+481msSubmission (Offline) to Salesforce - Started at 12/4/2025 10:39:41 AM
+715msSubmitting (Offline) for RavingFan Record Id: 44684
+1.868sCannot 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 32.767s Enqueued

Triggered by DelayedJobScheduler

Queue:
default

+3ms Scheduled

Retry attempt 3 of 10: Request failed with status code BadRequest

Enqueue at:
12/4/2025 10:35:03 AM

+913ms Failed

An exception occurred during performance of the job.

System.Net.Http.HttpRequestException

Request failed with status code BadRequest

System.Net.Http.HttpRequestException: Request failed with status code BadRequest
   at AG.A1.Framework.Rest.RESTClient.HandleResponse[T](RestResponse restResponse) in C:\Users\MInnamuri\Documents\Projects\Aone\A1Solution\src-framework\AG.A1.Framework\Rest\RESTClient.cs:line 392
   at AG.A1.Framework.Rest.RESTClient.ExecutePOSTAsync[T](IRESTEndpoint apiEndpoint, IDictionary`2 headers, IDictionary`2 bodyParameters, IDictionary`2 urlParameters, Nullable`1 requestDataFormat, Nullable`1 responseDataFormat) in C:\Users\MInnamuri\Documents\Projects\Aone\A1Solution\src-framework\AG.A1.Framework\Rest\RESTClient.cs:line 281
   at AG.Integrations.RESTClients.SalesforceREST.SalesforceApiClientController.GetToken() in C:\Users\MInnamuri\Documents\Projects\Aone\A1Solution\src-integrations\AG.Integrations.RESTClients\SalesforceREST\SalesforceApiClientController.cs:line 41
   at AG.A1.Scheduler.Project.Application.Helpers.SalesforceHelper.CreateLead(Lead lead, Boolean bypassTokenValidation) in C:\Users\MInnamuri\Documents\Projects\Aone\A1Solution\src-schedulers\AG.A1.Scheduler.Project.Application\Helpers\SalesforceHelper.cs:line 72
   at AG.A1.Scheduler.Project.Application.Features.LeadToSF.Commands.OfflineCommitLeadToSFCommandHandler.Run(PerformContext performContext, IJobCancellationToken cancellationToken) in C:\Users\MInnamuri\Documents\Projects\Aone\A1Solution\src-schedulers\AG.A1.Scheduler.Project.Application\Features\LeadToSF\Commands\OfflineCommitLeadToSFCommandHandler.cs:line 50
   at System.Runtime.CompilerServices.TaskAwaiter.GetResult()

+24ms Processing

Server:
wvdappdevv2-16:28524
Worker:
213b2cfd
+38msSubmission to Salesforce - Started at 12/4/2025 4:03:07 PM
+163msSubmitting for RavingFan Record Id: 44684
+855msRequest failed with status code BadRequest

+43.590s Enqueued

Triggered by DelayedJobScheduler

Queue:
default

+6ms Scheduled

Retry attempt 2 of 10: Request failed with status code BadRequest

Enqueue at:
12/4/2025 10:32:59 AM

+16.490s Failed

An exception occurred during performance of the job.

System.Net.Http.HttpRequestException

Request failed with status code BadRequest

System.Net.Http.HttpRequestException: Request failed with status code BadRequest
   at AG.A1.Framework.Rest.RESTClient.HandleResponse[T](RestResponse restResponse) in C:\Users\MInnamuri\Documents\Projects\Aone\A1Solution\src-framework\AG.A1.Framework\Rest\RESTClient.cs:line 392
   at AG.A1.Framework.Rest.RESTClient.ExecutePOSTAsync[T](IRESTEndpoint apiEndpoint, IDictionary`2 headers, IDictionary`2 bodyParameters, IDictionary`2 urlParameters, Nullable`1 requestDataFormat, Nullable`1 responseDataFormat) in C:\Users\MInnamuri\Documents\Projects\Aone\A1Solution\src-framework\AG.A1.Framework\Rest\RESTClient.cs:line 281
   at AG.Integrations.RESTClients.SalesforceREST.SalesforceApiClientController.GetToken() in C:\Users\MInnamuri\Documents\Projects\Aone\A1Solution\src-integrations\AG.Integrations.RESTClients\SalesforceREST\SalesforceApiClientController.cs:line 41
   at AG.A1.Scheduler.Project.Application.Helpers.SalesforceHelper.CreateLead(Lead lead, Boolean bypassTokenValidation) in C:\Users\MInnamuri\Documents\Projects\Aone\A1Solution\src-schedulers\AG.A1.Scheduler.Project.Application\Helpers\SalesforceHelper.cs:line 72
   at AG.A1.Scheduler.Project.Application.Features.LeadToSF.Commands.OfflineCommitLeadToSFCommandHandler.Run(PerformContext performContext, IJobCancellationToken cancellationToken) in C:\Users\MInnamuri\Documents\Projects\Aone\A1Solution\src-schedulers\AG.A1.Scheduler.Project.Application\Features\LeadToSF\Commands\OfflineCommitLeadToSFCommandHandler.cs:line 50
   at System.Runtime.CompilerServices.TaskAwaiter.GetResult()

+340ms Processing

Server:
wvdappdevv2-16:28524
Worker:
9665c423
+172msSubmission to Salesforce - Started at 12/4/2025 4:02:07 PM
+12.384sSubmitting for RavingFan Record Id: 44684
+16.260sRequest failed with status code BadRequest

+1m 55.967s Enqueued

Triggered by DelayedJobScheduler

Queue:
default

+3ms Scheduled

Retry attempt 1 of 10: Request failed with status code BadRequest

Enqueue at:
12/4/2025 10:30:34 AM

+5.160s Failed

An exception occurred during performance of the job.

System.Net.Http.HttpRequestException

Request failed with status code BadRequest

System.Net.Http.HttpRequestException: Request failed with status code BadRequest
   at AG.A1.Framework.Rest.RESTClient.HandleResponse[T](RestResponse restResponse) in C:\Users\MInnamuri\Documents\Projects\Aone\A1Solution\src-framework\AG.A1.Framework\Rest\RESTClient.cs:line 392
   at AG.A1.Framework.Rest.RESTClient.ExecutePOSTAsync[T](IRESTEndpoint apiEndpoint, IDictionary`2 headers, IDictionary`2 bodyParameters, IDictionary`2 urlParameters, Nullable`1 requestDataFormat, Nullable`1 responseDataFormat) in C:\Users\MInnamuri\Documents\Projects\Aone\A1Solution\src-framework\AG.A1.Framework\Rest\RESTClient.cs:line 281
   at AG.Integrations.RESTClients.SalesforceREST.SalesforceApiClientController.GetToken() in C:\Users\MInnamuri\Documents\Projects\Aone\A1Solution\src-integrations\AG.Integrations.RESTClients\SalesforceREST\SalesforceApiClientController.cs:line 41
   at AG.A1.Scheduler.Project.Application.Helpers.SalesforceHelper.CreateLead(Lead lead, Boolean bypassTokenValidation) in C:\Users\MInnamuri\Documents\Projects\Aone\A1Solution\src-schedulers\AG.A1.Scheduler.Project.Application\Helpers\SalesforceHelper.cs:line 72
   at AG.A1.Scheduler.Project.Application.Features.LeadToSF.Commands.OfflineCommitLeadToSFCommandHandler.Run(PerformContext performContext, IJobCancellationToken cancellationToken) in C:\Users\MInnamuri\Documents\Projects\Aone\A1Solution\src-schedulers\AG.A1.Scheduler.Project.Application\Features\LeadToSF\Commands\OfflineCommitLeadToSFCommandHandler.cs:line 50
   at System.Runtime.CompilerServices.TaskAwaiter.GetResult()

+97ms Processing

Server:
wvdappdevv2-16:22376
Worker:
a19f4d17
+119msSubmission to Salesforce - Started at 12/4/2025 4:00:05 PM
+1.728sSubmitting for RavingFan Record Id: 44684
+4.900sRequest failed with status code BadRequest

+13ms Enqueued

Triggered by recurring job scheduler

12/4/2025 10:30:05 AM Created