Failed jobs do not become expired to allow you to re-queue them without any
time pressure. You should re-queue or delete them manually, or apply AutomaticRetry(OnAttemptsExceeded = AttemptsExceededAction.Delete)
attribute to delete them automatically.
An exception occurred during performance of the job. Fewer details...
12/3/2025 5:05:43 AM
Newtonsoft.Json.JsonSerializationException
Error converting value {null} to type 'System.Int32'. Path 'GroupFeeUserId', line 1, position 1695.
Newtonsoft.Json.JsonSerializationException: Error converting value {null} to type 'System.Int32'. Path 'GroupFeeUserId', line 1, position 1695.
---> System.InvalidCastException: Null object cannot be converted to a value type.
at System.Convert.ChangeType(Objectvalue, TypeconversionType, IFormatProviderprovider)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.EnsureType(JsonReaderreader, Objectvalue, CultureInfoculture, JsonContractcontract, TypetargetType)
--- End of inner exception stack trace ---
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.EnsureType(JsonReaderreader, Objectvalue, CultureInfoculture, JsonContractcontract, TypetargetType)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.CreateValueInternal(JsonReaderreader, TypeobjectType, JsonContractcontract, JsonPropertymember, JsonContainerContractcontainerContract, JsonPropertycontainerMember, ObjectexistingValue)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.SetPropertyValue(JsonPropertyproperty, JsonConverterpropertyConverter, JsonContainerContractcontainerContract, JsonPropertycontainerProperty, JsonReaderreader, Objecttarget)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.PopulateObject(ObjectnewObject, JsonReaderreader, JsonObjectContractcontract, JsonPropertymember, Stringid)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.CreateObject(JsonReaderreader, TypeobjectType, JsonContractcontract, JsonPropertymember, JsonContainerContractcontainerContract, JsonPropertycontainerMember, ObjectexistingValue)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.CreateValueInternal(JsonReaderreader, TypeobjectType, JsonContractcontract, JsonPropertymember, JsonContainerContractcontainerContract, JsonPropertycontainerMember, ObjectexistingValue)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.Deserialize(JsonReaderreader, TypeobjectType, BooleancheckAdditionalContent)
at Newtonsoft.Json.JsonSerializer.DeserializeInternal(JsonReaderreader, TypeobjectType)
at Newtonsoft.Json.Linq.JToken.ToObject(TypeobjectType, JsonSerializerjsonSerializer)
at Newtonsoft.Json.Linq.JToken.ToObject(TypeobjectType)
at Newtonsoft.Json.Linq.JToken.ToObject[T]()
at System.Linq.Enumerable.SelectListIterator`2.ToList()
at AG.A1.Scheduler.Billing.Application.Features.CommitTimeTo3E.Commands.OfflineTimeCommitTo3ECommandHandler.UpdateOfflineSubmitEntries() in C:\agent\_work\1\s\A1Solution\src-schedulers\AG.A1.Scheduler.Billing.Application\Features\CommitTimeTo3E\Commands\OfflineTimeCommitTo3ECommandHandler.cs:line 438
at AG.A1.Scheduler.Billing.Application.Features.CommitTimeTo3E.Commands.OfflineTimeCommitTo3ECommandHandler.Run(PerformContextperformContext, IJobCancellationTokencancellationToken) in C:\agent\_work\1\s\A1Solution\src-schedulers\AG.A1.Scheduler.Billing.Application\Features\CommitTimeTo3E\Commands\OfflineTimeCommitTo3ECommandHandler.cs:line 71
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Tasktask)
An exception occurred during performance of the job. More details...
12/3/2025 4:26:54 AM
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](RestResponserestResponse) 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](IRESTEndpointapiEndpoint, IDictionary`2headers, IDictionary`2bodyParameters, IDictionary`2urlParameters) 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`2param, SalesforceTokentoken) in C:\agent\_work\1\s\A1Solution\src-integrations\AG.Integrations.RESTClients\SalesforceREST\SalesforceApiClientController.cs:line 295
at AG.A1.Scheduler.Project.Application.Helpers.SalesforceHelper.CreateLead(Leadlead, BooleanbypassTokenValidation) 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(PerformContextperformContext, IJobCancellationTokencancellationToken) 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(Tasktask)
An exception occurred during performance of the job. More details...
12/3/2025 4:37:45 AM
Newtonsoft.Json.JsonSerializationException
Error converting value {null} to type 'System.Int32'. Path 'GroupFeeUserId', line 1, position 2121.
Newtonsoft.Json.JsonSerializationException: Error converting value {null} to type 'System.Int32'. Path 'GroupFeeUserId', line 1, position 2121.
---> System.InvalidCastException: Null object cannot be converted to a value type.
at System.Convert.ChangeType(Objectvalue, TypeconversionType, IFormatProviderprovider)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.EnsureType(JsonReaderreader, Objectvalue, CultureInfoculture, JsonContractcontract, TypetargetType)
--- End of inner exception stack trace ---
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.EnsureType(JsonReaderreader, Objectvalue, CultureInfoculture, JsonContractcontract, TypetargetType)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.CreateValueInternal(JsonReaderreader, TypeobjectType, JsonContractcontract, JsonPropertymember, JsonContainerContractcontainerContract, JsonPropertycontainerMember, ObjectexistingValue)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.SetPropertyValue(JsonPropertyproperty, JsonConverterpropertyConverter, JsonContainerContractcontainerContract, JsonPropertycontainerProperty, JsonReaderreader, Objecttarget)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.PopulateObject(ObjectnewObject, JsonReaderreader, JsonObjectContractcontract, JsonPropertymember, Stringid)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.CreateObject(JsonReaderreader, TypeobjectType, JsonContractcontract, JsonPropertymember, JsonContainerContractcontainerContract, JsonPropertycontainerMember, ObjectexistingValue)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.CreateValueInternal(JsonReaderreader, TypeobjectType, JsonContractcontract, JsonPropertymember, JsonContainerContractcontainerContract, JsonPropertycontainerMember, ObjectexistingValue)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.Deserialize(JsonReaderreader, TypeobjectType, BooleancheckAdditionalContent)
at Newtonsoft.Json.JsonSerializer.DeserializeInternal(JsonReaderreader, TypeobjectType)
at Newtonsoft.Json.Linq.JToken.ToObject(TypeobjectType, JsonSerializerjsonSerializer)
at Newtonsoft.Json.Linq.JToken.ToObject(TypeobjectType)
at Newtonsoft.Json.Linq.JToken.ToObject[T]()
at System.Linq.Enumerable.SelectListIterator`2.ToList()
at AG.A1.Scheduler.Billing.Application.Features.CommitTimeTo3E.Commands.OfflineTimeCommitTo3ECommandHandler.UpdateOfflineSubmitEntries() in C:\agent\_work\1\s\A1Solution\src-schedulers\AG.A1.Scheduler.Billing.Application\Features\CommitTimeTo3E\Commands\OfflineTimeCommitTo3ECommandHandler.cs:line 438
at AG.A1.Scheduler.Billing.Application.Features.CommitTimeTo3E.Commands.OfflineTimeCommitTo3ECommandHandler.Run(PerformContextperformContext, IJobCancellationTokencancellationToken) in C:\agent\_work\1\s\A1Solution\src-schedulers\AG.A1.Scheduler.Billing.Application\Features\CommitTimeTo3E\Commands\OfflineTimeCommitTo3ECommandHandler.cs:line 71
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Tasktask)
An exception occurred during performance of the job. More details...
12/3/2025 4:08:06 AM
Newtonsoft.Json.JsonSerializationException
Error converting value {null} to type 'System.Int32'. Path 'GroupFeeUserId', line 1, position 1816.
Newtonsoft.Json.JsonSerializationException: Error converting value {null} to type 'System.Int32'. Path 'GroupFeeUserId', line 1, position 1816.
---> System.InvalidCastException: Null object cannot be converted to a value type.
at System.Convert.ChangeType(Objectvalue, TypeconversionType, IFormatProviderprovider)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.EnsureType(JsonReaderreader, Objectvalue, CultureInfoculture, JsonContractcontract, TypetargetType)
--- End of inner exception stack trace ---
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.EnsureType(JsonReaderreader, Objectvalue, CultureInfoculture, JsonContractcontract, TypetargetType)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.CreateValueInternal(JsonReaderreader, TypeobjectType, JsonContractcontract, JsonPropertymember, JsonContainerContractcontainerContract, JsonPropertycontainerMember, ObjectexistingValue)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.SetPropertyValue(JsonPropertyproperty, JsonConverterpropertyConverter, JsonContainerContractcontainerContract, JsonPropertycontainerProperty, JsonReaderreader, Objecttarget)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.PopulateObject(ObjectnewObject, JsonReaderreader, JsonObjectContractcontract, JsonPropertymember, Stringid)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.CreateObject(JsonReaderreader, TypeobjectType, JsonContractcontract, JsonPropertymember, JsonContainerContractcontainerContract, JsonPropertycontainerMember, ObjectexistingValue)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.CreateValueInternal(JsonReaderreader, TypeobjectType, JsonContractcontract, JsonPropertymember, JsonContainerContractcontainerContract, JsonPropertycontainerMember, ObjectexistingValue)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.Deserialize(JsonReaderreader, TypeobjectType, BooleancheckAdditionalContent)
at Newtonsoft.Json.JsonSerializer.DeserializeInternal(JsonReaderreader, TypeobjectType)
at Newtonsoft.Json.Linq.JToken.ToObject(TypeobjectType, JsonSerializerjsonSerializer)
at Newtonsoft.Json.Linq.JToken.ToObject(TypeobjectType)
at Newtonsoft.Json.Linq.JToken.ToObject[T]()
at System.Linq.Enumerable.SelectListIterator`2.ToList()
at AG.A1.Scheduler.Billing.Application.Features.CommitTimeTo3E.Commands.OfflineTimeCommitTo3ECommandHandler.UpdateOfflineSubmitEntries() in C:\agent\_work\1\s\A1Solution\src-schedulers\AG.A1.Scheduler.Billing.Application\Features\CommitTimeTo3E\Commands\OfflineTimeCommitTo3ECommandHandler.cs:line 438
at AG.A1.Scheduler.Billing.Application.Features.CommitTimeTo3E.Commands.OfflineTimeCommitTo3ECommandHandler.Run(PerformContextperformContext, IJobCancellationTokencancellationToken) in C:\agent\_work\1\s\A1Solution\src-schedulers\AG.A1.Scheduler.Billing.Application\Features\CommitTimeTo3E\Commands\OfflineTimeCommitTo3ECommandHandler.cs:line 71
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Tasktask)
An exception occurred during performance of the job. More details...
12/3/2025 3:31:59 AM
Newtonsoft.Json.JsonSerializationException
Error converting value {null} to type 'System.Int32'. Path 'GroupFeeUserId', line 1, position 1695.
Newtonsoft.Json.JsonSerializationException: Error converting value {null} to type 'System.Int32'. Path 'GroupFeeUserId', line 1, position 1695.
---> System.InvalidCastException: Null object cannot be converted to a value type.
at System.Convert.ChangeType(Objectvalue, TypeconversionType, IFormatProviderprovider)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.EnsureType(JsonReaderreader, Objectvalue, CultureInfoculture, JsonContractcontract, TypetargetType)
--- End of inner exception stack trace ---
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.EnsureType(JsonReaderreader, Objectvalue, CultureInfoculture, JsonContractcontract, TypetargetType)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.CreateValueInternal(JsonReaderreader, TypeobjectType, JsonContractcontract, JsonPropertymember, JsonContainerContractcontainerContract, JsonPropertycontainerMember, ObjectexistingValue)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.SetPropertyValue(JsonPropertyproperty, JsonConverterpropertyConverter, JsonContainerContractcontainerContract, JsonPropertycontainerProperty, JsonReaderreader, Objecttarget)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.PopulateObject(ObjectnewObject, JsonReaderreader, JsonObjectContractcontract, JsonPropertymember, Stringid)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.CreateObject(JsonReaderreader, TypeobjectType, JsonContractcontract, JsonPropertymember, JsonContainerContractcontainerContract, JsonPropertycontainerMember, ObjectexistingValue)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.CreateValueInternal(JsonReaderreader, TypeobjectType, JsonContractcontract, JsonPropertymember, JsonContainerContractcontainerContract, JsonPropertycontainerMember, ObjectexistingValue)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.Deserialize(JsonReaderreader, TypeobjectType, BooleancheckAdditionalContent)
at Newtonsoft.Json.JsonSerializer.DeserializeInternal(JsonReaderreader, TypeobjectType)
at Newtonsoft.Json.Linq.JToken.ToObject(TypeobjectType, JsonSerializerjsonSerializer)
at Newtonsoft.Json.Linq.JToken.ToObject(TypeobjectType)
at Newtonsoft.Json.Linq.JToken.ToObject[T]()
at System.Linq.Enumerable.SelectListIterator`2.ToList()
at AG.A1.Scheduler.Billing.Application.Features.CommitTimeTo3E.Commands.OfflineTimeCommitTo3ECommandHandler.UpdateOfflineSubmitEntries() in C:\agent\_work\1\s\A1Solution\src-schedulers\AG.A1.Scheduler.Billing.Application\Features\CommitTimeTo3E\Commands\OfflineTimeCommitTo3ECommandHandler.cs:line 438
at AG.A1.Scheduler.Billing.Application.Features.CommitTimeTo3E.Commands.OfflineTimeCommitTo3ECommandHandler.Run(PerformContextperformContext, IJobCancellationTokencancellationToken) in C:\agent\_work\1\s\A1Solution\src-schedulers\AG.A1.Scheduler.Billing.Application\Features\CommitTimeTo3E\Commands\OfflineTimeCommitTo3ECommandHandler.cs:line 71
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Tasktask)
An exception occurred during performance of the job. More details...
12/3/2025 3:07:34 AM
Newtonsoft.Json.JsonSerializationException
Error converting value {null} to type 'System.Int32'. Path 'GroupFeeUserId', line 1, position 1954.
Newtonsoft.Json.JsonSerializationException: Error converting value {null} to type 'System.Int32'. Path 'GroupFeeUserId', line 1, position 1954.
---> System.InvalidCastException: Null object cannot be converted to a value type.
at System.Convert.ChangeType(Objectvalue, TypeconversionType, IFormatProviderprovider)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.EnsureType(JsonReaderreader, Objectvalue, CultureInfoculture, JsonContractcontract, TypetargetType)
--- End of inner exception stack trace ---
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.EnsureType(JsonReaderreader, Objectvalue, CultureInfoculture, JsonContractcontract, TypetargetType)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.CreateValueInternal(JsonReaderreader, TypeobjectType, JsonContractcontract, JsonPropertymember, JsonContainerContractcontainerContract, JsonPropertycontainerMember, ObjectexistingValue)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.SetPropertyValue(JsonPropertyproperty, JsonConverterpropertyConverter, JsonContainerContractcontainerContract, JsonPropertycontainerProperty, JsonReaderreader, Objecttarget)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.PopulateObject(ObjectnewObject, JsonReaderreader, JsonObjectContractcontract, JsonPropertymember, Stringid)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.CreateObject(JsonReaderreader, TypeobjectType, JsonContractcontract, JsonPropertymember, JsonContainerContractcontainerContract, JsonPropertycontainerMember, ObjectexistingValue)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.CreateValueInternal(JsonReaderreader, TypeobjectType, JsonContractcontract, JsonPropertymember, JsonContainerContractcontainerContract, JsonPropertycontainerMember, ObjectexistingValue)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.Deserialize(JsonReaderreader, TypeobjectType, BooleancheckAdditionalContent)
at Newtonsoft.Json.JsonSerializer.DeserializeInternal(JsonReaderreader, TypeobjectType)
at Newtonsoft.Json.Linq.JToken.ToObject(TypeobjectType, JsonSerializerjsonSerializer)
at Newtonsoft.Json.Linq.JToken.ToObject(TypeobjectType)
at Newtonsoft.Json.Linq.JToken.ToObject[T]()
at System.Linq.Enumerable.SelectListIterator`2.ToList()
at AG.A1.Scheduler.Billing.Application.Features.CommitTimeTo3E.Commands.OfflineTimeCommitTo3ECommandHandler.UpdateOfflineSubmitEntries() in C:\agent\_work\1\s\A1Solution\src-schedulers\AG.A1.Scheduler.Billing.Application\Features\CommitTimeTo3E\Commands\OfflineTimeCommitTo3ECommandHandler.cs:line 438
at AG.A1.Scheduler.Billing.Application.Features.CommitTimeTo3E.Commands.OfflineTimeCommitTo3ECommandHandler.Run(PerformContextperformContext, IJobCancellationTokencancellationToken) in C:\agent\_work\1\s\A1Solution\src-schedulers\AG.A1.Scheduler.Billing.Application\Features\CommitTimeTo3E\Commands\OfflineTimeCommitTo3ECommandHandler.cs:line 71
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Tasktask)
An exception occurred during processing of a background job. More details...
12/3/2025 2:38:08 AM
System.InvalidOperationException
A suitable constructor for type 'AG.A1.Scheduler.Billing.Contracts.IOfflineTimeCommitTo3ECommandHandler' could not be located. Ensure the type is concrete and all parameters of a public constructor are either registered as services or passed as arguments. Also ensure no extraneous arguments are provided.
System.InvalidOperationException: A suitable constructor for type 'AG.A1.Scheduler.Billing.Contracts.IOfflineTimeCommitTo3ECommandHandler' could not be located. Ensure the type is concrete and all parameters of a public constructor are either registered as services or passed as arguments. Also ensure no extraneous arguments are provided.
at Microsoft.Extensions.DependencyInjection.ActivatorUtilities.CreateInstance(IServiceProviderprovider, TypeinstanceType, Object[]parameters)
at Hangfire.Server.CoreBackgroundJobPerformer.Perform(PerformContextcontext)
at Hangfire.Server.BackgroundJobPerformer.<>c__DisplayClass9_0.<PerformJobWithFilters>b__0()
at Hangfire.Server.BackgroundJobPerformer.InvokePerformFilter(IServerFilterfilter, PerformingContextpreContext, Func`1continuation)
at Hangfire.Server.BackgroundJobPerformer.InvokePerformFilter(IServerFilterfilter, PerformingContextpreContext, Func`1continuation)
at Hangfire.Server.BackgroundJobPerformer.PerformJobWithFilters(PerformContextcontext, IEnumerable`1filters)
at Hangfire.Server.BackgroundJobPerformer.Perform(PerformContextcontext)
at Hangfire.Server.Worker.PerformJob(BackgroundProcessContextcontext, IStorageConnectionconnection, StringjobId)
An exception occurred during performance of the job. More details...
12/3/2025 2:08:01 AM
Newtonsoft.Json.JsonSerializationException
Error converting value {null} to type 'System.Int32'. Path 'GroupFeeUserId', line 1, position 1616.
Newtonsoft.Json.JsonSerializationException: Error converting value {null} to type 'System.Int32'. Path 'GroupFeeUserId', line 1, position 1616.
---> System.InvalidCastException: Null object cannot be converted to a value type.
at System.Convert.ChangeType(Objectvalue, TypeconversionType, IFormatProviderprovider)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.EnsureType(JsonReaderreader, Objectvalue, CultureInfoculture, JsonContractcontract, TypetargetType)
--- End of inner exception stack trace ---
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.EnsureType(JsonReaderreader, Objectvalue, CultureInfoculture, JsonContractcontract, TypetargetType)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.CreateValueInternal(JsonReaderreader, TypeobjectType, JsonContractcontract, JsonPropertymember, JsonContainerContractcontainerContract, JsonPropertycontainerMember, ObjectexistingValue)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.SetPropertyValue(JsonPropertyproperty, JsonConverterpropertyConverter, JsonContainerContractcontainerContract, JsonPropertycontainerProperty, JsonReaderreader, Objecttarget)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.PopulateObject(ObjectnewObject, JsonReaderreader, JsonObjectContractcontract, JsonPropertymember, Stringid)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.CreateObject(JsonReaderreader, TypeobjectType, JsonContractcontract, JsonPropertymember, JsonContainerContractcontainerContract, JsonPropertycontainerMember, ObjectexistingValue)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.CreateValueInternal(JsonReaderreader, TypeobjectType, JsonContractcontract, JsonPropertymember, JsonContainerContractcontainerContract, JsonPropertycontainerMember, ObjectexistingValue)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.Deserialize(JsonReaderreader, TypeobjectType, BooleancheckAdditionalContent)
at Newtonsoft.Json.JsonSerializer.DeserializeInternal(JsonReaderreader, TypeobjectType)
at Newtonsoft.Json.Linq.JToken.ToObject(TypeobjectType, JsonSerializerjsonSerializer)
at Newtonsoft.Json.Linq.JToken.ToObject(TypeobjectType)
at Newtonsoft.Json.Linq.JToken.ToObject[T]()
at System.Linq.Enumerable.SelectListIterator`2.ToList()
at AG.A1.Scheduler.Billing.Application.Features.CommitTimeTo3E.Commands.OfflineTimeCommitTo3ECommandHandler.UpdateOfflineSubmitEntries() in C:\agent\_work\1\s\A1Solution\src-schedulers\AG.A1.Scheduler.Billing.Application\Features\CommitTimeTo3E\Commands\OfflineTimeCommitTo3ECommandHandler.cs:line 438
at AG.A1.Scheduler.Billing.Application.Features.CommitTimeTo3E.Commands.OfflineTimeCommitTo3ECommandHandler.Run(PerformContextperformContext, IJobCancellationTokencancellationToken) in C:\agent\_work\1\s\A1Solution\src-schedulers\AG.A1.Scheduler.Billing.Application\Features\CommitTimeTo3E\Commands\OfflineTimeCommitTo3ECommandHandler.cs:line 71
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Tasktask)
An exception occurred during performance of the job. More details...
12/3/2025 1:34:51 AM
Newtonsoft.Json.JsonSerializationException
Error converting value {null} to type 'System.Int32'. Path 'GroupFeeUserId', line 1, position 1914.
Newtonsoft.Json.JsonSerializationException: Error converting value {null} to type 'System.Int32'. Path 'GroupFeeUserId', line 1, position 1914.
---> System.InvalidCastException: Null object cannot be converted to a value type.
at System.Convert.ChangeType(Objectvalue, TypeconversionType, IFormatProviderprovider)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.EnsureType(JsonReaderreader, Objectvalue, CultureInfoculture, JsonContractcontract, TypetargetType)
--- End of inner exception stack trace ---
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.EnsureType(JsonReaderreader, Objectvalue, CultureInfoculture, JsonContractcontract, TypetargetType)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.CreateValueInternal(JsonReaderreader, TypeobjectType, JsonContractcontract, JsonPropertymember, JsonContainerContractcontainerContract, JsonPropertycontainerMember, ObjectexistingValue)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.SetPropertyValue(JsonPropertyproperty, JsonConverterpropertyConverter, JsonContainerContractcontainerContract, JsonPropertycontainerProperty, JsonReaderreader, Objecttarget)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.PopulateObject(ObjectnewObject, JsonReaderreader, JsonObjectContractcontract, JsonPropertymember, Stringid)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.CreateObject(JsonReaderreader, TypeobjectType, JsonContractcontract, JsonPropertymember, JsonContainerContractcontainerContract, JsonPropertycontainerMember, ObjectexistingValue)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.CreateValueInternal(JsonReaderreader, TypeobjectType, JsonContractcontract, JsonPropertymember, JsonContainerContractcontainerContract, JsonPropertycontainerMember, ObjectexistingValue)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.Deserialize(JsonReaderreader, TypeobjectType, BooleancheckAdditionalContent)
at Newtonsoft.Json.JsonSerializer.DeserializeInternal(JsonReaderreader, TypeobjectType)
at Newtonsoft.Json.Linq.JToken.ToObject(TypeobjectType, JsonSerializerjsonSerializer)
at Newtonsoft.Json.Linq.JToken.ToObject(TypeobjectType)
at Newtonsoft.Json.Linq.JToken.ToObject[T]()
at System.Linq.Enumerable.SelectListIterator`2.ToList()
at AG.A1.Scheduler.Billing.Application.Features.CommitTimeTo3E.Commands.OfflineTimeCommitTo3ECommandHandler.UpdateOfflineSubmitEntries() in C:\agent\_work\1\s\A1Solution\src-schedulers\AG.A1.Scheduler.Billing.Application\Features\CommitTimeTo3E\Commands\OfflineTimeCommitTo3ECommandHandler.cs:line 438
at AG.A1.Scheduler.Billing.Application.Features.CommitTimeTo3E.Commands.OfflineTimeCommitTo3ECommandHandler.Run(PerformContextperformContext, IJobCancellationTokencancellationToken) in C:\agent\_work\1\s\A1Solution\src-schedulers\AG.A1.Scheduler.Billing.Application\Features\CommitTimeTo3E\Commands\OfflineTimeCommitTo3ECommandHandler.cs:line 71
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Tasktask)
An exception occurred during performance of the job. More details...
12/3/2025 1:15:38 AM
Newtonsoft.Json.JsonSerializationException
Error converting value {null} to type 'System.Int32'. Path 'GroupFeeUserId', line 1, position 1934.
Newtonsoft.Json.JsonSerializationException: Error converting value {null} to type 'System.Int32'. Path 'GroupFeeUserId', line 1, position 1934.
---> System.InvalidCastException: Null object cannot be converted to a value type.
at System.Convert.ChangeType(Objectvalue, TypeconversionType, IFormatProviderprovider)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.EnsureType(JsonReaderreader, Objectvalue, CultureInfoculture, JsonContractcontract, TypetargetType)
--- End of inner exception stack trace ---
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.EnsureType(JsonReaderreader, Objectvalue, CultureInfoculture, JsonContractcontract, TypetargetType)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.CreateValueInternal(JsonReaderreader, TypeobjectType, JsonContractcontract, JsonPropertymember, JsonContainerContractcontainerContract, JsonPropertycontainerMember, ObjectexistingValue)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.SetPropertyValue(JsonPropertyproperty, JsonConverterpropertyConverter, JsonContainerContractcontainerContract, JsonPropertycontainerProperty, JsonReaderreader, Objecttarget)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.PopulateObject(ObjectnewObject, JsonReaderreader, JsonObjectContractcontract, JsonPropertymember, Stringid)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.CreateObject(JsonReaderreader, TypeobjectType, JsonContractcontract, JsonPropertymember, JsonContainerContractcontainerContract, JsonPropertycontainerMember, ObjectexistingValue)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.CreateValueInternal(JsonReaderreader, TypeobjectType, JsonContractcontract, JsonPropertymember, JsonContainerContractcontainerContract, JsonPropertycontainerMember, ObjectexistingValue)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.Deserialize(JsonReaderreader, TypeobjectType, BooleancheckAdditionalContent)
at Newtonsoft.Json.JsonSerializer.DeserializeInternal(JsonReaderreader, TypeobjectType)
at Newtonsoft.Json.Linq.JToken.ToObject(TypeobjectType, JsonSerializerjsonSerializer)
at Newtonsoft.Json.Linq.JToken.ToObject(TypeobjectType)
at Newtonsoft.Json.Linq.JToken.ToObject[T]()
at System.Linq.Enumerable.SelectListIterator`2.ToList()
at AG.A1.Scheduler.Billing.Application.Features.CommitTimeTo3E.Commands.OfflineTimeCommitTo3ECommandHandler.UpdateOfflineSubmitEntries() in C:\agent\_work\1\s\A1Solution\src-schedulers\AG.A1.Scheduler.Billing.Application\Features\CommitTimeTo3E\Commands\OfflineTimeCommitTo3ECommandHandler.cs:line 438
at AG.A1.Scheduler.Billing.Application.Features.CommitTimeTo3E.Commands.OfflineTimeCommitTo3ECommandHandler.Run(PerformContextperformContext, IJobCancellationTokencancellationToken) in C:\agent\_work\1\s\A1Solution\src-schedulers\AG.A1.Scheduler.Billing.Application\Features\CommitTimeTo3E\Commands\OfflineTimeCommitTo3ECommandHandler.cs:line 71
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Tasktask)
An exception occurred during performance of the job. More details...
12/3/2025 12:29:55 AM
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](RestResponserestResponse) 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](IRESTEndpointapiEndpoint, IDictionary`2headers, IDictionary`2bodyParameters, IDictionary`2urlParameters) in C:\agent\_work\1\s\A1Solution\src-framework\AG.A1.Framework\Rest\RESTClient.cs:line 273
at AG.Integrations.RESTClients.SalesforceREST.SalesforceApiClientController.CreateLead(IDictionary`2param, SalesforceTokentoken) in C:\agent\_work\1\s\A1Solution\src-integrations\AG.Integrations.RESTClients\SalesforceREST\SalesforceApiClientController.cs:line 295
at AG.A1.Scheduler.Project.Application.Helpers.SalesforceHelper.CreateLead(Leadlead, BooleanbypassTokenValidation) in C:\agent\_work\1\s\A1Solution\src-schedulers\AG.A1.Scheduler.Project.Application\Helpers\SalesforceHelper.cs:line 125
at AG.A1.Scheduler.Project.Application.Features.LeadToSF.Commands.OfflineCommitLeadToSFCommandHandler.Run(PerformContextperformContext, IJobCancellationTokencancellationToken) 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(Tasktask)
An exception occurred during performance of the job. More details...
12/3/2025 12:37:00 AM
Newtonsoft.Json.JsonSerializationException
Error converting value {null} to type 'System.Int32'. Path 'GroupFeeUserId', line 1, position 1795.
Newtonsoft.Json.JsonSerializationException: Error converting value {null} to type 'System.Int32'. Path 'GroupFeeUserId', line 1, position 1795.
---> System.InvalidCastException: Null object cannot be converted to a value type.
at System.Convert.ChangeType(Objectvalue, TypeconversionType, IFormatProviderprovider)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.EnsureType(JsonReaderreader, Objectvalue, CultureInfoculture, JsonContractcontract, TypetargetType)
--- End of inner exception stack trace ---
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.EnsureType(JsonReaderreader, Objectvalue, CultureInfoculture, JsonContractcontract, TypetargetType)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.CreateValueInternal(JsonReaderreader, TypeobjectType, JsonContractcontract, JsonPropertymember, JsonContainerContractcontainerContract, JsonPropertycontainerMember, ObjectexistingValue)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.SetPropertyValue(JsonPropertyproperty, JsonConverterpropertyConverter, JsonContainerContractcontainerContract, JsonPropertycontainerProperty, JsonReaderreader, Objecttarget)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.PopulateObject(ObjectnewObject, JsonReaderreader, JsonObjectContractcontract, JsonPropertymember, Stringid)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.CreateObject(JsonReaderreader, TypeobjectType, JsonContractcontract, JsonPropertymember, JsonContainerContractcontainerContract, JsonPropertycontainerMember, ObjectexistingValue)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.CreateValueInternal(JsonReaderreader, TypeobjectType, JsonContractcontract, JsonPropertymember, JsonContainerContractcontainerContract, JsonPropertycontainerMember, ObjectexistingValue)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.Deserialize(JsonReaderreader, TypeobjectType, BooleancheckAdditionalContent)
at Newtonsoft.Json.JsonSerializer.DeserializeInternal(JsonReaderreader, TypeobjectType)
at Newtonsoft.Json.Linq.JToken.ToObject(TypeobjectType, JsonSerializerjsonSerializer)
at Newtonsoft.Json.Linq.JToken.ToObject(TypeobjectType)
at Newtonsoft.Json.Linq.JToken.ToObject[T]()
at System.Linq.Enumerable.SelectListIterator`2.ToList()
at AG.A1.Scheduler.Billing.Application.Features.CommitTimeTo3E.Commands.OfflineTimeCommitTo3ECommandHandler.UpdateOfflineSubmitEntries() in C:\agent\_work\1\s\A1Solution\src-schedulers\AG.A1.Scheduler.Billing.Application\Features\CommitTimeTo3E\Commands\OfflineTimeCommitTo3ECommandHandler.cs:line 438
at AG.A1.Scheduler.Billing.Application.Features.CommitTimeTo3E.Commands.OfflineTimeCommitTo3ECommandHandler.Run(PerformContextperformContext, IJobCancellationTokencancellationToken) in C:\agent\_work\1\s\A1Solution\src-schedulers\AG.A1.Scheduler.Billing.Application\Features\CommitTimeTo3E\Commands\OfflineTimeCommitTo3ECommandHandler.cs:line 71
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Tasktask)
An exception occurred during performance of the job. More details...
12/3/2025 12:04:54 AM
Newtonsoft.Json.JsonSerializationException
Error converting value {null} to type 'System.Int32'. Path 'GroupFeeUserId', line 1, position 1992.
Newtonsoft.Json.JsonSerializationException: Error converting value {null} to type 'System.Int32'. Path 'GroupFeeUserId', line 1, position 1992.
---> System.InvalidCastException: Null object cannot be converted to a value type.
at System.Convert.ChangeType(Objectvalue, TypeconversionType, IFormatProviderprovider)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.EnsureType(JsonReaderreader, Objectvalue, CultureInfoculture, JsonContractcontract, TypetargetType)
--- End of inner exception stack trace ---
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.EnsureType(JsonReaderreader, Objectvalue, CultureInfoculture, JsonContractcontract, TypetargetType)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.CreateValueInternal(JsonReaderreader, TypeobjectType, JsonContractcontract, JsonPropertymember, JsonContainerContractcontainerContract, JsonPropertycontainerMember, ObjectexistingValue)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.SetPropertyValue(JsonPropertyproperty, JsonConverterpropertyConverter, JsonContainerContractcontainerContract, JsonPropertycontainerProperty, JsonReaderreader, Objecttarget)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.PopulateObject(ObjectnewObject, JsonReaderreader, JsonObjectContractcontract, JsonPropertymember, Stringid)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.CreateObject(JsonReaderreader, TypeobjectType, JsonContractcontract, JsonPropertymember, JsonContainerContractcontainerContract, JsonPropertycontainerMember, ObjectexistingValue)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.CreateValueInternal(JsonReaderreader, TypeobjectType, JsonContractcontract, JsonPropertymember, JsonContainerContractcontainerContract, JsonPropertycontainerMember, ObjectexistingValue)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.Deserialize(JsonReaderreader, TypeobjectType, BooleancheckAdditionalContent)
at Newtonsoft.Json.JsonSerializer.DeserializeInternal(JsonReaderreader, TypeobjectType)
at Newtonsoft.Json.Linq.JToken.ToObject(TypeobjectType, JsonSerializerjsonSerializer)
at Newtonsoft.Json.Linq.JToken.ToObject(TypeobjectType)
at Newtonsoft.Json.Linq.JToken.ToObject[T]()
at System.Linq.Enumerable.SelectListIterator`2.ToList()
at AG.A1.Scheduler.Billing.Application.Features.CommitTimeTo3E.Commands.OfflineTimeCommitTo3ECommandHandler.UpdateOfflineSubmitEntries() in C:\agent\_work\1\s\A1Solution\src-schedulers\AG.A1.Scheduler.Billing.Application\Features\CommitTimeTo3E\Commands\OfflineTimeCommitTo3ECommandHandler.cs:line 438
at AG.A1.Scheduler.Billing.Application.Features.CommitTimeTo3E.Commands.OfflineTimeCommitTo3ECommandHandler.Run(PerformContextperformContext, IJobCancellationTokencancellationToken) in C:\agent\_work\1\s\A1Solution\src-schedulers\AG.A1.Scheduler.Billing.Application\Features\CommitTimeTo3E\Commands\OfflineTimeCommitTo3ECommandHandler.cs:line 71
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Tasktask)
An exception occurred during processing of a background job. More details...
12/2/2025 11:35:48 PM
System.InvalidOperationException
A suitable constructor for type 'AG.A1.Scheduler.Billing.Contracts.IOfflineTimeCommitTo3ECommandHandler' could not be located. Ensure the type is concrete and all parameters of a public constructor are either registered as services or passed as arguments. Also ensure no extraneous arguments are provided.
System.InvalidOperationException: A suitable constructor for type 'AG.A1.Scheduler.Billing.Contracts.IOfflineTimeCommitTo3ECommandHandler' could not be located. Ensure the type is concrete and all parameters of a public constructor are either registered as services or passed as arguments. Also ensure no extraneous arguments are provided.
at Microsoft.Extensions.DependencyInjection.ActivatorUtilities.CreateInstance(IServiceProviderprovider, TypeinstanceType, Object[]parameters)
at Hangfire.Server.CoreBackgroundJobPerformer.Perform(PerformContextcontext)
at Hangfire.Server.BackgroundJobPerformer.<>c__DisplayClass9_0.<PerformJobWithFilters>b__0()
at Hangfire.Server.BackgroundJobPerformer.InvokePerformFilter(IServerFilterfilter, PerformingContextpreContext, Func`1continuation)
at Hangfire.Server.BackgroundJobPerformer.InvokePerformFilter(IServerFilterfilter, PerformingContextpreContext, Func`1continuation)
at Hangfire.Server.BackgroundJobPerformer.PerformJobWithFilters(PerformContextcontext, IEnumerable`1filters)
at Hangfire.Server.BackgroundJobPerformer.Perform(PerformContextcontext)
at Hangfire.Server.Worker.PerformJob(BackgroundProcessContextcontext, IStorageConnectionconnection, StringjobId)
An exception occurred during performance of the job. More details...
12/2/2025 11:08:22 PM
Newtonsoft.Json.JsonSerializationException
Error converting value {null} to type 'System.Int32'. Path 'GroupFeeUserId', line 1, position 1816.
Newtonsoft.Json.JsonSerializationException: Error converting value {null} to type 'System.Int32'. Path 'GroupFeeUserId', line 1, position 1816.
---> System.InvalidCastException: Null object cannot be converted to a value type.
at System.Convert.ChangeType(Objectvalue, TypeconversionType, IFormatProviderprovider)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.EnsureType(JsonReaderreader, Objectvalue, CultureInfoculture, JsonContractcontract, TypetargetType)
--- End of inner exception stack trace ---
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.EnsureType(JsonReaderreader, Objectvalue, CultureInfoculture, JsonContractcontract, TypetargetType)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.CreateValueInternal(JsonReaderreader, TypeobjectType, JsonContractcontract, JsonPropertymember, JsonContainerContractcontainerContract, JsonPropertycontainerMember, ObjectexistingValue)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.SetPropertyValue(JsonPropertyproperty, JsonConverterpropertyConverter, JsonContainerContractcontainerContract, JsonPropertycontainerProperty, JsonReaderreader, Objecttarget)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.PopulateObject(ObjectnewObject, JsonReaderreader, JsonObjectContractcontract, JsonPropertymember, Stringid)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.CreateObject(JsonReaderreader, TypeobjectType, JsonContractcontract, JsonPropertymember, JsonContainerContractcontainerContract, JsonPropertycontainerMember, ObjectexistingValue)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.CreateValueInternal(JsonReaderreader, TypeobjectType, JsonContractcontract, JsonPropertymember, JsonContainerContractcontainerContract, JsonPropertycontainerMember, ObjectexistingValue)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.Deserialize(JsonReaderreader, TypeobjectType, BooleancheckAdditionalContent)
at Newtonsoft.Json.JsonSerializer.DeserializeInternal(JsonReaderreader, TypeobjectType)
at Newtonsoft.Json.Linq.JToken.ToObject(TypeobjectType, JsonSerializerjsonSerializer)
at Newtonsoft.Json.Linq.JToken.ToObject(TypeobjectType)
at Newtonsoft.Json.Linq.JToken.ToObject[T]()
at System.Linq.Enumerable.SelectListIterator`2.ToList()
at AG.A1.Scheduler.Billing.Application.Features.CommitTimeTo3E.Commands.OfflineTimeCommitTo3ECommandHandler.UpdateOfflineSubmitEntries() in C:\agent\_work\1\s\A1Solution\src-schedulers\AG.A1.Scheduler.Billing.Application\Features\CommitTimeTo3E\Commands\OfflineTimeCommitTo3ECommandHandler.cs:line 438
at AG.A1.Scheduler.Billing.Application.Features.CommitTimeTo3E.Commands.OfflineTimeCommitTo3ECommandHandler.Run(PerformContextperformContext, IJobCancellationTokencancellationToken) in C:\agent\_work\1\s\A1Solution\src-schedulers\AG.A1.Scheduler.Billing.Application\Features\CommitTimeTo3E\Commands\OfflineTimeCommitTo3ECommandHandler.cs:line 71
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Tasktask)
An exception occurred during processing of a background job. More details...
12/2/2025 10:38:04 PM
System.InvalidOperationException
A suitable constructor for type 'AG.A1.Scheduler.Billing.Contracts.IOfflineTimeCommitTo3ECommandHandler' could not be located. Ensure the type is concrete and all parameters of a public constructor are either registered as services or passed as arguments. Also ensure no extraneous arguments are provided.
System.InvalidOperationException: A suitable constructor for type 'AG.A1.Scheduler.Billing.Contracts.IOfflineTimeCommitTo3ECommandHandler' could not be located. Ensure the type is concrete and all parameters of a public constructor are either registered as services or passed as arguments. Also ensure no extraneous arguments are provided.
at Microsoft.Extensions.DependencyInjection.ActivatorUtilities.CreateInstance(IServiceProviderprovider, TypeinstanceType, Object[]parameters)
at Hangfire.Server.CoreBackgroundJobPerformer.Perform(PerformContextcontext)
at Hangfire.Server.BackgroundJobPerformer.<>c__DisplayClass9_0.<PerformJobWithFilters>b__0()
at Hangfire.Server.BackgroundJobPerformer.InvokePerformFilter(IServerFilterfilter, PerformingContextpreContext, Func`1continuation)
at Hangfire.Server.BackgroundJobPerformer.InvokePerformFilter(IServerFilterfilter, PerformingContextpreContext, Func`1continuation)
at Hangfire.Server.BackgroundJobPerformer.PerformJobWithFilters(PerformContextcontext, IEnumerable`1filters)
at Hangfire.Server.BackgroundJobPerformer.Perform(PerformContextcontext)
at Hangfire.Server.Worker.PerformJob(BackgroundProcessContextcontext, IStorageConnectionconnection, StringjobId)
An exception occurred during performance of the job. More details...
12/2/2025 10:07:09 PM
Newtonsoft.Json.JsonSerializationException
Error converting value {null} to type 'System.Int32'. Path 'GroupFeeUserId', line 1, position 1616.
Newtonsoft.Json.JsonSerializationException: Error converting value {null} to type 'System.Int32'. Path 'GroupFeeUserId', line 1, position 1616.
---> System.InvalidCastException: Null object cannot be converted to a value type.
at System.Convert.ChangeType(Objectvalue, TypeconversionType, IFormatProviderprovider)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.EnsureType(JsonReaderreader, Objectvalue, CultureInfoculture, JsonContractcontract, TypetargetType)
--- End of inner exception stack trace ---
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.EnsureType(JsonReaderreader, Objectvalue, CultureInfoculture, JsonContractcontract, TypetargetType)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.CreateValueInternal(JsonReaderreader, TypeobjectType, JsonContractcontract, JsonPropertymember, JsonContainerContractcontainerContract, JsonPropertycontainerMember, ObjectexistingValue)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.SetPropertyValue(JsonPropertyproperty, JsonConverterpropertyConverter, JsonContainerContractcontainerContract, JsonPropertycontainerProperty, JsonReaderreader, Objecttarget)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.PopulateObject(ObjectnewObject, JsonReaderreader, JsonObjectContractcontract, JsonPropertymember, Stringid)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.CreateObject(JsonReaderreader, TypeobjectType, JsonContractcontract, JsonPropertymember, JsonContainerContractcontainerContract, JsonPropertycontainerMember, ObjectexistingValue)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.CreateValueInternal(JsonReaderreader, TypeobjectType, JsonContractcontract, JsonPropertymember, JsonContainerContractcontainerContract, JsonPropertycontainerMember, ObjectexistingValue)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.Deserialize(JsonReaderreader, TypeobjectType, BooleancheckAdditionalContent)
at Newtonsoft.Json.JsonSerializer.DeserializeInternal(JsonReaderreader, TypeobjectType)
at Newtonsoft.Json.Linq.JToken.ToObject(TypeobjectType, JsonSerializerjsonSerializer)
at Newtonsoft.Json.Linq.JToken.ToObject(TypeobjectType)
at Newtonsoft.Json.Linq.JToken.ToObject[T]()
at System.Linq.Enumerable.SelectListIterator`2.ToList()
at AG.A1.Scheduler.Billing.Application.Features.CommitTimeTo3E.Commands.OfflineTimeCommitTo3ECommandHandler.UpdateOfflineSubmitEntries() in C:\agent\_work\1\s\A1Solution\src-schedulers\AG.A1.Scheduler.Billing.Application\Features\CommitTimeTo3E\Commands\OfflineTimeCommitTo3ECommandHandler.cs:line 431
at AG.A1.Scheduler.Billing.Application.Features.CommitTimeTo3E.Commands.OfflineTimeCommitTo3ECommandHandler.Run(PerformContextperformContext, IJobCancellationTokencancellationToken) in C:\agent\_work\1\s\A1Solution\src-schedulers\AG.A1.Scheduler.Billing.Application\Features\CommitTimeTo3E\Commands\OfflineTimeCommitTo3ECommandHandler.cs:line 71
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Tasktask)
An exception occurred during performance of the job. More details...
12/2/2025 9:35:51 PM
Newtonsoft.Json.JsonSerializationException
Error converting value {null} to type 'System.Int32'. Path 'GroupFeeUserId', line 1, position 1738.
Newtonsoft.Json.JsonSerializationException: Error converting value {null} to type 'System.Int32'. Path 'GroupFeeUserId', line 1, position 1738.
---> System.InvalidCastException: Null object cannot be converted to a value type.
at System.Convert.ChangeType(Objectvalue, TypeconversionType, IFormatProviderprovider)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.EnsureType(JsonReaderreader, Objectvalue, CultureInfoculture, JsonContractcontract, TypetargetType)
--- End of inner exception stack trace ---
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.EnsureType(JsonReaderreader, Objectvalue, CultureInfoculture, JsonContractcontract, TypetargetType)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.CreateValueInternal(JsonReaderreader, TypeobjectType, JsonContractcontract, JsonPropertymember, JsonContainerContractcontainerContract, JsonPropertycontainerMember, ObjectexistingValue)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.SetPropertyValue(JsonPropertyproperty, JsonConverterpropertyConverter, JsonContainerContractcontainerContract, JsonPropertycontainerProperty, JsonReaderreader, Objecttarget)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.PopulateObject(ObjectnewObject, JsonReaderreader, JsonObjectContractcontract, JsonPropertymember, Stringid)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.CreateObject(JsonReaderreader, TypeobjectType, JsonContractcontract, JsonPropertymember, JsonContainerContractcontainerContract, JsonPropertycontainerMember, ObjectexistingValue)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.CreateValueInternal(JsonReaderreader, TypeobjectType, JsonContractcontract, JsonPropertymember, JsonContainerContractcontainerContract, JsonPropertycontainerMember, ObjectexistingValue)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.Deserialize(JsonReaderreader, TypeobjectType, BooleancheckAdditionalContent)
at Newtonsoft.Json.JsonSerializer.DeserializeInternal(JsonReaderreader, TypeobjectType)
at Newtonsoft.Json.Linq.JToken.ToObject(TypeobjectType, JsonSerializerjsonSerializer)
at Newtonsoft.Json.Linq.JToken.ToObject(TypeobjectType)
at Newtonsoft.Json.Linq.JToken.ToObject[T]()
at System.Linq.Enumerable.SelectListIterator`2.ToList()
at AG.A1.Scheduler.Billing.Application.Features.CommitTimeTo3E.Commands.OfflineTimeCommitTo3ECommandHandler.UpdateOfflineSubmitEntries() in C:\agent\_work\1\s\A1Solution\src-schedulers\AG.A1.Scheduler.Billing.Application\Features\CommitTimeTo3E\Commands\OfflineTimeCommitTo3ECommandHandler.cs:line 431
at AG.A1.Scheduler.Billing.Application.Features.CommitTimeTo3E.Commands.OfflineTimeCommitTo3ECommandHandler.Run(PerformContextperformContext, IJobCancellationTokencancellationToken) in C:\agent\_work\1\s\A1Solution\src-schedulers\AG.A1.Scheduler.Billing.Application\Features\CommitTimeTo3E\Commands\OfflineTimeCommitTo3ECommandHandler.cs:line 71
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Tasktask)
An exception occurred during performance of the job. More details...
12/2/2025 8:36:56 AM
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](RestResponserestResponse) 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](IRESTEndpointapiEndpoint, IDictionary`2headers, IDictionary`2bodyParameters, IDictionary`2urlParameters, Nullable`1requestDataFormat, Nullable`1responseDataFormat) 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(Leadlead, BooleanbypassTokenValidation) 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(PerformContextperformContext, IJobCancellationTokencancellationToken) 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()
An exception occurred during performance of the job. More details...
12/2/2025 8:36:23 AM
Newtonsoft.Json.JsonSerializationException
Error converting value {null} to type 'System.Int32'. Path 'GroupFeeUserId', line 1, position 1702.
Newtonsoft.Json.JsonSerializationException: Error converting value {null} to type 'System.Int32'. Path 'GroupFeeUserId', line 1, position 1702.
---> System.InvalidCastException: Null object cannot be converted to a value type.
at System.Convert.ChangeType(Objectvalue, TypeconversionType, IFormatProviderprovider)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.EnsureType(JsonReaderreader, Objectvalue, CultureInfoculture, JsonContractcontract, TypetargetType)
--- End of inner exception stack trace ---
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.EnsureType(JsonReaderreader, Objectvalue, CultureInfoculture, JsonContractcontract, TypetargetType)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.CreateValueInternal(JsonReaderreader, TypeobjectType, JsonContractcontract, JsonPropertymember, JsonContainerContractcontainerContract, JsonPropertycontainerMember, ObjectexistingValue)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.SetPropertyValue(JsonPropertyproperty, JsonConverterpropertyConverter, JsonContainerContractcontainerContract, JsonPropertycontainerProperty, JsonReaderreader, Objecttarget)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.PopulateObject(ObjectnewObject, JsonReaderreader, JsonObjectContractcontract, JsonPropertymember, Stringid)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.CreateObject(JsonReaderreader, TypeobjectType, JsonContractcontract, JsonPropertymember, JsonContainerContractcontainerContract, JsonPropertycontainerMember, ObjectexistingValue)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.CreateValueInternal(JsonReaderreader, TypeobjectType, JsonContractcontract, JsonPropertymember, JsonContainerContractcontainerContract, JsonPropertycontainerMember, ObjectexistingValue)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.Deserialize(JsonReaderreader, TypeobjectType, BooleancheckAdditionalContent)
at Newtonsoft.Json.JsonSerializer.DeserializeInternal(JsonReaderreader, TypeobjectType)
at Newtonsoft.Json.Linq.JToken.ToObject(TypeobjectType, JsonSerializerjsonSerializer)
at Newtonsoft.Json.Linq.JToken.ToObject(TypeobjectType)
at Newtonsoft.Json.Linq.JToken.ToObject[T]()
at System.Linq.Enumerable.SelectListIterator`2.ToList()
at AG.A1.Scheduler.Billing.Application.Features.CommitTimeTo3E.Commands.OfflineTimeCommitTo3ECommandHandler.UpdateOfflineSubmitEntries() in C:\agent\_work\1\s\A1Solution\src-schedulers\AG.A1.Scheduler.Billing.Application\Features\CommitTimeTo3E\Commands\OfflineTimeCommitTo3ECommandHandler.cs:line 438
at AG.A1.Scheduler.Billing.Application.Features.CommitTimeTo3E.Commands.OfflineTimeCommitTo3ECommandHandler.Run(PerformContextperformContext, IJobCancellationTokencancellationToken) in C:\agent\_work\1\s\A1Solution\src-schedulers\AG.A1.Scheduler.Billing.Application\Features\CommitTimeTo3E\Commands\OfflineTimeCommitTo3ECommandHandler.cs:line 71
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Tasktask)
An exception occurred during performance of the job. More details...
12/2/2025 9:07:11 AM
Newtonsoft.Json.JsonSerializationException
Error converting value {null} to type 'System.Int32'. Path 'GroupFeeUserId', line 1, position 1991.
Newtonsoft.Json.JsonSerializationException: Error converting value {null} to type 'System.Int32'. Path 'GroupFeeUserId', line 1, position 1991.
---> System.InvalidCastException: Null object cannot be converted to a value type.
at System.Convert.ChangeType(Objectvalue, TypeconversionType, IFormatProviderprovider)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.EnsureType(JsonReaderreader, Objectvalue, CultureInfoculture, JsonContractcontract, TypetargetType)
--- End of inner exception stack trace ---
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.EnsureType(JsonReaderreader, Objectvalue, CultureInfoculture, JsonContractcontract, TypetargetType)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.CreateValueInternal(JsonReaderreader, TypeobjectType, JsonContractcontract, JsonPropertymember, JsonContainerContractcontainerContract, JsonPropertycontainerMember, ObjectexistingValue)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.SetPropertyValue(JsonPropertyproperty, JsonConverterpropertyConverter, JsonContainerContractcontainerContract, JsonPropertycontainerProperty, JsonReaderreader, Objecttarget)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.PopulateObject(ObjectnewObject, JsonReaderreader, JsonObjectContractcontract, JsonPropertymember, Stringid)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.CreateObject(JsonReaderreader, TypeobjectType, JsonContractcontract, JsonPropertymember, JsonContainerContractcontainerContract, JsonPropertycontainerMember, ObjectexistingValue)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.CreateValueInternal(JsonReaderreader, TypeobjectType, JsonContractcontract, JsonPropertymember, JsonContainerContractcontainerContract, JsonPropertycontainerMember, ObjectexistingValue)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.Deserialize(JsonReaderreader, TypeobjectType, BooleancheckAdditionalContent)
at Newtonsoft.Json.JsonSerializer.DeserializeInternal(JsonReaderreader, TypeobjectType)
at Newtonsoft.Json.Linq.JToken.ToObject(TypeobjectType, JsonSerializerjsonSerializer)
at Newtonsoft.Json.Linq.JToken.ToObject(TypeobjectType)
at Newtonsoft.Json.Linq.JToken.ToObject[T]()
at System.Linq.Enumerable.SelectListIterator`2.ToList()
at AG.A1.Scheduler.Billing.Application.Features.CommitTimeTo3E.Commands.OfflineTimeCommitTo3ECommandHandler.UpdateOfflineSubmitEntries() in C:\agent\_work\1\s\A1Solution\src-schedulers\AG.A1.Scheduler.Billing.Application\Features\CommitTimeTo3E\Commands\OfflineTimeCommitTo3ECommandHandler.cs:line 438
at AG.A1.Scheduler.Billing.Application.Features.CommitTimeTo3E.Commands.OfflineTimeCommitTo3ECommandHandler.Run(PerformContextperformContext, IJobCancellationTokencancellationToken) in C:\agent\_work\1\s\A1Solution\src-schedulers\AG.A1.Scheduler.Billing.Application\Features\CommitTimeTo3E\Commands\OfflineTimeCommitTo3ECommandHandler.cs:line 71
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Tasktask)
An exception occurred during performance of the job. More details...
12/2/2025 9:34:30 AM
Newtonsoft.Json.JsonSerializationException
Error converting value {null} to type 'System.Int32'. Path 'GroupFeeUserId', line 1, position 1913.
Newtonsoft.Json.JsonSerializationException: Error converting value {null} to type 'System.Int32'. Path 'GroupFeeUserId', line 1, position 1913.
---> System.InvalidCastException: Null object cannot be converted to a value type.
at System.Convert.ChangeType(Objectvalue, TypeconversionType, IFormatProviderprovider)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.EnsureType(JsonReaderreader, Objectvalue, CultureInfoculture, JsonContractcontract, TypetargetType)
--- End of inner exception stack trace ---
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.EnsureType(JsonReaderreader, Objectvalue, CultureInfoculture, JsonContractcontract, TypetargetType)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.CreateValueInternal(JsonReaderreader, TypeobjectType, JsonContractcontract, JsonPropertymember, JsonContainerContractcontainerContract, JsonPropertycontainerMember, ObjectexistingValue)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.SetPropertyValue(JsonPropertyproperty, JsonConverterpropertyConverter, JsonContainerContractcontainerContract, JsonPropertycontainerProperty, JsonReaderreader, Objecttarget)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.PopulateObject(ObjectnewObject, JsonReaderreader, JsonObjectContractcontract, JsonPropertymember, Stringid)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.CreateObject(JsonReaderreader, TypeobjectType, JsonContractcontract, JsonPropertymember, JsonContainerContractcontainerContract, JsonPropertycontainerMember, ObjectexistingValue)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.CreateValueInternal(JsonReaderreader, TypeobjectType, JsonContractcontract, JsonPropertymember, JsonContainerContractcontainerContract, JsonPropertycontainerMember, ObjectexistingValue)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.Deserialize(JsonReaderreader, TypeobjectType, BooleancheckAdditionalContent)
at Newtonsoft.Json.JsonSerializer.DeserializeInternal(JsonReaderreader, TypeobjectType)
at Newtonsoft.Json.Linq.JToken.ToObject(TypeobjectType, JsonSerializerjsonSerializer)
at Newtonsoft.Json.Linq.JToken.ToObject(TypeobjectType)
at Newtonsoft.Json.Linq.JToken.ToObject[T]()
at System.Linq.Enumerable.SelectListIterator`2.ToList()
at AG.A1.Scheduler.Billing.Application.Features.CommitTimeTo3E.Commands.OfflineTimeCommitTo3ECommandHandler.UpdateOfflineSubmitEntries() in C:\agent\_work\1\s\A1Solution\src-schedulers\AG.A1.Scheduler.Billing.Application\Features\CommitTimeTo3E\Commands\OfflineTimeCommitTo3ECommandHandler.cs:line 438
at AG.A1.Scheduler.Billing.Application.Features.CommitTimeTo3E.Commands.OfflineTimeCommitTo3ECommandHandler.Run(PerformContextperformContext, IJobCancellationTokencancellationToken) in C:\agent\_work\1\s\A1Solution\src-schedulers\AG.A1.Scheduler.Billing.Application\Features\CommitTimeTo3E\Commands\OfflineTimeCommitTo3ECommandHandler.cs:line 71
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Tasktask)
An exception occurred during performance of the job. More details...
12/2/2025 10:17:03 AM
Newtonsoft.Json.JsonSerializationException
Error converting value {null} to type 'System.Int32'. Path 'GroupFeeUserId', line 1, position 1696.
Newtonsoft.Json.JsonSerializationException: Error converting value {null} to type 'System.Int32'. Path 'GroupFeeUserId', line 1, position 1696.
---> System.InvalidCastException: Null object cannot be converted to a value type.
at System.Convert.ChangeType(Objectvalue, TypeconversionType, IFormatProviderprovider)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.EnsureType(JsonReaderreader, Objectvalue, CultureInfoculture, JsonContractcontract, TypetargetType)
--- End of inner exception stack trace ---
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.EnsureType(JsonReaderreader, Objectvalue, CultureInfoculture, JsonContractcontract, TypetargetType)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.CreateValueInternal(JsonReaderreader, TypeobjectType, JsonContractcontract, JsonPropertymember, JsonContainerContractcontainerContract, JsonPropertycontainerMember, ObjectexistingValue)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.SetPropertyValue(JsonPropertyproperty, JsonConverterpropertyConverter, JsonContainerContractcontainerContract, JsonPropertycontainerProperty, JsonReaderreader, Objecttarget)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.PopulateObject(ObjectnewObject, JsonReaderreader, JsonObjectContractcontract, JsonPropertymember, Stringid)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.CreateObject(JsonReaderreader, TypeobjectType, JsonContractcontract, JsonPropertymember, JsonContainerContractcontainerContract, JsonPropertycontainerMember, ObjectexistingValue)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.CreateValueInternal(JsonReaderreader, TypeobjectType, JsonContractcontract, JsonPropertymember, JsonContainerContractcontainerContract, JsonPropertycontainerMember, ObjectexistingValue)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.Deserialize(JsonReaderreader, TypeobjectType, BooleancheckAdditionalContent)
at Newtonsoft.Json.JsonSerializer.DeserializeInternal(JsonReaderreader, TypeobjectType)
at Newtonsoft.Json.Linq.JToken.ToObject(TypeobjectType, JsonSerializerjsonSerializer)
at Newtonsoft.Json.Linq.JToken.ToObject(TypeobjectType)
at Newtonsoft.Json.Linq.JToken.ToObject[T]()
at System.Linq.Enumerable.SelectListIterator`2.ToList()
at AG.A1.Scheduler.Billing.Application.Features.CommitTimeTo3E.Commands.OfflineTimeCommitTo3ECommandHandler.UpdateOfflineSubmitEntries() in C:\agent\_work\1\s\A1Solution\src-schedulers\AG.A1.Scheduler.Billing.Application\Features\CommitTimeTo3E\Commands\OfflineTimeCommitTo3ECommandHandler.cs:line 431
at AG.A1.Scheduler.Billing.Application.Features.CommitTimeTo3E.Commands.OfflineTimeCommitTo3ECommandHandler.Run(PerformContextperformContext, IJobCancellationTokencancellationToken) in C:\agent\_work\1\s\A1Solution\src-schedulers\AG.A1.Scheduler.Billing.Application\Features\CommitTimeTo3E\Commands\OfflineTimeCommitTo3ECommandHandler.cs:line 71
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Tasktask)
An exception occurred during performance of the job. More details...
12/2/2025 10:33:47 AM
Newtonsoft.Json.JsonSerializationException
Error converting value {null} to type 'System.Int32'. Path 'GroupFeeUserId', line 1, position 1738.
Newtonsoft.Json.JsonSerializationException: Error converting value {null} to type 'System.Int32'. Path 'GroupFeeUserId', line 1, position 1738.
---> System.InvalidCastException: Null object cannot be converted to a value type.
at System.Convert.ChangeType(Objectvalue, TypeconversionType, IFormatProviderprovider)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.EnsureType(JsonReaderreader, Objectvalue, CultureInfoculture, JsonContractcontract, TypetargetType)
--- End of inner exception stack trace ---
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.EnsureType(JsonReaderreader, Objectvalue, CultureInfoculture, JsonContractcontract, TypetargetType)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.CreateValueInternal(JsonReaderreader, TypeobjectType, JsonContractcontract, JsonPropertymember, JsonContainerContractcontainerContract, JsonPropertycontainerMember, ObjectexistingValue)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.SetPropertyValue(JsonPropertyproperty, JsonConverterpropertyConverter, JsonContainerContractcontainerContract, JsonPropertycontainerProperty, JsonReaderreader, Objecttarget)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.PopulateObject(ObjectnewObject, JsonReaderreader, JsonObjectContractcontract, JsonPropertymember, Stringid)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.CreateObject(JsonReaderreader, TypeobjectType, JsonContractcontract, JsonPropertymember, JsonContainerContractcontainerContract, JsonPropertycontainerMember, ObjectexistingValue)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.CreateValueInternal(JsonReaderreader, TypeobjectType, JsonContractcontract, JsonPropertymember, JsonContainerContractcontainerContract, JsonPropertycontainerMember, ObjectexistingValue)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.Deserialize(JsonReaderreader, TypeobjectType, BooleancheckAdditionalContent)
at Newtonsoft.Json.JsonSerializer.DeserializeInternal(JsonReaderreader, TypeobjectType)
at Newtonsoft.Json.Linq.JToken.ToObject(TypeobjectType, JsonSerializerjsonSerializer)
at Newtonsoft.Json.Linq.JToken.ToObject(TypeobjectType)
at Newtonsoft.Json.Linq.JToken.ToObject[T]()
at System.Linq.Enumerable.SelectListIterator`2.ToList()
at AG.A1.Scheduler.Billing.Application.Features.CommitTimeTo3E.Commands.OfflineTimeCommitTo3ECommandHandler.UpdateOfflineSubmitEntries() in C:\agent\_work\1\s\A1Solution\src-schedulers\AG.A1.Scheduler.Billing.Application\Features\CommitTimeTo3E\Commands\OfflineTimeCommitTo3ECommandHandler.cs:line 431
at AG.A1.Scheduler.Billing.Application.Features.CommitTimeTo3E.Commands.OfflineTimeCommitTo3ECommandHandler.Run(PerformContextperformContext, IJobCancellationTokencancellationToken) in C:\agent\_work\1\s\A1Solution\src-schedulers\AG.A1.Scheduler.Billing.Application\Features\CommitTimeTo3E\Commands\OfflineTimeCommitTo3ECommandHandler.cs:line 71
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Tasktask)
An exception occurred during processing of a background job. More details...
12/2/2025 11:04:56 AM
System.InvalidOperationException
A suitable constructor for type 'AG.A1.Scheduler.Billing.Contracts.IOfflineTimeCommitTo3ECommandHandler' could not be located. Ensure the type is concrete and all parameters of a public constructor are either registered as services or passed as arguments. Also ensure no extraneous arguments are provided.
System.InvalidOperationException: A suitable constructor for type 'AG.A1.Scheduler.Billing.Contracts.IOfflineTimeCommitTo3ECommandHandler' could not be located. Ensure the type is concrete and all parameters of a public constructor are either registered as services or passed as arguments. Also ensure no extraneous arguments are provided.
at Microsoft.Extensions.DependencyInjection.ActivatorUtilities.CreateInstance(IServiceProviderprovider, TypeinstanceType, Object[]parameters)
at Hangfire.Server.CoreBackgroundJobPerformer.Perform(PerformContextcontext)
at Hangfire.Server.BackgroundJobPerformer.<>c__DisplayClass9_0.<PerformJobWithFilters>b__0()
at Hangfire.Server.BackgroundJobPerformer.InvokePerformFilter(IServerFilterfilter, PerformingContextpreContext, Func`1continuation)
at Hangfire.Server.BackgroundJobPerformer.InvokePerformFilter(IServerFilterfilter, PerformingContextpreContext, Func`1continuation)
at Hangfire.Server.BackgroundJobPerformer.PerformJobWithFilters(PerformContextcontext, IEnumerable`1filters)
at Hangfire.Server.BackgroundJobPerformer.Perform(PerformContextcontext)
at Hangfire.Server.Worker.PerformJob(BackgroundProcessContextcontext, IStorageConnectionconnection, StringjobId)
An exception occurred during performance of the job. More details...
12/2/2025 11:35:14 AM
Newtonsoft.Json.JsonSerializationException
Error converting value {null} to type 'System.Int32'. Path 'GroupFeeUserId', line 1, position 1616.
Newtonsoft.Json.JsonSerializationException: Error converting value {null} to type 'System.Int32'. Path 'GroupFeeUserId', line 1, position 1616.
---> System.InvalidCastException: Null object cannot be converted to a value type.
at System.Convert.ChangeType(Objectvalue, TypeconversionType, IFormatProviderprovider)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.EnsureType(JsonReaderreader, Objectvalue, CultureInfoculture, JsonContractcontract, TypetargetType)
--- End of inner exception stack trace ---
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.EnsureType(JsonReaderreader, Objectvalue, CultureInfoculture, JsonContractcontract, TypetargetType)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.CreateValueInternal(JsonReaderreader, TypeobjectType, JsonContractcontract, JsonPropertymember, JsonContainerContractcontainerContract, JsonPropertycontainerMember, ObjectexistingValue)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.SetPropertyValue(JsonPropertyproperty, JsonConverterpropertyConverter, JsonContainerContractcontainerContract, JsonPropertycontainerProperty, JsonReaderreader, Objecttarget)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.PopulateObject(ObjectnewObject, JsonReaderreader, JsonObjectContractcontract, JsonPropertymember, Stringid)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.CreateObject(JsonReaderreader, TypeobjectType, JsonContractcontract, JsonPropertymember, JsonContainerContractcontainerContract, JsonPropertycontainerMember, ObjectexistingValue)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.CreateValueInternal(JsonReaderreader, TypeobjectType, JsonContractcontract, JsonPropertymember, JsonContainerContractcontainerContract, JsonPropertycontainerMember, ObjectexistingValue)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.Deserialize(JsonReaderreader, TypeobjectType, BooleancheckAdditionalContent)
at Newtonsoft.Json.JsonSerializer.DeserializeInternal(JsonReaderreader, TypeobjectType)
at Newtonsoft.Json.Linq.JToken.ToObject(TypeobjectType, JsonSerializerjsonSerializer)
at Newtonsoft.Json.Linq.JToken.ToObject(TypeobjectType)
at Newtonsoft.Json.Linq.JToken.ToObject[T]()
at System.Linq.Enumerable.SelectListIterator`2.ToList()
at AG.A1.Scheduler.Billing.Application.Features.CommitTimeTo3E.Commands.OfflineTimeCommitTo3ECommandHandler.UpdateOfflineSubmitEntries() in C:\agent\_work\1\s\A1Solution\src-schedulers\AG.A1.Scheduler.Billing.Application\Features\CommitTimeTo3E\Commands\OfflineTimeCommitTo3ECommandHandler.cs:line 438
at AG.A1.Scheduler.Billing.Application.Features.CommitTimeTo3E.Commands.OfflineTimeCommitTo3ECommandHandler.Run(PerformContextperformContext, IJobCancellationTokencancellationToken) in C:\agent\_work\1\s\A1Solution\src-schedulers\AG.A1.Scheduler.Billing.Application\Features\CommitTimeTo3E\Commands\OfflineTimeCommitTo3ECommandHandler.cs:line 71
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Tasktask)
An exception occurred during performance of the job. More details...
12/2/2025 12:09:31 PM
Newtonsoft.Json.JsonSerializationException
Error converting value {null} to type 'System.Int32'. Path 'GroupFeeUserId', line 1, position 1874.
Newtonsoft.Json.JsonSerializationException: Error converting value {null} to type 'System.Int32'. Path 'GroupFeeUserId', line 1, position 1874.
---> System.InvalidCastException: Null object cannot be converted to a value type.
at System.Convert.ChangeType(Objectvalue, TypeconversionType, IFormatProviderprovider)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.EnsureType(JsonReaderreader, Objectvalue, CultureInfoculture, JsonContractcontract, TypetargetType)
--- End of inner exception stack trace ---
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.EnsureType(JsonReaderreader, Objectvalue, CultureInfoculture, JsonContractcontract, TypetargetType)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.CreateValueInternal(JsonReaderreader, TypeobjectType, JsonContractcontract, JsonPropertymember, JsonContainerContractcontainerContract, JsonPropertycontainerMember, ObjectexistingValue)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.SetPropertyValue(JsonPropertyproperty, JsonConverterpropertyConverter, JsonContainerContractcontainerContract, JsonPropertycontainerProperty, JsonReaderreader, Objecttarget)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.PopulateObject(ObjectnewObject, JsonReaderreader, JsonObjectContractcontract, JsonPropertymember, Stringid)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.CreateObject(JsonReaderreader, TypeobjectType, JsonContractcontract, JsonPropertymember, JsonContainerContractcontainerContract, JsonPropertycontainerMember, ObjectexistingValue)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.CreateValueInternal(JsonReaderreader, TypeobjectType, JsonContractcontract, JsonPropertymember, JsonContainerContractcontainerContract, JsonPropertycontainerMember, ObjectexistingValue)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.Deserialize(JsonReaderreader, TypeobjectType, BooleancheckAdditionalContent)
at Newtonsoft.Json.JsonSerializer.DeserializeInternal(JsonReaderreader, TypeobjectType)
at Newtonsoft.Json.Linq.JToken.ToObject(TypeobjectType, JsonSerializerjsonSerializer)
at Newtonsoft.Json.Linq.JToken.ToObject(TypeobjectType)
at Newtonsoft.Json.Linq.JToken.ToObject[T]()
at System.Linq.Enumerable.SelectListIterator`2.ToList()
at AG.A1.Scheduler.Billing.Application.Features.CommitTimeTo3E.Commands.OfflineTimeCommitTo3ECommandHandler.UpdateOfflineSubmitEntries() in C:\agent\_work\1\s\A1Solution\src-schedulers\AG.A1.Scheduler.Billing.Application\Features\CommitTimeTo3E\Commands\OfflineTimeCommitTo3ECommandHandler.cs:line 438
at AG.A1.Scheduler.Billing.Application.Features.CommitTimeTo3E.Commands.OfflineTimeCommitTo3ECommandHandler.Run(PerformContextperformContext, IJobCancellationTokencancellationToken) in C:\agent\_work\1\s\A1Solution\src-schedulers\AG.A1.Scheduler.Billing.Application\Features\CommitTimeTo3E\Commands\OfflineTimeCommitTo3ECommandHandler.cs:line 71
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Tasktask)
An exception occurred during performance of the job. More details...
12/2/2025 12:32:59 PM
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](RestResponserestResponse) 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](IRESTEndpointapiEndpoint, IDictionary`2headers, IDictionary`2bodyParameters, IDictionary`2urlParameters) 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`2param, SalesforceTokentoken) in C:\agent\_work\1\s\A1Solution\src-integrations\AG.Integrations.RESTClients\SalesforceREST\SalesforceApiClientController.cs:line 295
at AG.A1.Scheduler.Project.Application.Helpers.SalesforceHelper.CreateLead(Leadlead, BooleanbypassTokenValidation) in C:\agent\_work\1\s\A1Solution\src-schedulers\AG.A1.Scheduler.Project.Application\Helpers\SalesforceHelper.cs:line 125
at AG.A1.Scheduler.Project.Application.Features.LeadToSF.Commands.OfflineCommitLeadToSFCommandHandler.Run(PerformContextperformContext, IJobCancellationTokencancellationToken) 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(Tasktask)
An exception occurred during performance of the job. More details...
12/2/2025 12:36:24 PM
Newtonsoft.Json.JsonSerializationException
Error converting value {null} to type 'System.Int32'. Path 'GroupFeeUserId', line 1, position 1695.
Newtonsoft.Json.JsonSerializationException: Error converting value {null} to type 'System.Int32'. Path 'GroupFeeUserId', line 1, position 1695.
---> System.InvalidCastException: Null object cannot be converted to a value type.
at System.Convert.ChangeType(Objectvalue, TypeconversionType, IFormatProviderprovider)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.EnsureType(JsonReaderreader, Objectvalue, CultureInfoculture, JsonContractcontract, TypetargetType)
--- End of inner exception stack trace ---
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.EnsureType(JsonReaderreader, Objectvalue, CultureInfoculture, JsonContractcontract, TypetargetType)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.CreateValueInternal(JsonReaderreader, TypeobjectType, JsonContractcontract, JsonPropertymember, JsonContainerContractcontainerContract, JsonPropertycontainerMember, ObjectexistingValue)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.SetPropertyValue(JsonPropertyproperty, JsonConverterpropertyConverter, JsonContainerContractcontainerContract, JsonPropertycontainerProperty, JsonReaderreader, Objecttarget)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.PopulateObject(ObjectnewObject, JsonReaderreader, JsonObjectContractcontract, JsonPropertymember, Stringid)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.CreateObject(JsonReaderreader, TypeobjectType, JsonContractcontract, JsonPropertymember, JsonContainerContractcontainerContract, JsonPropertycontainerMember, ObjectexistingValue)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.CreateValueInternal(JsonReaderreader, TypeobjectType, JsonContractcontract, JsonPropertymember, JsonContainerContractcontainerContract, JsonPropertycontainerMember, ObjectexistingValue)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.Deserialize(JsonReaderreader, TypeobjectType, BooleancheckAdditionalContent)
at Newtonsoft.Json.JsonSerializer.DeserializeInternal(JsonReaderreader, TypeobjectType)
at Newtonsoft.Json.Linq.JToken.ToObject(TypeobjectType, JsonSerializerjsonSerializer)
at Newtonsoft.Json.Linq.JToken.ToObject(TypeobjectType)
at Newtonsoft.Json.Linq.JToken.ToObject[T]()
at System.Linq.Enumerable.SelectListIterator`2.ToList()
at AG.A1.Scheduler.Billing.Application.Features.CommitTimeTo3E.Commands.OfflineTimeCommitTo3ECommandHandler.UpdateOfflineSubmitEntries() in C:\agent\_work\1\s\A1Solution\src-schedulers\AG.A1.Scheduler.Billing.Application\Features\CommitTimeTo3E\Commands\OfflineTimeCommitTo3ECommandHandler.cs:line 438
at AG.A1.Scheduler.Billing.Application.Features.CommitTimeTo3E.Commands.OfflineTimeCommitTo3ECommandHandler.Run(PerformContextperformContext, IJobCancellationTokencancellationToken) in C:\agent\_work\1\s\A1Solution\src-schedulers\AG.A1.Scheduler.Billing.Application\Features\CommitTimeTo3E\Commands\OfflineTimeCommitTo3ECommandHandler.cs:line 71
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Tasktask)
An exception occurred during performance of the job. More details...
12/2/2025 1:10:47 PM
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](RestResponserestResponse) in C:\agent\_work\1\s\A1Solution\src-framework\AG.A1.Framework\Rest\RESTClient.cs:line 392
at AG.A1.Framework.Rest.RESTClient.GetInternalAsync[T](IRESTEndpointapiEndpoint, IDictionary`2headers, StringexpectedRootElement, IDictionary`2parameters) in C:\agent\_work\1\s\A1Solution\src-framework\AG.A1.Framework\Rest\RESTClient.cs:line 209
at AG.Integrations.RESTClients.BillingApiREST.BillingControllers.BillingA1ApiClientController.GetBillingSettings() in C:\agent\_work\1\s\A1Solution\src-integrations\AG.Integrations.RESTClients\BillingApiREST\BillingControllers\BillingA1ApiClientController.cs:line 82
at AG.A1.Scheduler.Billing.Application.Features.CommitTimeTo3E.Commands.OfflineTimeCommitTo3ECommandHandler.Run(PerformContextperformContext, IJobCancellationTokencancellationToken) in C:\agent\_work\1\s\A1Solution\src-schedulers\AG.A1.Scheduler.Billing.Application\Features\CommitTimeTo3E\Commands\OfflineTimeCommitTo3ECommandHandler.cs:line 33
at System.Runtime.CompilerServices.TaskAwaiter.GetResult()
An exception occurred during processing of a background job. More details...
12/2/2025 1:36:38 PM
System.InvalidOperationException
A suitable constructor for type 'AG.A1.Scheduler.Billing.Contracts.IOfflineTimeCommitTo3ECommandHandler' could not be located. Ensure the type is concrete and all parameters of a public constructor are either registered as services or passed as arguments. Also ensure no extraneous arguments are provided.
System.InvalidOperationException: A suitable constructor for type 'AG.A1.Scheduler.Billing.Contracts.IOfflineTimeCommitTo3ECommandHandler' could not be located. Ensure the type is concrete and all parameters of a public constructor are either registered as services or passed as arguments. Also ensure no extraneous arguments are provided.
at Microsoft.Extensions.DependencyInjection.ActivatorUtilities.CreateInstance(IServiceProviderprovider, TypeinstanceType, Object[]parameters)
at Microsoft.Extensions.DependencyInjection.ActivatorUtilities.GetServiceOrCreateInstance(IServiceProviderprovider, Typetype)
at Hangfire.AspNetCore.AspNetCoreJobActivatorScope.Resolve(Typetype)
at Hangfire.Server.CoreBackgroundJobPerformer.Perform(PerformContextcontext)
at Hangfire.Server.BackgroundJobPerformer.<>c__DisplayClass9_0.<PerformJobWithFilters>b__0()
at Hangfire.Server.BackgroundJobPerformer.InvokePerformFilter(IServerFilterfilter, PerformingContextpreContext, Func`1continuation)
at Hangfire.Server.BackgroundJobPerformer.<>c__DisplayClass9_1.<PerformJobWithFilters>b__2()
at Hangfire.Server.BackgroundJobPerformer.InvokePerformFilter(IServerFilterfilter, PerformingContextpreContext, Func`1continuation)
at Hangfire.Server.BackgroundJobPerformer.<>c__DisplayClass9_1.<PerformJobWithFilters>b__2()
at Hangfire.Server.BackgroundJobPerformer.PerformJobWithFilters(PerformContextcontext, IEnumerable`1filters)
at Hangfire.Server.BackgroundJobPerformer.Perform(PerformContextcontext)
at Hangfire.Server.Worker.PerformJob(BackgroundProcessContextcontext, IStorageConnectionconnection, StringjobId)
An exception occurred during performance of the job. More details...
12/2/2025 2:10:23 PM
Newtonsoft.Json.JsonSerializationException
Error converting value {null} to type 'System.Int32'. Path 'GroupFeeUserId', line 1, position 1913.
Newtonsoft.Json.JsonSerializationException: Error converting value {null} to type 'System.Int32'. Path 'GroupFeeUserId', line 1, position 1913.
---> System.InvalidCastException: Null object cannot be converted to a value type.
at System.Convert.ChangeType(Objectvalue, TypeconversionType, IFormatProviderprovider)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.EnsureType(JsonReaderreader, Objectvalue, CultureInfoculture, JsonContractcontract, TypetargetType)
--- End of inner exception stack trace ---
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.EnsureType(JsonReaderreader, Objectvalue, CultureInfoculture, JsonContractcontract, TypetargetType)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.CreateValueInternal(JsonReaderreader, TypeobjectType, JsonContractcontract, JsonPropertymember, JsonContainerContractcontainerContract, JsonPropertycontainerMember, ObjectexistingValue)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.SetPropertyValue(JsonPropertyproperty, JsonConverterpropertyConverter, JsonContainerContractcontainerContract, JsonPropertycontainerProperty, JsonReaderreader, Objecttarget)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.PopulateObject(ObjectnewObject, JsonReaderreader, JsonObjectContractcontract, JsonPropertymember, Stringid)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.CreateObject(JsonReaderreader, TypeobjectType, JsonContractcontract, JsonPropertymember, JsonContainerContractcontainerContract, JsonPropertycontainerMember, ObjectexistingValue)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.CreateValueInternal(JsonReaderreader, TypeobjectType, JsonContractcontract, JsonPropertymember, JsonContainerContractcontainerContract, JsonPropertycontainerMember, ObjectexistingValue)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.Deserialize(JsonReaderreader, TypeobjectType, BooleancheckAdditionalContent)
at Newtonsoft.Json.JsonSerializer.DeserializeInternal(JsonReaderreader, TypeobjectType)
at Newtonsoft.Json.Linq.JToken.ToObject(TypeobjectType, JsonSerializerjsonSerializer)
at Newtonsoft.Json.Linq.JToken.ToObject(TypeobjectType)
at Newtonsoft.Json.Linq.JToken.ToObject[T]()
at System.Linq.Enumerable.SelectListIterator`2.ToList()
at AG.A1.Scheduler.Billing.Application.Features.CommitTimeTo3E.Commands.OfflineTimeCommitTo3ECommandHandler.UpdateOfflineSubmitEntries() in C:\agent\_work\1\s\A1Solution\src-schedulers\AG.A1.Scheduler.Billing.Application\Features\CommitTimeTo3E\Commands\OfflineTimeCommitTo3ECommandHandler.cs:line 431
at AG.A1.Scheduler.Billing.Application.Features.CommitTimeTo3E.Commands.OfflineTimeCommitTo3ECommandHandler.Run(PerformContextperformContext, IJobCancellationTokencancellationToken) in C:\agent\_work\1\s\A1Solution\src-schedulers\AG.A1.Scheduler.Billing.Application\Features\CommitTimeTo3E\Commands\OfflineTimeCommitTo3ECommandHandler.cs:line 71
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Tasktask)
An exception occurred during performance of the job. More details...
12/2/2025 2:40:45 PM
Newtonsoft.Json.JsonSerializationException
Error converting value {null} to type 'System.Int32'. Path 'GroupFeeUserId', line 1, position 1616.
Newtonsoft.Json.JsonSerializationException: Error converting value {null} to type 'System.Int32'. Path 'GroupFeeUserId', line 1, position 1616.
---> System.InvalidCastException: Null object cannot be converted to a value type.
at System.Convert.ChangeType(Objectvalue, TypeconversionType, IFormatProviderprovider)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.EnsureType(JsonReaderreader, Objectvalue, CultureInfoculture, JsonContractcontract, TypetargetType)
--- End of inner exception stack trace ---
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.EnsureType(JsonReaderreader, Objectvalue, CultureInfoculture, JsonContractcontract, TypetargetType)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.CreateValueInternal(JsonReaderreader, TypeobjectType, JsonContractcontract, JsonPropertymember, JsonContainerContractcontainerContract, JsonPropertycontainerMember, ObjectexistingValue)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.SetPropertyValue(JsonPropertyproperty, JsonConverterpropertyConverter, JsonContainerContractcontainerContract, JsonPropertycontainerProperty, JsonReaderreader, Objecttarget)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.PopulateObject(ObjectnewObject, JsonReaderreader, JsonObjectContractcontract, JsonPropertymember, Stringid)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.CreateObject(JsonReaderreader, TypeobjectType, JsonContractcontract, JsonPropertymember, JsonContainerContractcontainerContract, JsonPropertycontainerMember, ObjectexistingValue)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.CreateValueInternal(JsonReaderreader, TypeobjectType, JsonContractcontract, JsonPropertymember, JsonContainerContractcontainerContract, JsonPropertycontainerMember, ObjectexistingValue)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.Deserialize(JsonReaderreader, TypeobjectType, BooleancheckAdditionalContent)
at Newtonsoft.Json.JsonSerializer.DeserializeInternal(JsonReaderreader, TypeobjectType)
at Newtonsoft.Json.Linq.JToken.ToObject(TypeobjectType, JsonSerializerjsonSerializer)
at Newtonsoft.Json.Linq.JToken.ToObject(TypeobjectType)
at Newtonsoft.Json.Linq.JToken.ToObject[T]()
at System.Linq.Enumerable.SelectListIterator`2.ToList()
at AG.A1.Scheduler.Billing.Application.Features.CommitTimeTo3E.Commands.OfflineTimeCommitTo3ECommandHandler.UpdateOfflineSubmitEntries() in C:\agent\_work\1\s\A1Solution\src-schedulers\AG.A1.Scheduler.Billing.Application\Features\CommitTimeTo3E\Commands\OfflineTimeCommitTo3ECommandHandler.cs:line 431
at AG.A1.Scheduler.Billing.Application.Features.CommitTimeTo3E.Commands.OfflineTimeCommitTo3ECommandHandler.Run(PerformContextperformContext, IJobCancellationTokencancellationToken) in C:\agent\_work\1\s\A1Solution\src-schedulers\AG.A1.Scheduler.Billing.Application\Features\CommitTimeTo3E\Commands\OfflineTimeCommitTo3ECommandHandler.cs:line 71
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Tasktask)
An exception occurred during performance of the job. More details...
12/2/2025 3:04:46 PM
Newtonsoft.Json.JsonSerializationException
Error converting value {null} to type 'System.Int32'. Path 'GroupFeeUserId', line 1, position 1702.
Newtonsoft.Json.JsonSerializationException: Error converting value {null} to type 'System.Int32'. Path 'GroupFeeUserId', line 1, position 1702.
---> System.InvalidCastException: Null object cannot be converted to a value type.
at System.Convert.ChangeType(Objectvalue, TypeconversionType, IFormatProviderprovider)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.EnsureType(JsonReaderreader, Objectvalue, CultureInfoculture, JsonContractcontract, TypetargetType)
--- End of inner exception stack trace ---
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.EnsureType(JsonReaderreader, Objectvalue, CultureInfoculture, JsonContractcontract, TypetargetType)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.CreateValueInternal(JsonReaderreader, TypeobjectType, JsonContractcontract, JsonPropertymember, JsonContainerContractcontainerContract, JsonPropertycontainerMember, ObjectexistingValue)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.SetPropertyValue(JsonPropertyproperty, JsonConverterpropertyConverter, JsonContainerContractcontainerContract, JsonPropertycontainerProperty, JsonReaderreader, Objecttarget)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.PopulateObject(ObjectnewObject, JsonReaderreader, JsonObjectContractcontract, JsonPropertymember, Stringid)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.CreateObject(JsonReaderreader, TypeobjectType, JsonContractcontract, JsonPropertymember, JsonContainerContractcontainerContract, JsonPropertycontainerMember, ObjectexistingValue)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.CreateValueInternal(JsonReaderreader, TypeobjectType, JsonContractcontract, JsonPropertymember, JsonContainerContractcontainerContract, JsonPropertycontainerMember, ObjectexistingValue)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.Deserialize(JsonReaderreader, TypeobjectType, BooleancheckAdditionalContent)
at Newtonsoft.Json.JsonSerializer.DeserializeInternal(JsonReaderreader, TypeobjectType)
at Newtonsoft.Json.Linq.JToken.ToObject(TypeobjectType, JsonSerializerjsonSerializer)
at Newtonsoft.Json.Linq.JToken.ToObject(TypeobjectType)
at Newtonsoft.Json.Linq.JToken.ToObject[T]()
at System.Linq.Enumerable.SelectListIterator`2.ToList()
at AG.A1.Scheduler.Billing.Application.Features.CommitTimeTo3E.Commands.OfflineTimeCommitTo3ECommandHandler.UpdateOfflineSubmitEntries() in C:\agent\_work\1\s\A1Solution\src-schedulers\AG.A1.Scheduler.Billing.Application\Features\CommitTimeTo3E\Commands\OfflineTimeCommitTo3ECommandHandler.cs:line 438
at AG.A1.Scheduler.Billing.Application.Features.CommitTimeTo3E.Commands.OfflineTimeCommitTo3ECommandHandler.Run(PerformContextperformContext, IJobCancellationTokencancellationToken) in C:\agent\_work\1\s\A1Solution\src-schedulers\AG.A1.Scheduler.Billing.Application\Features\CommitTimeTo3E\Commands\OfflineTimeCommitTo3ECommandHandler.cs:line 71
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Tasktask)
An exception occurred during performance of the job. More details...
12/2/2025 3:01:18 PM
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](RestResponserestResponse) 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](IRESTEndpointapiEndpoint, IDictionary`2headers, IDictionary`2bodyParameters, IDictionary`2urlParameters, Nullable`1requestDataFormat, Nullable`1responseDataFormat) 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(Leadlead, BooleanbypassTokenValidation) 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(PerformContextperformContext, IJobCancellationTokencancellationToken) 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()
An exception occurred during performance of the job. More details...
12/2/2025 3:41:14 PM
Newtonsoft.Json.JsonSerializationException
Error converting value {null} to type 'System.Int32'. Path 'GroupFeeUserId', line 1, position 1695.
Newtonsoft.Json.JsonSerializationException: Error converting value {null} to type 'System.Int32'. Path 'GroupFeeUserId', line 1, position 1695.
---> System.InvalidCastException: Null object cannot be converted to a value type.
at System.Convert.ChangeType(Objectvalue, TypeconversionType, IFormatProviderprovider)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.EnsureType(JsonReaderreader, Objectvalue, CultureInfoculture, JsonContractcontract, TypetargetType)
--- End of inner exception stack trace ---
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.EnsureType(JsonReaderreader, Objectvalue, CultureInfoculture, JsonContractcontract, TypetargetType)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.CreateValueInternal(JsonReaderreader, TypeobjectType, JsonContractcontract, JsonPropertymember, JsonContainerContractcontainerContract, JsonPropertycontainerMember, ObjectexistingValue)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.SetPropertyValue(JsonPropertyproperty, JsonConverterpropertyConverter, JsonContainerContractcontainerContract, JsonPropertycontainerProperty, JsonReaderreader, Objecttarget)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.PopulateObject(ObjectnewObject, JsonReaderreader, JsonObjectContractcontract, JsonPropertymember, Stringid)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.CreateObject(JsonReaderreader, TypeobjectType, JsonContractcontract, JsonPropertymember, JsonContainerContractcontainerContract, JsonPropertycontainerMember, ObjectexistingValue)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.CreateValueInternal(JsonReaderreader, TypeobjectType, JsonContractcontract, JsonPropertymember, JsonContainerContractcontainerContract, JsonPropertycontainerMember, ObjectexistingValue)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.Deserialize(JsonReaderreader, TypeobjectType, BooleancheckAdditionalContent)
at Newtonsoft.Json.JsonSerializer.DeserializeInternal(JsonReaderreader, TypeobjectType)
at Newtonsoft.Json.Linq.JToken.ToObject(TypeobjectType, JsonSerializerjsonSerializer)
at Newtonsoft.Json.Linq.JToken.ToObject(TypeobjectType)
at Newtonsoft.Json.Linq.JToken.ToObject[T]()
at System.Linq.Enumerable.SelectListIterator`2.ToList()
at AG.A1.Scheduler.Billing.Application.Features.CommitTimeTo3E.Commands.OfflineTimeCommitTo3ECommandHandler.UpdateOfflineSubmitEntries() in C:\agent\_work\1\s\A1Solution\src-schedulers\AG.A1.Scheduler.Billing.Application\Features\CommitTimeTo3E\Commands\OfflineTimeCommitTo3ECommandHandler.cs:line 438
at AG.A1.Scheduler.Billing.Application.Features.CommitTimeTo3E.Commands.OfflineTimeCommitTo3ECommandHandler.Run(PerformContextperformContext, IJobCancellationTokencancellationToken) in C:\agent\_work\1\s\A1Solution\src-schedulers\AG.A1.Scheduler.Billing.Application\Features\CommitTimeTo3E\Commands\OfflineTimeCommitTo3ECommandHandler.cs:line 71
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Tasktask)
An exception occurred during performance of the job. More details...
12/2/2025 4:06:38 PM
Newtonsoft.Json.JsonSerializationException
Error converting value {null} to type 'System.Int32'. Path 'GroupFeeUserId', line 1, position 1876.
Newtonsoft.Json.JsonSerializationException: Error converting value {null} to type 'System.Int32'. Path 'GroupFeeUserId', line 1, position 1876.
---> System.InvalidCastException: Null object cannot be converted to a value type.
at System.Convert.ChangeType(Objectvalue, TypeconversionType, IFormatProviderprovider)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.EnsureType(JsonReaderreader, Objectvalue, CultureInfoculture, JsonContractcontract, TypetargetType)
--- End of inner exception stack trace ---
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.EnsureType(JsonReaderreader, Objectvalue, CultureInfoculture, JsonContractcontract, TypetargetType)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.CreateValueInternal(JsonReaderreader, TypeobjectType, JsonContractcontract, JsonPropertymember, JsonContainerContractcontainerContract, JsonPropertycontainerMember, ObjectexistingValue)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.SetPropertyValue(JsonPropertyproperty, JsonConverterpropertyConverter, JsonContainerContractcontainerContract, JsonPropertycontainerProperty, JsonReaderreader, Objecttarget)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.PopulateObject(ObjectnewObject, JsonReaderreader, JsonObjectContractcontract, JsonPropertymember, Stringid)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.CreateObject(JsonReaderreader, TypeobjectType, JsonContractcontract, JsonPropertymember, JsonContainerContractcontainerContract, JsonPropertycontainerMember, ObjectexistingValue)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.CreateValueInternal(JsonReaderreader, TypeobjectType, JsonContractcontract, JsonPropertymember, JsonContainerContractcontainerContract, JsonPropertycontainerMember, ObjectexistingValue)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.Deserialize(JsonReaderreader, TypeobjectType, BooleancheckAdditionalContent)
at Newtonsoft.Json.JsonSerializer.DeserializeInternal(JsonReaderreader, TypeobjectType)
at Newtonsoft.Json.Linq.JToken.ToObject(TypeobjectType, JsonSerializerjsonSerializer)
at Newtonsoft.Json.Linq.JToken.ToObject(TypeobjectType)
at Newtonsoft.Json.Linq.JToken.ToObject[T]()
at System.Linq.Enumerable.SelectListIterator`2.ToList()
at AG.A1.Scheduler.Billing.Application.Features.CommitTimeTo3E.Commands.OfflineTimeCommitTo3ECommandHandler.UpdateOfflineSubmitEntries() in C:\agent\_work\1\s\A1Solution\src-schedulers\AG.A1.Scheduler.Billing.Application\Features\CommitTimeTo3E\Commands\OfflineTimeCommitTo3ECommandHandler.cs:line 438
at AG.A1.Scheduler.Billing.Application.Features.CommitTimeTo3E.Commands.OfflineTimeCommitTo3ECommandHandler.Run(PerformContextperformContext, IJobCancellationTokencancellationToken) in C:\agent\_work\1\s\A1Solution\src-schedulers\AG.A1.Scheduler.Billing.Application\Features\CommitTimeTo3E\Commands\OfflineTimeCommitTo3ECommandHandler.cs:line 71
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Tasktask)
An exception occurred during performance of the job. More details...
12/2/2025 4:35:36 PM
Newtonsoft.Json.JsonSerializationException
Error converting value {null} to type 'System.Int32'. Path 'GroupFeeUserId', line 1, position 1991.
Newtonsoft.Json.JsonSerializationException: Error converting value {null} to type 'System.Int32'. Path 'GroupFeeUserId', line 1, position 1991.
---> System.InvalidCastException: Null object cannot be converted to a value type.
at System.Convert.ChangeType(Objectvalue, TypeconversionType, IFormatProviderprovider)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.EnsureType(JsonReaderreader, Objectvalue, CultureInfoculture, JsonContractcontract, TypetargetType)
--- End of inner exception stack trace ---
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.EnsureType(JsonReaderreader, Objectvalue, CultureInfoculture, JsonContractcontract, TypetargetType)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.CreateValueInternal(JsonReaderreader, TypeobjectType, JsonContractcontract, JsonPropertymember, JsonContainerContractcontainerContract, JsonPropertycontainerMember, ObjectexistingValue)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.SetPropertyValue(JsonPropertyproperty, JsonConverterpropertyConverter, JsonContainerContractcontainerContract, JsonPropertycontainerProperty, JsonReaderreader, Objecttarget)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.PopulateObject(ObjectnewObject, JsonReaderreader, JsonObjectContractcontract, JsonPropertymember, Stringid)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.CreateObject(JsonReaderreader, TypeobjectType, JsonContractcontract, JsonPropertymember, JsonContainerContractcontainerContract, JsonPropertycontainerMember, ObjectexistingValue)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.CreateValueInternal(JsonReaderreader, TypeobjectType, JsonContractcontract, JsonPropertymember, JsonContainerContractcontainerContract, JsonPropertycontainerMember, ObjectexistingValue)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.Deserialize(JsonReaderreader, TypeobjectType, BooleancheckAdditionalContent)
at Newtonsoft.Json.JsonSerializer.DeserializeInternal(JsonReaderreader, TypeobjectType)
at Newtonsoft.Json.Linq.JToken.ToObject(TypeobjectType, JsonSerializerjsonSerializer)
at Newtonsoft.Json.Linq.JToken.ToObject(TypeobjectType)
at Newtonsoft.Json.Linq.JToken.ToObject[T]()
at System.Linq.Enumerable.SelectListIterator`2.ToList()
at AG.A1.Scheduler.Billing.Application.Features.CommitTimeTo3E.Commands.OfflineTimeCommitTo3ECommandHandler.UpdateOfflineSubmitEntries() in C:\agent\_work\1\s\A1Solution\src-schedulers\AG.A1.Scheduler.Billing.Application\Features\CommitTimeTo3E\Commands\OfflineTimeCommitTo3ECommandHandler.cs:line 438
at AG.A1.Scheduler.Billing.Application.Features.CommitTimeTo3E.Commands.OfflineTimeCommitTo3ECommandHandler.Run(PerformContextperformContext, IJobCancellationTokencancellationToken) in C:\agent\_work\1\s\A1Solution\src-schedulers\AG.A1.Scheduler.Billing.Application\Features\CommitTimeTo3E\Commands\OfflineTimeCommitTo3ECommandHandler.cs:line 71
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Tasktask)
An exception occurred during performance of the job. More details...
12/2/2025 4:31:11 PM
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](RestResponserestResponse) 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](IRESTEndpointapiEndpoint, IDictionary`2headers, IDictionary`2bodyParameters, IDictionary`2urlParameters) 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`2param, SalesforceTokentoken) in C:\agent\_work\1\s\A1Solution\src-integrations\AG.Integrations.RESTClients\SalesforceREST\SalesforceApiClientController.cs:line 295
at AG.A1.Scheduler.Project.Application.Helpers.SalesforceHelper.CreateLead(Leadlead, BooleanbypassTokenValidation) in C:\agent\_work\1\s\A1Solution\src-schedulers\AG.A1.Scheduler.Project.Application\Helpers\SalesforceHelper.cs:line 125
at AG.A1.Scheduler.Project.Application.Features.LeadToSF.Commands.OfflineCommitLeadToSFCommandHandler.Run(PerformContextperformContext, IJobCancellationTokencancellationToken) 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(Tasktask)
An exception occurred during performance of the job. More details...
12/2/2025 5:05:22 PM
Newtonsoft.Json.JsonSerializationException
Error converting value {null} to type 'System.Int32'. Path 'GroupFeeUserId', line 1, position 1781.
Newtonsoft.Json.JsonSerializationException: Error converting value {null} to type 'System.Int32'. Path 'GroupFeeUserId', line 1, position 1781.
---> System.InvalidCastException: Null object cannot be converted to a value type.
at System.Convert.ChangeType(Objectvalue, TypeconversionType, IFormatProviderprovider)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.EnsureType(JsonReaderreader, Objectvalue, CultureInfoculture, JsonContractcontract, TypetargetType)
--- End of inner exception stack trace ---
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.EnsureType(JsonReaderreader, Objectvalue, CultureInfoculture, JsonContractcontract, TypetargetType)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.CreateValueInternal(JsonReaderreader, TypeobjectType, JsonContractcontract, JsonPropertymember, JsonContainerContractcontainerContract, JsonPropertycontainerMember, ObjectexistingValue)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.SetPropertyValue(JsonPropertyproperty, JsonConverterpropertyConverter, JsonContainerContractcontainerContract, JsonPropertycontainerProperty, JsonReaderreader, Objecttarget)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.PopulateObject(ObjectnewObject, JsonReaderreader, JsonObjectContractcontract, JsonPropertymember, Stringid)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.CreateObject(JsonReaderreader, TypeobjectType, JsonContractcontract, JsonPropertymember, JsonContainerContractcontainerContract, JsonPropertycontainerMember, ObjectexistingValue)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.CreateValueInternal(JsonReaderreader, TypeobjectType, JsonContractcontract, JsonPropertymember, JsonContainerContractcontainerContract, JsonPropertycontainerMember, ObjectexistingValue)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.Deserialize(JsonReaderreader, TypeobjectType, BooleancheckAdditionalContent)
at Newtonsoft.Json.JsonSerializer.DeserializeInternal(JsonReaderreader, TypeobjectType)
at Newtonsoft.Json.Linq.JToken.ToObject(TypeobjectType, JsonSerializerjsonSerializer)
at Newtonsoft.Json.Linq.JToken.ToObject(TypeobjectType)
at Newtonsoft.Json.Linq.JToken.ToObject[T]()
at System.Linq.Enumerable.SelectListIterator`2.ToList()
at AG.A1.Scheduler.Billing.Application.Features.CommitTimeTo3E.Commands.OfflineTimeCommitTo3ECommandHandler.UpdateOfflineSubmitEntries() in C:\agent\_work\1\s\A1Solution\src-schedulers\AG.A1.Scheduler.Billing.Application\Features\CommitTimeTo3E\Commands\OfflineTimeCommitTo3ECommandHandler.cs:line 438
at AG.A1.Scheduler.Billing.Application.Features.CommitTimeTo3E.Commands.OfflineTimeCommitTo3ECommandHandler.Run(PerformContextperformContext, IJobCancellationTokencancellationToken) in C:\agent\_work\1\s\A1Solution\src-schedulers\AG.A1.Scheduler.Billing.Application\Features\CommitTimeTo3E\Commands\OfflineTimeCommitTo3ECommandHandler.cs:line 71
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Tasktask)
An exception occurred during performance of the job. More details...
12/2/2025 5:38:32 PM
Newtonsoft.Json.JsonSerializationException
Error converting value {null} to type 'System.Int32'. Path 'GroupFeeUserId', line 1, position 1954.
Newtonsoft.Json.JsonSerializationException: Error converting value {null} to type 'System.Int32'. Path 'GroupFeeUserId', line 1, position 1954.
---> System.InvalidCastException: Null object cannot be converted to a value type.
at System.Convert.ChangeType(Objectvalue, TypeconversionType, IFormatProviderprovider)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.EnsureType(JsonReaderreader, Objectvalue, CultureInfoculture, JsonContractcontract, TypetargetType)
--- End of inner exception stack trace ---
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.EnsureType(JsonReaderreader, Objectvalue, CultureInfoculture, JsonContractcontract, TypetargetType)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.CreateValueInternal(JsonReaderreader, TypeobjectType, JsonContractcontract, JsonPropertymember, JsonContainerContractcontainerContract, JsonPropertycontainerMember, ObjectexistingValue)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.SetPropertyValue(JsonPropertyproperty, JsonConverterpropertyConverter, JsonContainerContractcontainerContract, JsonPropertycontainerProperty, JsonReaderreader, Objecttarget)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.PopulateObject(ObjectnewObject, JsonReaderreader, JsonObjectContractcontract, JsonPropertymember, Stringid)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.CreateObject(JsonReaderreader, TypeobjectType, JsonContractcontract, JsonPropertymember, JsonContainerContractcontainerContract, JsonPropertycontainerMember, ObjectexistingValue)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.CreateValueInternal(JsonReaderreader, TypeobjectType, JsonContractcontract, JsonPropertymember, JsonContainerContractcontainerContract, JsonPropertycontainerMember, ObjectexistingValue)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.Deserialize(JsonReaderreader, TypeobjectType, BooleancheckAdditionalContent)
at Newtonsoft.Json.JsonSerializer.DeserializeInternal(JsonReaderreader, TypeobjectType)
at Newtonsoft.Json.Linq.JToken.ToObject(TypeobjectType, JsonSerializerjsonSerializer)
at Newtonsoft.Json.Linq.JToken.ToObject(TypeobjectType)
at Newtonsoft.Json.Linq.JToken.ToObject[T]()
at System.Linq.Enumerable.SelectListIterator`2.ToList()
at AG.A1.Scheduler.Billing.Application.Features.CommitTimeTo3E.Commands.OfflineTimeCommitTo3ECommandHandler.UpdateOfflineSubmitEntries() in C:\agent\_work\1\s\A1Solution\src-schedulers\AG.A1.Scheduler.Billing.Application\Features\CommitTimeTo3E\Commands\OfflineTimeCommitTo3ECommandHandler.cs:line 438
at AG.A1.Scheduler.Billing.Application.Features.CommitTimeTo3E.Commands.OfflineTimeCommitTo3ECommandHandler.Run(PerformContextperformContext, IJobCancellationTokencancellationToken) in C:\agent\_work\1\s\A1Solution\src-schedulers\AG.A1.Scheduler.Billing.Application\Features\CommitTimeTo3E\Commands\OfflineTimeCommitTo3ECommandHandler.cs:line 71
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Tasktask)
An exception occurred during performance of the job. More details...
12/2/2025 6:12:18 PM
Newtonsoft.Json.JsonSerializationException
Error converting value {null} to type 'System.Int32'. Path 'GroupFeeUserId', line 1, position 1616.
Newtonsoft.Json.JsonSerializationException: Error converting value {null} to type 'System.Int32'. Path 'GroupFeeUserId', line 1, position 1616.
---> System.InvalidCastException: Null object cannot be converted to a value type.
at System.Convert.ChangeType(Objectvalue, TypeconversionType, IFormatProviderprovider)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.EnsureType(JsonReaderreader, Objectvalue, CultureInfoculture, JsonContractcontract, TypetargetType)
--- End of inner exception stack trace ---
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.EnsureType(JsonReaderreader, Objectvalue, CultureInfoculture, JsonContractcontract, TypetargetType)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.CreateValueInternal(JsonReaderreader, TypeobjectType, JsonContractcontract, JsonPropertymember, JsonContainerContractcontainerContract, JsonPropertycontainerMember, ObjectexistingValue)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.SetPropertyValue(JsonPropertyproperty, JsonConverterpropertyConverter, JsonContainerContractcontainerContract, JsonPropertycontainerProperty, JsonReaderreader, Objecttarget)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.PopulateObject(ObjectnewObject, JsonReaderreader, JsonObjectContractcontract, JsonPropertymember, Stringid)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.CreateObject(JsonReaderreader, TypeobjectType, JsonContractcontract, JsonPropertymember, JsonContainerContractcontainerContract, JsonPropertycontainerMember, ObjectexistingValue)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.CreateValueInternal(JsonReaderreader, TypeobjectType, JsonContractcontract, JsonPropertymember, JsonContainerContractcontainerContract, JsonPropertycontainerMember, ObjectexistingValue)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.Deserialize(JsonReaderreader, TypeobjectType, BooleancheckAdditionalContent)
at Newtonsoft.Json.JsonSerializer.DeserializeInternal(JsonReaderreader, TypeobjectType)
at Newtonsoft.Json.Linq.JToken.ToObject(TypeobjectType, JsonSerializerjsonSerializer)
at Newtonsoft.Json.Linq.JToken.ToObject(TypeobjectType)
at Newtonsoft.Json.Linq.JToken.ToObject[T]()
at System.Linq.Enumerable.SelectListIterator`2.ToList()
at AG.A1.Scheduler.Billing.Application.Features.CommitTimeTo3E.Commands.OfflineTimeCommitTo3ECommandHandler.UpdateOfflineSubmitEntries() in C:\agent\_work\1\s\A1Solution\src-schedulers\AG.A1.Scheduler.Billing.Application\Features\CommitTimeTo3E\Commands\OfflineTimeCommitTo3ECommandHandler.cs:line 438
at AG.A1.Scheduler.Billing.Application.Features.CommitTimeTo3E.Commands.OfflineTimeCommitTo3ECommandHandler.Run(PerformContextperformContext, IJobCancellationTokencancellationToken) in C:\agent\_work\1\s\A1Solution\src-schedulers\AG.A1.Scheduler.Billing.Application\Features\CommitTimeTo3E\Commands\OfflineTimeCommitTo3ECommandHandler.cs:line 71
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Tasktask)
An exception occurred during performance of the job. More details...
12/2/2025 6:37:33 PM
Newtonsoft.Json.JsonSerializationException
Error converting value {null} to type 'System.Int32'. Path 'GroupFeeUserId', line 1, position 1914.
Newtonsoft.Json.JsonSerializationException: Error converting value {null} to type 'System.Int32'. Path 'GroupFeeUserId', line 1, position 1914.
---> System.InvalidCastException: Null object cannot be converted to a value type.
at System.Convert.ChangeType(Objectvalue, TypeconversionType, IFormatProviderprovider)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.EnsureType(JsonReaderreader, Objectvalue, CultureInfoculture, JsonContractcontract, TypetargetType)
--- End of inner exception stack trace ---
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.EnsureType(JsonReaderreader, Objectvalue, CultureInfoculture, JsonContractcontract, TypetargetType)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.CreateValueInternal(JsonReaderreader, TypeobjectType, JsonContractcontract, JsonPropertymember, JsonContainerContractcontainerContract, JsonPropertycontainerMember, ObjectexistingValue)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.SetPropertyValue(JsonPropertyproperty, JsonConverterpropertyConverter, JsonContainerContractcontainerContract, JsonPropertycontainerProperty, JsonReaderreader, Objecttarget)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.PopulateObject(ObjectnewObject, JsonReaderreader, JsonObjectContractcontract, JsonPropertymember, Stringid)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.CreateObject(JsonReaderreader, TypeobjectType, JsonContractcontract, JsonPropertymember, JsonContainerContractcontainerContract, JsonPropertycontainerMember, ObjectexistingValue)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.CreateValueInternal(JsonReaderreader, TypeobjectType, JsonContractcontract, JsonPropertymember, JsonContainerContractcontainerContract, JsonPropertycontainerMember, ObjectexistingValue)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.Deserialize(JsonReaderreader, TypeobjectType, BooleancheckAdditionalContent)
at Newtonsoft.Json.JsonSerializer.DeserializeInternal(JsonReaderreader, TypeobjectType)
at Newtonsoft.Json.Linq.JToken.ToObject(TypeobjectType, JsonSerializerjsonSerializer)
at Newtonsoft.Json.Linq.JToken.ToObject(TypeobjectType)
at Newtonsoft.Json.Linq.JToken.ToObject[T]()
at System.Linq.Enumerable.SelectListIterator`2.ToList()
at AG.A1.Scheduler.Billing.Application.Features.CommitTimeTo3E.Commands.OfflineTimeCommitTo3ECommandHandler.UpdateOfflineSubmitEntries() in C:\agent\_work\1\s\A1Solution\src-schedulers\AG.A1.Scheduler.Billing.Application\Features\CommitTimeTo3E\Commands\OfflineTimeCommitTo3ECommandHandler.cs:line 438
at AG.A1.Scheduler.Billing.Application.Features.CommitTimeTo3E.Commands.OfflineTimeCommitTo3ECommandHandler.Run(PerformContextperformContext, IJobCancellationTokencancellationToken) in C:\agent\_work\1\s\A1Solution\src-schedulers\AG.A1.Scheduler.Billing.Application\Features\CommitTimeTo3E\Commands\OfflineTimeCommitTo3ECommandHandler.cs:line 71
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Tasktask)
An exception occurred during performance of the job. More details...
12/2/2025 7:08:44 PM
Newtonsoft.Json.JsonSerializationException
Error converting value {null} to type 'System.Int32'. Path 'GroupFeeUserId', line 1, position 1913.
Newtonsoft.Json.JsonSerializationException: Error converting value {null} to type 'System.Int32'. Path 'GroupFeeUserId', line 1, position 1913.
---> System.InvalidCastException: Null object cannot be converted to a value type.
at System.Convert.ChangeType(Objectvalue, TypeconversionType, IFormatProviderprovider)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.EnsureType(JsonReaderreader, Objectvalue, CultureInfoculture, JsonContractcontract, TypetargetType)
--- End of inner exception stack trace ---
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.EnsureType(JsonReaderreader, Objectvalue, CultureInfoculture, JsonContractcontract, TypetargetType)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.CreateValueInternal(JsonReaderreader, TypeobjectType, JsonContractcontract, JsonPropertymember, JsonContainerContractcontainerContract, JsonPropertycontainerMember, ObjectexistingValue)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.SetPropertyValue(JsonPropertyproperty, JsonConverterpropertyConverter, JsonContainerContractcontainerContract, JsonPropertycontainerProperty, JsonReaderreader, Objecttarget)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.PopulateObject(ObjectnewObject, JsonReaderreader, JsonObjectContractcontract, JsonPropertymember, Stringid)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.CreateObject(JsonReaderreader, TypeobjectType, JsonContractcontract, JsonPropertymember, JsonContainerContractcontainerContract, JsonPropertycontainerMember, ObjectexistingValue)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.CreateValueInternal(JsonReaderreader, TypeobjectType, JsonContractcontract, JsonPropertymember, JsonContainerContractcontainerContract, JsonPropertycontainerMember, ObjectexistingValue)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.Deserialize(JsonReaderreader, TypeobjectType, BooleancheckAdditionalContent)
at Newtonsoft.Json.JsonSerializer.DeserializeInternal(JsonReaderreader, TypeobjectType)
at Newtonsoft.Json.Linq.JToken.ToObject(TypeobjectType, JsonSerializerjsonSerializer)
at Newtonsoft.Json.Linq.JToken.ToObject(TypeobjectType)
at Newtonsoft.Json.Linq.JToken.ToObject[T]()
at System.Linq.Enumerable.SelectListIterator`2.ToList()
at AG.A1.Scheduler.Billing.Application.Features.CommitTimeTo3E.Commands.OfflineTimeCommitTo3ECommandHandler.UpdateOfflineSubmitEntries() in C:\agent\_work\1\s\A1Solution\src-schedulers\AG.A1.Scheduler.Billing.Application\Features\CommitTimeTo3E\Commands\OfflineTimeCommitTo3ECommandHandler.cs:line 438
at AG.A1.Scheduler.Billing.Application.Features.CommitTimeTo3E.Commands.OfflineTimeCommitTo3ECommandHandler.Run(PerformContextperformContext, IJobCancellationTokencancellationToken) in C:\agent\_work\1\s\A1Solution\src-schedulers\AG.A1.Scheduler.Billing.Application\Features\CommitTimeTo3E\Commands\OfflineTimeCommitTo3ECommandHandler.cs:line 71
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Tasktask)
An exception occurred during performance of the job. More details...
12/3/2025 8:17:48 AM
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](RestResponserestResponse) 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](IRESTEndpointapiEndpoint, IDictionary`2headers, IDictionary`2bodyParameters, IDictionary`2urlParameters, Nullable`1requestDataFormat, Nullable`1responseDataFormat) 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(Leadlead, BooleanbypassTokenValidation) 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(PerformContextperformContext, IJobCancellationTokencancellationToken) 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()
An exception occurred during performance of the job. More details...
12/2/2025 7:36:26 PM
System.NullReferenceException
Object reference not set to an instance of an object.
System.NullReferenceException: Object reference not set to an instance of an object.
at AG.A1.Scheduler.Billing.Application.Features.CommitTimeTo3E.Commands.OfflineTimeCommitTo3ECommandHandler.SendBulkTimeEntriesTo3E(IEnumerable`1timeEntries, PerformContextperformContext) in C:\agent\_work\1\s\A1Solution\src-schedulers\AG.A1.Scheduler.Billing.Application\Features\CommitTimeTo3E\Commands\OfflineTimeCommitTo3ECommandHandler.cs:line 345
at AG.A1.Scheduler.Billing.Application.Features.CommitTimeTo3E.Commands.OfflineTimeCommitTo3ECommandHandler.Run(PerformContextperformContext, IJobCancellationTokencancellationToken) in C:\agent\_work\1\s\A1Solution\src-schedulers\AG.A1.Scheduler.Billing.Application\Features\CommitTimeTo3E\Commands\OfflineTimeCommitTo3ECommandHandler.cs:line 70
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Tasktask)
An exception occurred during performance of the job. More details...
12/2/2025 8:05:43 PM
Newtonsoft.Json.JsonSerializationException
Error converting value {null} to type 'System.Int32'. Path 'GroupFeeUserId', line 1, position 1954.
Newtonsoft.Json.JsonSerializationException: Error converting value {null} to type 'System.Int32'. Path 'GroupFeeUserId', line 1, position 1954.
---> System.InvalidCastException: Null object cannot be converted to a value type.
at System.Convert.ChangeType(Objectvalue, TypeconversionType, IFormatProviderprovider)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.EnsureType(JsonReaderreader, Objectvalue, CultureInfoculture, JsonContractcontract, TypetargetType)
--- End of inner exception stack trace ---
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.EnsureType(JsonReaderreader, Objectvalue, CultureInfoculture, JsonContractcontract, TypetargetType)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.CreateValueInternal(JsonReaderreader, TypeobjectType, JsonContractcontract, JsonPropertymember, JsonContainerContractcontainerContract, JsonPropertycontainerMember, ObjectexistingValue)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.SetPropertyValue(JsonPropertyproperty, JsonConverterpropertyConverter, JsonContainerContractcontainerContract, JsonPropertycontainerProperty, JsonReaderreader, Objecttarget)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.PopulateObject(ObjectnewObject, JsonReaderreader, JsonObjectContractcontract, JsonPropertymember, Stringid)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.CreateObject(JsonReaderreader, TypeobjectType, JsonContractcontract, JsonPropertymember, JsonContainerContractcontainerContract, JsonPropertycontainerMember, ObjectexistingValue)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.CreateValueInternal(JsonReaderreader, TypeobjectType, JsonContractcontract, JsonPropertymember, JsonContainerContractcontainerContract, JsonPropertycontainerMember, ObjectexistingValue)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.Deserialize(JsonReaderreader, TypeobjectType, BooleancheckAdditionalContent)
at Newtonsoft.Json.JsonSerializer.DeserializeInternal(JsonReaderreader, TypeobjectType)
at Newtonsoft.Json.Linq.JToken.ToObject(TypeobjectType, JsonSerializerjsonSerializer)
at Newtonsoft.Json.Linq.JToken.ToObject(TypeobjectType)
at Newtonsoft.Json.Linq.JToken.ToObject[T]()
at System.Linq.Enumerable.SelectListIterator`2.ToList()
at AG.A1.Scheduler.Billing.Application.Features.CommitTimeTo3E.Commands.OfflineTimeCommitTo3ECommandHandler.UpdateOfflineSubmitEntries() in C:\agent\_work\1\s\A1Solution\src-schedulers\AG.A1.Scheduler.Billing.Application\Features\CommitTimeTo3E\Commands\OfflineTimeCommitTo3ECommandHandler.cs:line 438
at AG.A1.Scheduler.Billing.Application.Features.CommitTimeTo3E.Commands.OfflineTimeCommitTo3ECommandHandler.Run(PerformContextperformContext, IJobCancellationTokencancellationToken) in C:\agent\_work\1\s\A1Solution\src-schedulers\AG.A1.Scheduler.Billing.Application\Features\CommitTimeTo3E\Commands\OfflineTimeCommitTo3ECommandHandler.cs:line 71
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Tasktask)
An exception occurred during performance of the job. More details...
12/2/2025 8:38:00 PM
System.NullReferenceException
Object reference not set to an instance of an object.
System.NullReferenceException: Object reference not set to an instance of an object.
at AG.A1.Scheduler.Billing.Application.Features.CommitTimeTo3E.Commands.OfflineTimeCommitTo3ECommandHandler.SendBulkTimeEntriesTo3E(IEnumerable`1timeEntries, PerformContextperformContext) in C:\agent\_work\1\s\A1Solution\src-schedulers\AG.A1.Scheduler.Billing.Application\Features\CommitTimeTo3E\Commands\OfflineTimeCommitTo3ECommandHandler.cs:line 345
at AG.A1.Scheduler.Billing.Application.Features.CommitTimeTo3E.Commands.OfflineTimeCommitTo3ECommandHandler.Run(PerformContextperformContext, IJobCancellationTokencancellationToken) in C:\agent\_work\1\s\A1Solution\src-schedulers\AG.A1.Scheduler.Billing.Application\Features\CommitTimeTo3E\Commands\OfflineTimeCommitTo3ECommandHandler.cs:line 70
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Tasktask)
An exception occurred during performance of the job. More details...
12/2/2025 8:32:54 PM
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](RestResponserestResponse) 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](IRESTEndpointapiEndpoint, IDictionary`2headers, IDictionary`2bodyParameters, IDictionary`2urlParameters) 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`2param, SalesforceTokentoken) 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(Leadlead, BooleanbypassTokenValidation) 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(PerformContextperformContext, IJobCancellationTokencancellationToken) 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(Tasktask)
An exception occurred during performance of the job. More details...
12/2/2025 9:12:30 PM
Newtonsoft.Json.JsonSerializationException
Error converting value {null} to type 'System.Int32'. Path 'GroupFeeUserId', line 1, position 1696.
Newtonsoft.Json.JsonSerializationException: Error converting value {null} to type 'System.Int32'. Path 'GroupFeeUserId', line 1, position 1696.
---> System.InvalidCastException: Null object cannot be converted to a value type.
at System.Convert.ChangeType(Objectvalue, TypeconversionType, IFormatProviderprovider)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.EnsureType(JsonReaderreader, Objectvalue, CultureInfoculture, JsonContractcontract, TypetargetType)
--- End of inner exception stack trace ---
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.EnsureType(JsonReaderreader, Objectvalue, CultureInfoculture, JsonContractcontract, TypetargetType)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.CreateValueInternal(JsonReaderreader, TypeobjectType, JsonContractcontract, JsonPropertymember, JsonContainerContractcontainerContract, JsonPropertycontainerMember, ObjectexistingValue)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.SetPropertyValue(JsonPropertyproperty, JsonConverterpropertyConverter, JsonContainerContractcontainerContract, JsonPropertycontainerProperty, JsonReaderreader, Objecttarget)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.PopulateObject(ObjectnewObject, JsonReaderreader, JsonObjectContractcontract, JsonPropertymember, Stringid)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.CreateObject(JsonReaderreader, TypeobjectType, JsonContractcontract, JsonPropertymember, JsonContainerContractcontainerContract, JsonPropertycontainerMember, ObjectexistingValue)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.CreateValueInternal(JsonReaderreader, TypeobjectType, JsonContractcontract, JsonPropertymember, JsonContainerContractcontainerContract, JsonPropertycontainerMember, ObjectexistingValue)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.Deserialize(JsonReaderreader, TypeobjectType, BooleancheckAdditionalContent)
at Newtonsoft.Json.JsonSerializer.DeserializeInternal(JsonReaderreader, TypeobjectType)
at Newtonsoft.Json.Linq.JToken.ToObject(TypeobjectType, JsonSerializerjsonSerializer)
at Newtonsoft.Json.Linq.JToken.ToObject(TypeobjectType)
at Newtonsoft.Json.Linq.JToken.ToObject[T]()
at AG.A1.Scheduler.Billing.Application.Features.CommitTimeTo3E.Commands.OfflineTimeCommitTo3ECommandHandler.<>c.<UpdateOfflineSubmitEntries>b__25_0(BillingDtom) in C:\agent\_work\1\s\A1Solution\src-schedulers\AG.A1.Scheduler.Billing.Application\Features\CommitTimeTo3E\Commands\OfflineTimeCommitTo3ECommandHandler.cs:line 431
at System.Linq.Enumerable.SelectListIterator`2.ToList()
at AG.A1.Scheduler.Billing.Application.Features.CommitTimeTo3E.Commands.OfflineTimeCommitTo3ECommandHandler.UpdateOfflineSubmitEntries() in C:\agent\_work\1\s\A1Solution\src-schedulers\AG.A1.Scheduler.Billing.Application\Features\CommitTimeTo3E\Commands\OfflineTimeCommitTo3ECommandHandler.cs:line 431
at AG.A1.Scheduler.Billing.Application.Features.CommitTimeTo3E.Commands.OfflineTimeCommitTo3ECommandHandler.Run(PerformContextperformContext, IJobCancellationTokencancellationToken) in C:\agent\_work\1\s\A1Solution\src-schedulers\AG.A1.Scheduler.Billing.Application\Features\CommitTimeTo3E\Commands\OfflineTimeCommitTo3ECommandHandler.cs:line 71
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Tasktask)